Assume a computer has the capacity to hold up to 4 memory modules, with each module containing 512M bytes. How many total bits are needed in the memory address?

1 answer

4×512MB = 2GB = 2^31 bytes. To address any byte requires 31 bits.