Operating SystemPU Spring 2023
a) Consider the following page reference strings: 9, 3, 4, 5, 3,9, 6, 7. 3.9, 3, 4, 8, 7, 4, 3,9, 3, 4, 7. How many page faults would occur for each of the following page replacement algorithms…
15- a) Consider the following page reference strings: 9, 3, 4, 5, 3,9, 6, 7. 3.9, 3, 4, 8, 7, 4, 3,9, 3, 4, 7. How many page faults would occur for each of the following page replacement algorithms assuming 3 pages a frame? In each case calculate fault ratio.
- i) Second Chance page replacement
- ii) LRU page replacement
- iii) FIFO page replacement
- b) Define context switching Explain context switching by demonstrating a diagram that show how CPU switches from one process to another.
A worked answer is on its wayMeanwhile, read the Operating System notes for this topic.
Discussion
Loading…
More Operating System questions
a) Define operating system. Discuss on different types of operating system. b) How CPU switches from one process to another? Illustrate with a diagram. What…PU Spring 202415a) Given the following set of information, calculate the average waiting time and average turn around time using SRTN, FCFS, RR (Quantum = 2). Also discuss…PU Spring 202415a) Define page fault. Consider the following page reference strings: 1,3, 4, 5,3. 1.6, 7,3, 1. 3,4, 8. 9, 4, 3, 1, 3, 4, 7. How many page faults would occur…PU Spring 202415a) Whatis internal and external fragmentation? Explain TLB in detail. b) Consider following snapshot of a system. BUBO SRE H Oa joo fs fu fa fe [fa fe fo [2…PU Spring 202415a) What'are different ways to input output? Explain Interrupt Driven “7 V/O with diagram. b) How files and directories are stored in memory such that they…PU Spring 20248a) Define bottleneck. Explain the concept of cloud OS. b) What is cloud operating system? Discuss its characteristics and = advantages.PU Spring 202415