A computer is running a web browser, a music player and a messaging app at the same time.
Identify what the operating system does when it allocates main memory to a process.
Mark scheme
- A It chooses an area of main memory that is not being used by another process (1)
- The only correct answer is A. The correct answer is choosing an area of main memory that is not being used by another process.
- B is not correct because the operating system keeps its own area of main memory and does not give it to a process
- C is not correct because the number of files a process can open is part of file management, not memory management
- D is not correct because user management controls who can log on and what each user is allowed to access
Example answers and how they were marked
A It chooses an area of main memory that is not being used by another process
Why: Correct option: as part of process management the operating system allocates each process an area of main memory that no other process is using (1).
C It chooses how many files the process is allowed to open at the same time
Why: Near-miss: this is file management, not how main memory is allocated to a process, so no mark.
B It chooses an area of main memory that is also used by the operating system
Why: Misconception: the operating system keeps its own area of main memory and does not give it to a process, so no mark.