Virtual memory, paging and segmentation are used in memory management.
- (a)Explain what is meant by virtual memory.[3]
- (b)State one difference between paging and segmentation in the way memory is divided.[1]
Mark scheme
Marking points from the official mark scheme (Oct/Nov 2022). The mark or mark type is shown in brackets.
- [3] One mark for each correct point (Max 3)
- • Disk / secondary storage is used to extend the RAM / memory available
- • ... so the CPU appears to be able to access more memory space than the available RAM
- • Only the data in use needs to be in main memory so data can be swapped between RAM and virtual memory as necessary
- • Virtual memory is created temporarily.
- [1] One mark for a correct statement about the difference between paging and segmentation e.g.
- • Paging allows the memory to be divided into fixed size blocks and Segmentation divides the memory into variable sized blocks.
- • The operating system divides the memory into pages, the compiler is responsible for calculating the segment size.
- • Access times for paging is faster than for segmentation.
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 →