CS FundamentalsHardGATE CS
A machine has 4 GB of physical memory with 4 KB frames. An inverted page table stores one 8-byte entry per frame. How large is the inverted page table, and how does its size change if each process's virtual address space doubles?
- A. 8 MB, and it stays 8 MB
- B. 4 MB, and it doubles
- C. 8 MB, and it doubles
- D. 16 MB, and it stays 16 MB
Correct answer: A. 8 MB, and it stays 8 MB
There are 4 GB / 4 KB = 2²⁰ frames, so 2²⁰ × 8 B = 8 MB. The inverted table has one entry per physical frame, so it depends only on physical memory, not on virtual address space size.
More Operating Systems questions
- Pages are 1 KB and a process's page table maps pages 0, 1, 2, 3 to frames 5, 9, 2, 7. What physical address does logical address 3100 map…
- Banker's algorithm, resources (A, B, C). Available = (2, 2, 1). Allocation / Max: P0 (1,1,2)/(5,3,4), P1 (2,0,1)/(3,2,2), P2…
- Disk cylinders 0–199; the head is at 50 and the queue holds 82, 170, 43, 140, 24, 16, 190. What is the total head movement under SSTF?
- Disk cylinders 0–199; the head is at 50 moving toward higher cylinders; the queue holds 82, 170, 43, 140, 24, 16, 190. Counting the return…
- How many times is x printed? (Every fork() succeeds, and each print is an unbuffered write, so nothing is printed twice through copied…
- Which values are printed (in some order)? (Every fork() succeeds, and each print is an unbuffered write, so nothing is printed twice…