Question
QUESTION 1: Briefly describe the three types of processor scheduling. QUESTION 2: What is the difference between preemptive and non-preemptive scheduling? There is a currently
QUESTION 1: Briefly describe the three types of processor scheduling.
QUESTION 2: What is the difference between preemptive and non-preemptive scheduling?
There is a currently running process and a new process arrives. And OS moved the currently running process to the Ready state. What kind of scheduling policy is the OSs selection function used for this case.?
QUESTION 3: You were given five processes with their arrival time and execution time for each in the table.
Process | Arrival time | Execution time |
Processes A | 0 | 4 |
Processes B | 2 | 3 |
Processes C | 3 | 4 |
Processes D | 5 | 5 |
Develop the schedule (time diagram) for the following methods.
First-Come-First-Served (FCFS)
Round Robin
Shortest Process Next (SPN)
Assume the length of the time quantum, or slice is 1 (q=1)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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