A user closes a program that has finished running.
State what the operating system does with the main memory that the program was using.
Mark scheme
Award one mark for any of the following:
- It frees/releases the memory (1)
- The memory is marked as available/empty so that another program can use it (1)
- The program and its data are removed/deleted from main memory (1)
Allow 'the memory is cleared'.
Do not accept 'it deletes the program from the hard disk' (the program is stored in secondary storage and is not removed).
Example answers and how they were marked
It frees the memory so that another program can use it.
Why: Creditworthy point 'frees/releases the memory so another program can use it' (1).
It saves the memory to the hard disk.
Why: Memory is not saved to the hard disk when a program closes; this is not freeing the memory, so no marks.
It deletes the program from the hard disk.
Why: Given as a do-not-accept answer: closing a program does not delete it from secondary storage.