Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the following set of jobs. Job Number 1 2 3 4 5 6 Arrival Time 0 1 4 7 17 18 Service Time 6
Consider the following set of jobs.
Job Number | 1 | 2 | 3 | 4 | 5 | 6 |
Arrival Time | 0 | 1 | 4 | 7 | 17 | 18 |
Service Time | 6 | 2 | 4 | 2 | 4 | 2 |
Clearly show the scheduling of these jobs using the following algorithms (refer to the notes).
- First-in-first-out (fifo, fcfs)
- Shortest job first
- Shortest remaining time first
- Round-robin (time quantum = 1)
Also, for each scheduling algorithm, compute (i) Average turnaround time, and (ii) Average (response time / service time).
then
------
Consider a system that runs the following periodic jobs. Compute the system throughput.
Job number | 1 | 2 | 3 | 4 |
Service time | 2 sec | 1 sec | 2 sec | 1.5 sec |
Period the job has to run repeatedly | 10 sec | 6 sec | 12 sec | 9 sec |
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