688 views
0 votes
0 votes
A 32-bit machine has a page/frame size of 1 KB.
(i) What is the size of the complete first-level (primary) page table for a process?
(ii) If page tables are also stored using paging, how many levels of paging will be required?

2 Answers

0 votes
0 votes
Logical add.=32 bit

page/frame size=2^10

Page table size=2^32-2^10=2^22 or 4MB

Level of paging=2^22/2^10=2^12(1st level)

Level of paging=2^12/2^10=2^2(2nd level)

Level of paging=2^2(3rd level)

NOTE-Here physical add. is missing or not printed in case physical add given then calculate no. of frame and include it too, at every level of paging.

Related questions