Question
Paging (10 pts) A system implements a paged virtual address space for each process using a one-level page table. The maximum size of virtual address
Paging (10 pts)
A system implements a paged virtual address space for each process using a one-level page table. The maximum size of virtual address space is 32MB. The page table for the running process includes the following valid entries (the -> notation indicates that a virtual page maps to the given page frame, that is, it is located in that frame):
Virtual page 2 -> page frame 1 Virtual page 4 -> page frame 16
Virtual page 1 -> page frame 4 Virtual page 3 -> page frame 9
Virtual page 0 -> page frame 2
The page size is 1024 bytes and the maximum physical memory size of the machine is 4MB.
a. How many bits are required for each virtual address? (2 pts)
b. How many bits are required for each physical address? (2 pts)
c. What is the maximum number of entries in a page table? (2 pts)
d. To which physical address will the virtual address 152410 translate? (2 pts)
e. Which virtual address will translate to physical address 102410? (2pts)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started