Six original Cambridge-style questions on memory management, including address translation and page replacement traces, with mark-scheme solutions.
Explain the differences between paging and segmentation.
A computer uses pages of 4096 bytes. Page 3 of a process is stored in frame 6. Calculate the physical address of logical address 13000, showing your working.
A process has three page frames, initially empty. It requests pages in this order: 7, 0, 1, 2, 0, 3, 0, 4, 2, 3. Using FIFO page replacement, show the contents of the frames after each request and state the number of page faults.
Repeat the trace in the previous question using least recently used (LRU) replacement and state the number of page faults.
Explain how disk thrashing can occur in a system that uses virtual memory, and its effect.
Discuss whether FIFO or LRU is the better page replacement algorithm.
Mark this once you have attempted all six and checked your working. It records a Practiced badge on the topic and adds a one-time bonus. Revealing the solutions alone does not count.