Google News
logo
Electronics and Communication Engineering (ECE) : Microprocessors - Quiz(MCQ)
To address a memory location out of N memory locations, the number of address lines required is
A)
log N (to the base 2)
B)
log N (to the base e)
C)
log N (to the base 10)
D)
log (2N) (to the base e)

Correct Answer : Option (A) :   log N (to the base 2)


Explanation : For n memory locations, log n(to the base of 2) address lines are required. For addressing 4K bytes of memory, 12 address lines are required since log(4KB) =log(4*1024)=log(212)=12

Advertisement