Respuesta :

tonb
8 kilobytes have addresses from hex 0x0000 to 0x1fff (=8191). You would need 13 bits for that. 2^13-1 = 8191. If you write the highest address in binary, you get:

0001 1111 1111 1111. Just count the number of 1's.

If you find this difficult to visualise, write down all logical addresses of a small page size of e.g. 8 bytes. You can see you can make all addresses with 3 bits.

Bits and bytes are the smallest scale of information represented on a computer.

The number of bits to represent the page offset in the logical address is 13

The page size is given as:

[tex]\mathbf{Size = 8kb}[/tex]

Convert to bytes

[tex]\mathbf{Size = 8\times 1024b}[/tex]

Express as exponents of base 2

[tex]\mathbf{Size = 2^3 \times 2^{10}b}[/tex]

Apply law of indices

[tex]\mathbf{Size = 2^{3+10}b}[/tex]

[tex]\mathbf{Size = 2^{13}b}[/tex]

The number of bits (n) is calculated as follows:

[tex]\mathbf{2^n = Size}[/tex]

So, we have:

[tex]\mathbf{2^n = 2^{13}}[/tex]

Cancel out the base (2)

[tex]\mathbf{n = 13}[/tex]

Hence, the number of bits is 13

Read more about bits and bytes at:

https://brainly.com/question/13188094

ACCESS MORE