Answer:
A. 31 bits
B. 13 bits, 18 bits
C. 256k
Step-by-step explanation:
A.
We have total size of physical memory as 2gb
This means that 2¹ x 2³⁰
Using the law of indices,
= 2³¹
So physical address is equal to 31 bits
B.
We get page size = 8kb = 2³
1 kb = 2¹⁰
2³ * 2¹⁰ = 2¹³
So page replacement = 13 bits
Page frame number
= physical address - replacement bits
= 31 - 13
= 18 bits
C.
The number of frames is given as
2¹⁸ = 2⁸ x 2¹⁰ = 256K
So number of frames = 256K
D
Logical add space is 256K
Page size= physical pages = 8kb
Logical address layout= 28biys
Page number = 15 bits
Displacement = 12 bits
256k/8k = 32 pages in address space process