GATE Computer ScienceVery hardGATE CS (PYQ pattern)
Physical memory is 2 GB, virtual address space 2⁴⁸ bytes, pages 16 KB, and each PTE stores the frame number plus 6 control bits, rounded up to whole bytes. What is the size of one PTE in bytes?
- A. 4
- B. 3
- C. 2
- D. 5
Correct answer: B. 3
Frames = 2 GB / 16 KB = 2¹⁷, so the frame number is 17 bits; 17 + 6 = 23 bits → 3 bytes. Using the virtual page number (34 bits) would wrongly give 5 bytes.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- A program of 10⁹ instructions runs on a 2 GHz machine. 30% of instructions take 1 cycle, 50% take 2 cycles and 20% take 5 cycles. The…
- A processor has base CPI 1.2 for non-memory work (60% of instructions) and every load/store (40% of instructions) takes 1 cycle plus…
- A device delivers 2,000,000 bytes/s into a 16-byte FIFO and raises an interrupt each time 12 bytes have accumulated. Each interrupt costs…
- A fully associative cache (block = one word) sees the block reference string 1, 2, 3, 4, 1, 2, 5, 1, 2, 3, 4, 5, starting empty. How many…
- A 5-stage pipeline resolves conditional branches in ID, with forwarding into ID for ALU results but the branch needs its operand at the…
- A branch alternates T, N, T, N, … for 20 executions, starting with T. A 2-bit saturating counter (states 0-3, predicts taken in states 2…