Past-paper question · 2016 October-November · Paper 31 · Q4(a)(iii)

Question 4(a)(iii) 2016 · October-November · Paper 31 · 15 marks

Question 4

Part (a)

(iii)

Question 4

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

[3]

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

(iii)

Give the different additional data that the page table would now need to store.

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

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

[1]

(iv)

In the following table, complete the missing data to show what happens when Page 3 is

swapped into main memory. Assume that Page 1 is the one to be replaced.

In the final column, give an example of the data you have identified in part (c)(iii).

Page Presence Page frame address Additional data flag

Question 3

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

[3]

Question 8

Part (d)

Explain why the algorithms given in part

Part (c)

may not be the best choice for efficient memory

management.

Longest resident .......................................................................................................................

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

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

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

Least used ................................................................................................................................

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

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

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

[4]

(iii)

Name the labels usually given to A and B.

Label A ..............................................................................................................................

Label B ..............................................................................................................................

Explain why your answers are more appropriate for the A and B labels.

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

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

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

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

[4]

Question 9

Reveal official mark-scheme answer Official mark-scheme answer for 4(A)(III)

Official answer for Question 4

Part (a)

(iii)

(iii)

C // Carry

[1]
✓
S // Sum
[1]
✓
represents the carry part of the addition of two bits
[1]
✓
represents the sum part of the addition of two bits
[1]

Mark scheme 9608_w16_ms_31.pdf →

Topic relevance

Why this question appears here

68% assigned-topic match · Algorithm design and problem-solving › Algorithms

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_31.pdf

Keep practising this topic