Skip to content
Official PYQ · 2016

GATE CS 2016 Set 1 Q09 — Memory Hierarchy: Cache, Main Memory and Secondary Storage

Explain with AI
A processor can support a maximum memory of 4  GB4\;\textsf{GB}, where the memory is word-addressable (a word consists of two bytes). The size of address bus of the processor is at least _________bits.
View worked solution

Answer: 31

To find the minimum size of the address bus, we need to determine the number of unique addressable locations in the memory.

Given data:

  • Maximum memory capacity = 4 GB=4×230 bytes=232 bytes4\text{ GB} = 4 \times 2^{30}\text{ bytes} = 2^{32}\text{ bytes}
  • Word size = 2 bytes=21 bytes2\text{ bytes} = 2^1\text{ bytes}

Since the memory is word-addressable, each unique address corresponds to one word. The total number of addressable locations (words) is:

Number of addressable locations=Total memory sizeWord size=232 bytes21 bytes=231 locations\text{Number of addressable locations} = \frac{\text{Total memory size}}{\text{Word size}} = \frac{2^{32}\text{ bytes}}{2^1\text{ bytes}} = 2^{31}\text{ locations}

The number of address bits (nn) required to uniquely identify 2312^{31} locations is given by:

2n=231  ⟹  n=31 bits2^n = 2^{31} \implies n = 31\text{ bits}

Thus, the size of the address bus of the processor is at least 31 bits.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Memory Hierarchy: Cache, Main Memory and Secondary Storage questions