Problem
Consider a system where the virtual memory page size is 2k, and main memory consist of 4 page frames. Now consider a process which require 8 pages of storage. At some point during its execution the page table is as shown below:
Virtual Page
|
Valid
|
Physical page
|
0
|
No
|
|
1
|
No
|
|
2
|
Yes
|
1
|
3
|
No
|
|
4
|
Yes
|
3
|
5
|
No
|
|
6
|
Yes
|
0
|
7
|
Yes
|
2
|
a) List the virtual address ranges for each virtual page and address ranges that will result in a page fault.
b) Give the main memory addresses for each of the following virtual addresses(all number decimal)
I) 8500
Ii) 14000
iii) 5000
iv) 2100.