Question
A processor can support a maximum memory of 4 GB, where the memory is word-addressable (a word consists of two bytes). The size of the address bus of the processor is at least _____ bits.
Official answer and solution
- Official answer
- 31
- From
- Official GATE 2016 answer key
Solution
Compute the number of unique word addresses in a 4 GB word-addressable memory.
Total memory capacity is:
The memory is word-addressable with a word size of 2 bytes ( bytes). Therefore, the total number of addressable words is:
To provide a distinct address for each of the words, the processor address bus must have at least 31 address lines:
31
Assuming byte-addressable memory and choosing 32 bits ( locations).
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2016 Computer Science and Information Technology (CS) Session 1
- Question
- 19 of 65, printed as CS Q.9
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.