371 views
2 2 votes

Consider a system with a $32$-bit logical address space and a page size of $4 ~\mathrm{KB}$. The system uses a two-level paging scheme where the first level (Outer Page Table) index is $10 ~\mathrm{bits}$. If each page table entry (PTE) at both levels is $4 ~\mathrm{bytes}$, what is the size of the inner page table $($in $\mathrm{KB})$?

  1. $1 ~\mathrm{KB}$
     
  2. $8 ~\mathrm{KB}$
     
  3. $16 ~\mathrm{KB}$
     
  4. $4 ~\mathrm{KB}$

2 Answers

1 1 vote
Since the logical address is $32$ bits and the page size is $4 \mathrm{~KB}\left(2^{12}\right)$, the page offset is $12$ bits. With $10$ bits for the outer index, the inner index must be $32-12-10=10$ bits, leading to $2^{10}$ entries of $4$ bytes each.

Correct option : D
Answer:
Position:
Show:

Related questions

1 1 vote
1 1 answer
332
332 views
GO Classes asked Jan 23
332 views
Two processes, $P 1$ and $P 2$, share a common variable $X$, which is initialized to $10$. They also use a binary semaphore $S$, initialized to $1$ . The processes execut...
4 4 votes
2 2 answers
352
352 views
GO Classes asked Jan 23
352 views
Which of the following conditions is the MOST direct cause of 'Thrashing' in a virtual memory system?THE CPU UTILIZATION IS TOO HIGH DUE TO INTENSIVE COMPUTATION. THE SUM...
1 1 vote
1 1 answer
280
280 views
GO Classes asked Jan 23
280 views
Consider a disk queue with requests for I/O to blocks on cylinders $98, 183,37,122,14,124,65$, and 67 . The disk head is initially at cylinder $53$. Using the SCAN algori...
2 2 votes
1 1 answer
293
293 views
GO Classes asked Jan 23
293 views
Consider a system with three processes, $P_1, P_2$, and $P_3$, with arrival times and burst times as shown in the table below. The system uses a Preemptive Priority Sched...