CS FundamentalsModerateTCS Digital · Infosys
A system has a 32-bit virtual address, 4 KB pages and 4-byte page-table entries, using a single-level page table. What is the size of the page table of one process?
- A. 1 MB
- B. 8 MB
- C. 16 MB
- D. 4 MB
Correct answer: D. 4 MB
There are 2^32 / 2^12 = 2^20 entries of 4 bytes each = 4 MB.
More Operating Systems questions
- A counting semaphore S is initialised to 3. Five processes each execute wait(S) once, with no signal(S) in between. How many of them are…
- Numbering all resource types and requiring every process to request resources only in increasing order of number prevents deadlock by…
- Three processes with bursts 10, 5 and 8 ms arrive together at time 0 in the order P1, P2, P3 and are scheduled by Round Robin with a…
- Preemptive priority scheduling (lower number = higher priority) is used for P1 (arrival 0, burst 7, priority 3), P2 (1, 4, 1), P3 (2, 2…
- Processes P1 (arrival 0, burst 8), P2 (1, 4), P3 (2, 9) and P4 (3, 5) are scheduled by SRTF (preemptive shortest remaining time first)…
- Banker's algorithm: Available = (3, 3, 2). Allocation / Max for (A, B, C): P0 (0,1,0)/(7,5,3), P1 (2,0,0)/(3,2,2), P2 (3,0,2)/(9,0,2), P3…