CS FundamentalsHardTCS NQT · Infosys pattern
A system uses a two-level page table: a 10-bit outer index, a 10-bit inner index, and a 12-bit offset, for a 32-bit virtual address. What is the page size, and how many entries does each inner page table have?
- A. 1 KB page size; 1024 entries per inner table
- B. 4 KB page size; 4096 entries per inner table
- C. 1 KB page size; 4096 entries per inner table
- D. 4 KB page size; 1024 entries per inner table
Correct answer: D. 4 KB page size; 1024 entries per inner table
The 12-bit offset means pages are 2^12 = 4096 bytes = 4 KB. The 10-bit inner index selects among 2^10 = 1024 entries within a single inner (second-level) page table, one of which maps to a frame.
More Operating Systems questions
- 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…
- 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?