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 10)
C. log N (to the base e)
D. log (2N) (to the base e)
Answer:A
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 10) C. log N (to the base e) D. log (2N) (to the base e)
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(2^12)=12