Question
The following diagram given shows the physical memory address and the virtual address space. The virtual addresses started at 0K until 192K, and the physical
The following diagram given shows the physical memory address and the virtual address space. The virtual addresses started at 0K until 192K, and the physical memory available size is 96K.
i) What is the maximum size of a program that can be written by a process according to the system above? (1 mark)
ii) State the total number of virtual pages and page frames according to the system above. (2 marks)
iii) What is the unit of memory that is moved between the physical memory and the virtual memory? (1 mark)
iv) What is the size of the current program in the logical address space above? (2 marks)
v) Do you think that the whole complete program can be loaded into the physical memory with the current size? Justify your answer. (2 marks)
vi) Draw the page table that clearly shows the information of the frame number and valid (v) or invalid (i) bit. (4 marks)
Virtual address space 184K - 192K 176K - 184K X 168K - 176K 11 160K - 168K 152K - 160K 144k - 152K 9 136K - 144K 128K - 136K 6 120K - 128K 112K - 120K Physical memory address 8 104K - 112K 96K - 104K 88K - 96K 5 5 88K - 96K 80K - 88K 9 10 80K - 88K 72K-BOK 72K - 80K 64K - 72K 10 4 64K - 72K 56K - 64K 11 56K - 64K 48K - 56K 6 1 48K - 56K 40K -48K 2 X 40K - 48K 32K - 40K 4 2 32K-4OK 24K - 32K 8 24K - 32K 16K - 24K 1 0 16K - 24K 8K - 16K 7 7 8K - 16K OK - 8K 3 3 OK - 8K Figure 2: Illustration of the virtual address space and physical memory address on a computer system 0Step 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