• edited by
17,121 views
38 38 votes

In a virtual memory system, size of the virtual address is $32$-bit, size of the physical address is $30$-bit, page size is $4$ Kbyte and size of each page table entry is $32$-bit. The main memory is byte addressable. Which one of the following is the maximum number of bits that can be used for storing protection and other information in each page table entry?

  1. $2$
  2. $10$
  3. $12$
  4. $14$

1 Answer

Best answer
63 63 votes

Answer is (D).

Page table entry must contain bits for representing frames and other bits for storing information like dirty bit, reference bit etc.

No. of frames (no. of possible pages) $= \frac{\text{Physical memory size}}{\text{Page size}} = \frac{2^{30}}{2^{12}}= 2^{18}$

$18+x=32$     (PT entry size=$32$ bit)

$x =14$ bits

• edited by
Answer:
Position:
Show:

Related questions

45 45 votes
7 answers 7 answers
16.2k
16.2k views
Ishrat Jahan asked Nov 2, 2014
16,234 views
In a particular Unix OS, each data block is of size $1024$ bytes, each node has $10$ direct data block addresses and three additional addresses: one for single indirect b...
35 35 votes
7 answers 7 answers
12.1k
12.1k views
Ishrat Jahan asked Nov 2, 2014
12,120 views
The semaphore variables full, empty and mutex are initialized to $0$, $n$ and $1$, respectively. Process P1 repeatedly adds one item at a time to a buffer of size $n$, an...
79 79 votes
10 answers 10 answers
27.0k
27.0k views
Ishrat Jahan asked Nov 2, 2014
27,012 views
In a certain operating system, deadlock prevention is attempted using the following scheme. Each process is assigned a unique timestamp, and is restarted with the same ti...
40 40 votes
4 answers 4 answers
17.1k
17.1k views
Ishrat Jahan asked Nov 2, 2014
17,084 views
A disk has $200$ tracks (numbered $0$ through $199$). At a given time, it was servicing the request of reading data from track $120$, and at the previous request, service...