Maximum memory size = 4 GB = 232 bytes
Word size = 2 byte
Total number of words = \(\frac{{memory\;size}}{{word\;size}} = \;\frac{{{2^{32}}}}{2} = {2^{31}}\)
To, address these words, minimum size of the address bus we needed = 231
Minimum size of address bus in bits = \(\left\lceil {{{\log }_2}{2^{31}}} \right\rceil \) = 31 bits
NOTE:
1 G → 230