A computer employs RAM chips of 256 bytes and ROM chips of 1024 bytes . If the computer system needs 1 KB of RAM and 1 KB of ROM . then how many address lines are required to access the memory ?
My work : num of rams needed of 256 byte = 1024 / 256 =4 num of rom chip required = 1024 / 1024 =1 so total address lines are 4 * log 256 + log 1024 ( i take base of 2) = 4 * 8+ 10 =42 .Is it right approach ?