GATE CS 2023 | Question 42

Computer Organization & Architecture › Memory Hierarchy · MCQ · 2 marks · Answer: C

  1. Question 42Computer Organization & Architecturemcq2 marks
    A 4 KB memory uses four 1 KB blocks. Address lines IA4, IA3 go to a decoder driving the chip-selects (active high); the remaining ten of IA11-IA0 go to the 10-bit address port. What are the starting addresses (IA11-IA0 in decimal) of blocks X1, X2, X3, X4?
    GATE CS 2023 Question 42 figure
    • A.
      (0, 1, 2, 3)
    • B.
      (0, 1024, 2048, 3072)
    • C.
      (0, 8, 16, 24)
      ✓
    • D.
      (0, 0, 0, 0)

    Answer: C

    Solution

    Answer: (C) (0, 8, 16, 24) A block is selected by the decoder from (IA4, IA3), while its internal start (Addr=0) sets the ten address-port bits to 0. So the starting address of each block is determined solely by its (IA4,IA3) code:
    X1: IA4IA3=00 -> 0
    X2: IA4IA3=01 -> 2^3 = 8
    X3: IA4IA3=10 -> 2^4 = 16
    X4: IA4IA3=11 -> 2^4+2^3 = 24

More GATE PYQ on Memory Hierarchy

All GATE CS Computer Organization & Architecture PYQ →

Attempt GATE CS 2023 in real GATE exam mode

Full paper with a timer, the GATE interface and a topic-wise analysis — free.

Create free account →