44.9k views
4 votes
A computer has 38 address lines. How many locations in Mega bytes can it address?

1 Answer

5 votes

Answer:

The computer can address 34359,738368 megabytes

Step-by-step explanation:

Given

Address Lines (n) = 38

Required

Determine the number of location it can address

Number of addressable locations (N) in bits is calculated as thus


N = 2^n.

Substitute 38 for n


N = 2^(38)


N = 274877906944\ bits

Next; is to convert from bits to megabytes

Start by converting to bytes

1 bit = 0.125 bytes;

So;


N = 274877906944 * 0.125\ bytes


N = 34359738368\ bytes

Convert from byte to megabyte


1\ byte = 10^(-6)\ megabyte

So;


N = 34359738368\ * 10^(-6)\ MB


N = 34359,738368\ MB

Hence, the computer can address 34359,738368 megabytes

User Samarth Juneja
by
5.5k points