Q48.Marks: +2.0UGC NET Paper 2: Computer Science 11 March 2023
The memory size for n address lines and m data lines is given by
1.2m × n
2.m × n2
3.2n × m✓ Correct
4.n × m2
Solution
The correct answer is 2n × m
Key Points
In a basic memory unit (like RAM), the number of address lines determines the number of memory locations, and the number of data lines determines the size of each memory location.
The number of memory locations is given by 2n, where n is the number of address lines. This is because each address line can be either 0 or 1 - two possibilities. So with n lines, we have 2n possible combinations, each representing a different memory location.
The size of each memory location is determined by m, the number of data lines. Each data line can carry one bit of data. So, m data lines can carry m bits of data.
Combining these two considerations, the total size of the memory is the number of memory locations multiplied by the size of each location in bits.
So, total memory size = 2n memory locations × m bits/location