1. What is the average waiting time for Processes If the Operating System uses the Shortest-Job-First (SJF) Scheduling Algorithm?
(P1=5 ms, P2=10 ms, P3=15 ms)
2. How many page faults occur in the Optimum Page Replacement algorithm (OPR) with the following reference string for three-page frames?
Reference String: 4,2,1,3,2,3,4,1
3. What is the average waiting time for Processes If the Operating System uses Shortest-Job-Remaining-First (SJRF) Scheduling Algorithm?
(P1=5 ms, P2=10 ms, P3=15 ms)
Arrival Time ( P1=0 ms, P2=5 ms, P3=10 ms)
1.
Answer:
Average Waiting Time = 6.667 ms
Full Solution:
2.
Answer:
No. of Page Faults = 5
Full Solution:
3.
Answer:
Average Waiting Time = 3.333 ms
Full Solution:
Get Answers For Free
Most questions answered within 1 hours.