Past-paper question · 2016 October-November · Paper 32 · Q3(b)(ii)

Question 3(b)(ii) 2016 · October-November · Paper 32 · 3 marks

Question 3

Part (b)

(ii)

Question 3

A computer operating system (OS) uses paging for memory management.

In paging:

  • main memory is divided into equal-size blocks, called page frames
  • each process that is executed is divided into blocks of the same size, called pages
  • each process has a page table that is used to manage the pages of this process

The following table is the incomplete page table for a process, Y.

Page Presence Page frame address Additional data flag 1 1 221 2 1 222 3 0 0 4 0 0 5 1 542 6 0 0

249 0 0 Process Y executes the last instruction in Page 5. This instruction is not a branch instruction.

(ii)

Explain how interrupts help to solve the problem that you explained in part (b)(i).

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

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

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

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

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

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

[3]
Reveal official mark-scheme answer Official mark-scheme answer for 3(B)(II)

Official answer for Question 3

Part (b)

(ii)

(ii)

When there is an attempt to load an instruction for a page not in memory

[1]
✓
A page fault occurs // Page 5 finishes …
[1]
✓
this generates an interrupt
[1]
✓
ISR code is executed
[1]
✓
Causes the OS to load page 6 into memory
[1]
✓
[Max 3]

Mark scheme 9608_w16_ms_32.pdf →

Topic relevance

Why this question appears here

82% assigned-topic match · System software › Operating systems

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

Keep practising this topic