GATE / CS ARCHIVE

GATE CSE 2016 SET 1 / QUESTION 9

GATE CSE 2016 Set 1 Q9

Computer Organization & Architecture · Memory Organization & Address Translation · Full GATE CSE 2016 Set 1 paper

GATE 2016 Set 1, Q9 1 mark · NAT
Report issue

Memory Organization & Address Translation

Question 9, GATE 2016: A processor supports up to 4 GB of word-addressable memory, with two bytes per word. What is the minimum address-bus width in bits?
Tap to enlarge
Answer & solution

Official answer: 31.0 : 31.0

Our answer: 31

Using the exam’s binary memory-size convention, 4 GB=2³² bytes. A word address identifies two bytes, leaving 2³¹ addressable words and requiring 31 address bits. Decimal 4·10⁹ bytes gives the same ceiling 31.

The address bus counts addressable units, not bytes unless memory is byte-addressable. Here each address selects one two-byte word, so divide byte capacity by 2 before taking the base-two logarithm. With 31 address bits there are 231 distinct patterns, exactly enough for the word addresses. Thirty bits would reach only 230 words, or 2 GiB, so the lower width is insufficient. Data-bus width and address-bus width are separate questions.

Original paper, page 5 · Answer key