Operating Systems Quiz 4

Operating Systems Quiz 4 - (h) Multilevel feedback queue...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
CSIS3600 Quiz 4 – HW3 Name: 1. 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). (a) First-in-first-out (fifo, fcfs) 1, 2, 3, 4, 5, 6 (b) Shortest job first 1, 2, 4, 3, 5, 6 (c) Highest response ratio first (d) Shortest remaining time first 2, 1, 4, 3, 6, 5 (e) Round-robin (time quantum = 1) 2, 4, 3, 1, 6, 5 (f) Round-robin (time quantum = 2) 2, 4, 3, 1, 6, 5 (g) Multilevel feedback queue (number of queue levels = 4, time quantum = 1)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: (h) Multilevel feedback queue (number of queue levels = 3, time quantum = 2 x , where x is the level) Also, for each scheduling algorithm, compute (i) Average turnaround time, and (ii) Average (response time / service time). 2. 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...
View Full Document

This note was uploaded on 09/10/2008 for the course CSIS 3600 taught by Professor Tu during the Spring '08 term at Southern Utah.

Ask a homework question - tutors are online