Question 4) The following system uses 4KB pages (4096Bytes) and a two level page
ID: 3604409 • Letter: Q
Question
Question 4) The following system uses 4KB pages (4096Bytes) and a two level page table. 5 marks] All addresses are given base 10 A) Suppose process A has the following page table: 2 marks Page Frame 24 25 26 27 28 Invalid Invalid Invalid 100 19 18 20 101 What physical address correspond to the following virtual addresses i) 102419 i) 106495 ii) 106496 iv) 106515 B) Assuming that the TLB starts out empty, how many pages in the page table must be accessed to read from the virtual addresses given above? Assume the reads happen immediately after each other 2 marks] iv)Explanation / Answer
1)what physical addres correpond to the virtual addres is
option c
106496
becasue the virtual address should not be odd
simply we can say .
2)Assuming that the starts out empty, intially it will empty it will read the 0 is invalid and goes to 1 and again invalid and reads 2 again invalid read the page 24 it shows the value 100 which should be out of range present in the table
now again it reads the 25 page and show its location is 19
and then it will goes to the 19 page
based upon the condtion it will check whether where it will go
if it i out of range it will leave it
and other wise it will read nxt page which will present in the process.
3)if process A reads from virtual address 7418, the kernal should sent is which instructions to be exectued in that address and sends the signal to the cpu.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.