Answered step by step
Verified Expert Solution
Question
1 Approved Answer
6. In Topic 8: Virtual Memory, we discussed that we could store only some pages of the logical memory of a process within physical memory
6. In Topic 8: Virtual Memory, we discussed that we could store only some pages of the logical memory of a process within physical memory at a time, while keeping others on the disk, and copying them to memory only on demand. The image in Figure 1 shows a logical memory space of 8 pages, a physical memory space of 4 frames, and the page table that maps the former to the latter. The size of each page and each frame is 1000 ( 1000 addresses). Answer the following 2 questions: (a) The CPU tries to access the physical address that relates to the logical address 6187. Will a page fault happen? Explain how the operating system will check this. (b) If there is no page fault, compute the physical address to which the logical address 6187 is mapped. Show your full computation. Otherwise, if a page fault happens, briefly explain what the operating system will do in such a case using at least 1 sentence. 5 of 17 Fall 2022 CISC 3320 TR8 Final CUNY Brooklyn College Figure 1: Logical memory space, physical memory space, and the page table. (Slides: Topic 8, slides 913. Link (copy and paste in a new browser tab/window:) https://www.sci.brooklyn.cuny.edu/\%7Ebriskman/cisc/3320/lecture\%5Fnotes/topic\%5F08/09.html (8.33 points)
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