Computer Science EngineeringVery hardISRO SC
A machine has 32-bit virtual addresses, 1 KB pages and 4-byte page-table entries; every page-table level occupies exactly one page. Minimum number of page-table levels required is
- A. 4
- B. 2
- C. 3
- D. 5
Correct answer: C. 3
Offset = 10 bits, VPN = 22 bits; each level indexes 8 bits (256 entries). ceil(22/8) = 3.
Practise more OS, DBMS, Networks & Computer Architecture (ISRO CS) questionsOS, DBMS, Networks & Computer Architecture (ISRO CS): notes and key points
More OS, DBMS, Networks & Computer Architecture (ISRO CS) questions
- A two-level cache has L1 hit time 1 ns, L1 hit rate 90%, L2 hit time 10 ns, L2 local hit rate 80%, and memory access 100 ns. The average…
- A two-level cache has L1 hit time 1 ns, L1 hit rate 92%, L2 hit time 15 ns, L2 local hit rate 75%, and memory access 200 ns. The average…
- A 16 KB direct-mapped cache uses 64-byte blocks and 32-bit physical addresses. The number of tag bits is
- A direct-mapped cache has 4 lines of one word each. Word addresses 24, 28, 14, 5, 14, 20, 24, 15, 7, 9, 13, 23, 17, 8 are accessed in…
- A 5-stage pipeline executes 100 instructions. A fraction 0.25 of instructions each cause 2 stall cycles; no other hazards. Total cycles…
- By Amdahl's law, if 40% of a program's execution time is sped up 10 times and the rest is unchanged, the overall speed-up is