CS FundamentalsVery hardGATE
A 36-bit virtual address space uses 4 KB pages and single-level page table entries of 8 bytes each. What is the total size of the page table for one process using the full address space (assuming every entry is allocated)?
- A. 2^20 bytes
- B. 2^36 bytes
- C. 2^24 bytes
- D. 2^27 bytes
Correct answer: D. 2^27 bytes
4 KB pages need a 12-bit offset, leaving 36 − 12 = 24 bits for the page number, so there are 2^24 pages/entries. At 8 bytes per entry, the table is 2^24 × 2^3 = 2^27 bytes — this is exactly why large address spaces need multi-level or inverted page tables instead of one flat table.
More Operating Systems questions
- An inverted page table has one entry per physical frame (not per virtual page), shared across all processes, each entry tagged with the…
- Belady's anomaly refers to the surprising fact that:
- The convoy effect in FCFS scheduling describes a situation where:
- In preemptive SRTF, a running process can be interrupted the instant a newly arrived process has a strictly smaller remaining burst. Why…
- Which statement about multilevel feedback queue (MLFQ) scheduling is correct?
- A disk has an average seek time of 4 ms, rotational latency (average) of 3 ms, and a transfer rate that takes 1 ms per 4 KB block. What is…