A computer system has a memory capacity of 4K x 8 bits. How many address lines are required on the address bus to identify every byte in this memory uniquely?
Show answer & explanation
Correct answer: D
Explanation
The correct answer is Option 4, i.e., 12 lines.
- Memory size = 4K × 8 bits
- 4K = 4096 memory locations
- Each location = 8 bits = 1 byte
So, we need to address 4096 bytes
Now, the number of address lines required = log₂(4096)
4096 = 2¹²
So, Address lines = 12