Computer Fundamentals - Engineering

Q1:

What is the number of bits needed for an address in a 4 K memory?

A 16

B 8

C 12

D 4

E None of the above

ANS:C - 12

It is simple,

Number of bits needed for address in memory = 2^n.
2^n = 4K.
2^n = 4096.
n =12.
1K = 1024 = 2^10.
4K = 4096 = 2^12.