[Solved]Consider Virtual Memory System Uses Combination Segmentation Paging Assume Program Divided Q37244567

Consider a virtual memory system that uses a combination of segmentation and paging. Assume a program is divided into 4 segments and that the OS builds a four-entry page table for each segment. The page size is 1K bytes. Answer the following questions and show your work. a. What is the maximum size of a segment? b. What is the size of the maximum logical address space for a program? c. Assume the program has the following segment and page tables, find the physical address, if any, corresponding to each of the following logical addresses. Page Table 0 Segment# 0 Size 2000 4025 4002 4017 Page table3 Page table1 Page# Page table 2 Page# Frame Page table 0 Page# Frame | P Frame -P1 Page# Frame P 520 1 24410 3251 1022 1 313 1 0 0 500 1 1 1002 1 0 3 271 1 3526 0 a. 14, 836 b. 2,011 Show transcribed image text Consider a virtual memory system that uses a combination of segmentation and paging. Assume a program is divided into 4 segments and that the OS builds a four-entry page table for each segment. The page size is 1K bytes. Answer the following questions and show your work. a. What is the maximum size of a segment? b. What is the size of the maximum logical address space for a program? c. Assume the program has the following segment and page tables, find the physical address, if any, corresponding to each of the following logical addresses. Page Table 0 Segment# 0 Size 2000 4025 4002 4017 Page table3 Page table1 Page# Page table 2 Page# Frame Page table 0 Page# Frame | P Frame -P1 Page# Frame P 520 1 24410 3251 1022 1 313 1 0 0 500 1 1 1002 1 0 3 271 1 3526 0 a. 14, 836 b. 2,011
Expert Answer
Answer to Consider a virtual memory system that uses a combination of segmentation and paging. Assume a program is divided into 4 … . . .
Related