An application's instructions and data are copied from secondary storage into RAM before it runs.
Give two reasons why the instructions and data are copied into RAM rather than being read directly from secondary storage.
Mark scheme
Award one mark for any of the following up to a maximum of two marks:
- RAM can be accessed/read (much) faster than secondary storage / secondary storage is (much) slower than RAM (1)
- The CPU would have to wait/idle if instructions and data were read directly from secondary storage (1)
- The CPU can access RAM directly / RAM is directly accessible to the CPU (1)
Allow hard disk / hard drive / SSD for secondary storage.
Do not accept RAM is volatile / so that instructions and data are not lost when the power is switched off.
Do not accept the computer runs faster / has more storage (without reference to the CPU accessing instructions and data).
Example answers and how they were marked
RAM can be accessed much faster than secondary storage, so the CPU would have to wait for its instructions if they were read from the hard disk.
Why: Creditworthy point that RAM is accessed/read faster than secondary storage (1) and the linked point that the CPU would wait/idle without this (1).
RAM can be read faster than the hard disk.
Why: Gives one creditworthy reason, that RAM is accessed/read faster than secondary storage (1), but does not say why this matters to the CPU, so the second mark is not earned.
So that the data is not lost when the computer is switched off.
Why: RAM is volatile, so keeping data when the power is off is not a reason for using RAM; this is the misconception in the Do not accept line and scores nothing.