Outline the reasons why an operating system may need to use virtual memory.
- (a)Outline the reasons why an operating system may need to use virtual memory.[2]
- (b)Explain the circumstances in which disk thrashing could occur.[3]
Mark scheme
Marking points from the official mark scheme (Oct/Nov 2023). The mark or mark type is shown in brackets.
- [1] Virtual memory is used when RAM is running low
- [1] ...such as when a computer is running many processes at once.
- [1] Virtual memory may be used for efficient use of RAM / the processor
- [1] ...such as if data / programs are not immediately needed, they can be moved from RAM to virtual memory
- [1] Disk thrashing is a problem that may occur when frequent transfers between main memory and secondary memory take place // Disk thrashing is a problem that may occur when virtual memory is being used
- [1] As main memory fills up, more pages need to be swapped in and out of secondary/virtual memory
- [1] This swapping leads to a very high rate of hard disk head movements
- [1] Eventually, more time is spent swapping the pages/data than processing the data.
Write your answer and get it marked
On Oracle Prep you can write or photograph your own answer and have it marked by AI against this mark scheme, with feedback on what you missed.
Sign up free →