CS FundamentalsHardProduct-company MCQ pattern
A machine has 1 GB of physical memory, 4 KB pages, 64-bit virtual addresses and an inverted page table. How many entries does the inverted page table have, and on what does that number depend?
- A. 2²⁰ entries, set by the page size alone
- B. 2⁵² entries, set by virtual address size
- C. 2¹⁸ entries per process
- D. 2¹⁸ entries, set by physical memory size
Correct answer: D. 2¹⁸ entries, set by physical memory size
An inverted table has one entry per physical frame, shared by all processes: 2³⁰/2¹² = 2¹⁸. Its size does not depend on the virtual address space, which is why it suits 64-bit systems.
More Operating Systems questions
- How many of the following statements are correct? 1. Increasing the degree of multiprogramming always increases CPU utilisation. 2…
- Cylinders 0–199, head at 72 currently moving towards cylinder 0. Requests: 110, 25, 160, 47, 130, 8, 95, 185. Under SCAN, what is the…
- Cylinders 0–199, head at 72 moving towards higher cylinders. Requests: 110, 25, 160, 47, 130, 8, 95, 185. Under C-SCAN, counting the…
- Cylinders 0–199, head at 72 moving towards higher cylinders. Requests: 110, 25, 160, 47, 130, 8, 95, 185. Which two algorithms give the…
- Processes: P1 (arrival 0, burst 7), P2 (arrival 2, burst 4), P3 (arrival 4, burst 1), P4 (arrival 5, burst 4) (ms), scheduled by SRTF. Not…
- A disk rotates at 7,200 RPM, has 400 sectors of 512 bytes per track, and an average seek time of 5 ms. What is the average time to read 4…