Got a question:
A process has the following page table.
Valid Bit Page
0 -
1 3
0 -
0 -
1 2
1 0
0 -
1 1
Which page in main memory does the process' page 4 map to?
Select one:
a. 4
b. 2
c. 0
d. Page 4 of the process is not stored in main memory
e. None of the above
I would have thought it was (d) since (3,2,0,1) are valid and 4 is not present. But the answer is 2 apparently and I don't see why?
What is the mistake in this solution: