Question: 3. Assume your process has been assigned 4 memory frames by the operating system. Your process requests pages in the following order at the
3. Assume your process has been assigned 4 memory frames by the operating system. Your process requests pages in the following order at the following times: Pages Time 1 5 8 3 4 1 7 2 1 6 5 3 54 1 2 3 4 5 6 7 8 9 10 11 12 13 14 a. What is the number of page faults that occur for each of Optimal, FCFS and LRU? Assume that at the start of your program no pages are loaded in your page table. Be sure to show your workings! b. Assuming pages are 1KB in size. Give the physical address for the corresponding virtual address (in binary) at the time specified using FCFS. Be sure to show your workings! a. Address 0010001110101010 @ Time 4 b. Address 0000010011100011 @ Time 6 c. Address 0001010011001001 @ Time 4 d. Address 0001010011001001 @ Time 14
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
