Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider a process with its address space shown on the left in the below diagram. On the right is physical memory. The blue arrows show
Consider a process with its address space shown on the left in the below diagram. On the right is physical memory. The blue arrows show mappings of virtual pages to physical frame pages. Assume the system is using paging and a linear page table. In the linear page table each Page Table Entry (PTE) stores three pieces of information: - The valid bit (0 or 1 ): 0 means invalid and 1 means valid. By "invalid" we mean that the virtual page is not in use. - The Physical Frame Number (PFN). - The protection (use r for read, w for write, and x for execute - for example, a page that is readwrite but not execute should have a protection of rw-). Below are two example PTEs with dummy data (not related to the above address space). This is just to show you how the linear page table looks like. Answer questions 13 to 20 . Question 13 4pts What does the first row PTE of the linear page table of the above address space look like? Question 14 What does the 3rd row PTE of the linear page table of the above address space look like? 13r 013rwx 0 13nw 110rwx What does the 5th row PTE of the linear page table of the above address space look like? \begin{tabular}{lll} & 10 & \\ \hline 0 & & \\ \hline 1 & 3 & rw- \\ \hline 1 & 0 & r \end{tabular} Remember from class that a virtual address consists of a VPN and an offset. Virtual address Question 16 6 pts For the virtual address shown below (in binary), choose the corresponding physical address. If translation is not possible, indicate "Exception: 000000011 Byte 11 of PFN 10 Byte 3 of PFN 10 Exception Byte 3 of PFN 3 Byte 11 of PFN 13 Question 17 For the virtual address shown below (in binary), choose the corresponding physical address. If translation is not possible, indicate "Exception: 001000001 Byte 1 of PFN 1 Exception Byte 11 of PFN 13 Byte 0 of PFN 3 Question 18 5 pts For the following process virtual address (shown in binary), choose the corresponding physical address. If translation is not possible, indicate "Exception: 010000111 Byte 7 of PFN 3 Byte 3 of PFN 13 Byte 3 of PFN 7 Exception Byte 7 of PFN 13
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