Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

For the following questions, consider a paged memory system that has a physical

ID: 3797502 • Letter: F

Question

For the following questions, consider a paged memory system that has a physical main memory size of 1MB (2^20) and a page frame size (and hence page size) of 32KB (2^15). Consider a process P whose logical address space is 512KB (2^19).

Question 1: How many physical page frames are there in the above paged memory system? ________(Your answer should be in exponential form)

How many bits are needed to represent a physical page frame number in the system? ____________

Question 2: How many logical pages are there for P? _____________(Your answer should be in exponential form. )

How many bits are needed to represent a logical page number for P? _____________

Explanation / Answer

1) The number of physical page frames are there in the above paged memory system is
2^16 / 2^13 . = 2^3 = 8

So there are Eight physical page frames are there in the above paged memory system

And we know for 8 frames we require them to represents then in 3 bits i.e 2^3 = 8





2) Logical address is divided into page number and the offset within the page.

Same as above , 2^16 / 2^13 --> 3 bits necessary to adress which page and 13 bit needed for the offset


How many logical pages are there for P : Same 8
3 bits are needed to represents represent a logical page number for P

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote