If there are m-input lines and n-output lines for a decoder that is used to…
2026
If there are m-input lines and n-output lines for a decoder that is used to uniquely address a byte addressable 1 KB RAM, then the minimum value of m + n is:
- A.
1034
- B.
1014
- C.
1024
- D.
10
Attempted by 142 students.
Show answer & explanation
Correct answer: A
To address a 1 KB byte-addressable RAM, we need 2^10 unique addresses since 1 kilobyte equals exactly 1024 bytes. A decoder with m input lines and n output lines requires 2^m = n to cover all addresses, meaning m=10 and n=1024. Therefore, the minimum sum of input and output lines is calculated as m + n = 10 + 1024 = 1034.