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? $2$ $10$ $12$ $14$ Operating System gateit-2004 operating-system virtual-memory normal + – Ishrat Jahan 17.1k views answer comment Share Follow Print See all 6 Comments 6 6 Comments reply Show 3 previous comments js__ commented Sep 20, 2025 reply Follow flag no. of bits for frames = 18 , so leftover => 32-18 = 14 0 0 replyShare Mayank_Pant commented Jan 6 i edited by Mayank_Pant Sep 18 reply Follow flag in this question the size of each entry is already given 32 bits and it is asking about other than the storage of frame how many bits required of additional storage. so for frame number=2^30/2^12=2^18 size of frame allocation frames is 18 So additional storage = 32-18= 14 bits 1 1 replyShare legend_of_cse commented Sep 22 reply Follow flag References : OS book Tanenbaum Structure of a Page Table Entry 0 0 replyShare Please log in or register to add a comment.
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 neha pawar answered Nov 2, 2014 • edited Jan 16, 2023 by shadymademe neha pawar comment Share Follow See all 13 Comments 13 13 Comments reply Show 10 previous comments rohith1001 commented Jan 26, 2020 reply Follow flag 2 level paging is used here right? 0 0 replyShare ankit3009 commented Dec 10, 2021 reply Follow flag Why do you think so rohith1001 that 2 level paging is implemented here? 1 1 replyShare Light Yagami Ryuk commented Sep 15, 2024 reply Follow flag @richa116 I'm also having the same doubt as you. Could you please tell any insights found in this gap? 0 0 replyShare Please log in or register to add a comment.