Past-paper question · 2016 October-November · Paper 33 · Q6(c)(ii)

Question 6(c)(ii) 2016 · October-November · Paper 33 · 3 marks

Original past-paper question for 6(C)(II)
Original past-paper question for 6(C)(II)
Original past-paper question for 6(C)(II)
Reveal official mark-scheme answer

The answer for this question is in the official mark scheme: open the mark scheme.

Mark scheme 9608_w16_ms_33.pdf →

Show text version of question

Question 6

Part (c)

(ii)

Question 6

0 0 135 0 0 When a particular page of the process is currently in main memory, the Presence flag entry in the page table is set to 1. If the page is not currently present in memory, the Presence flag is set to 0.

Part (c)

When an instruction to be accessed is not present in main memory, its page must be loaded

into a page frame. If all page frames are currently in use, the contents of a page frame will be overwritten with this new page. The page that is to be replaced is determined by a page replacement algorithm. One possible algorithm is to replace the page that has been resident in main memory for the longest time.

(ii)

Complete the table entries below to show what happens when Page 4 is swapped into main memory. Assume that Page 5 is the one to be replaced. In the final column, give an example of the data you have identified in part (c)(i). Page Presence Page frame address Additional data flag

Question 4

............... .................... .....................................

[3]

An alternative algorithm is to replace the page that has been used least.

Topic relevance

Why this question appears here

71% assigned-topic match · Programming › Constructs

Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.

Permanent source page: Educate A Change · From 9608_w16_qp_33.pdf

Keep practising this topic