Question
Suppose that the following processes arrive for execution at the times indicated. Each process will run for the amount of time listed. In answering the
Suppose that the following processes arrive for execution at the times indicated. Each process will run for the amount of time listed. In answering the question, use nonpreemptive scheduling, and base all decisions on the information you have at the time the decision must be made. If two or more processes are identical in terms of scheduling criterion, you should give precedence to the process that has the smallest process ID (PID) number.
PID ArrivalTime BurstTime 0 0 21 1 0 12 2 0 32
What is the average waiting time for these processes with the Shortest Job First (SJF) scheduling algorithm?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started