Operating Systems Quiz 4

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

Info icon This 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)
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

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern