In a Computer System, there are 1024 k pages and the page size is 32 k bytes. The physical address is 30 bits. Calculate logical address and number of frames.
(A) 215 and 35 respectively.
(B) 35 and 215 respectively.
(C) 50 and 220 respectively.
(D) 220 and 50 respectively.


Answer: (B)

Explanation: According to memory translation:
Logical address space (LAS) = number of frames * page size = 220*215 = 235
So, there is 35 bits virtual address.

Now, Frame size = page size = 32 k bytes = 215 bytes
Physical address space (PAS) = 230.
Hence, Number of frames = PAS / frame size = 230 / 215 = 215
So, option (B) is correct.


Quiz of this Question


  • Last Updated : 29 Oct, 2018

Share your thoughts in the comments