CS FundamentalsHardGATE CS
Which statement about inverted page tables is correct?
- A. There is one table per process, indexed by virtual page
- B. There is one entry per physical frame storing (process id, virtual page), so translation needs a search, usually made fast by hashing
- C. They make sharing pages between processes easy, since several virtual pages can map to the same entry
- D. They remove the need for frame numbers
Correct answer: B. There is one entry per physical frame storing (process id, virtual page), so translation needs a search, usually made fast by hashing
Memory for the table is proportional to physical memory, but lookup must find the entry whose (pid, VPN) matches. Shared memory is awkward because each frame entry holds only one mapping.
More Operating Systems questions
- Belady's anomaly is observed for FIFO with reference string R. Which statement is necessarily true?
- A process references pages in a loop over 5 distinct pages: 1, 2, 3, 4, 5, 1, 2, 3, 4, 5, ... with 4 frames. Which policy performs best in…
- A system uses 4 KB pages. A process's code segment is 10,000 bytes, data 7,000 bytes and stack 3,000 bytes, each segment starting on a…
- Compaction is used to remove external fragmentation. Which condition is required for compaction to be possible?
- The 50-percent rule for first-fit allocation states that, statistically, given N allocated blocks, about 0.5N blocks are lost to…
- Which allocation strategy tends to leave the LARGEST leftover holes, and which tends to produce the most tiny unusable fragments?