Written Assignment 2 chapter 4

Written Assignment 2 chapter 4 - c – SRT c → d → a...

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

View Full Document Right Arrow Icon
Written assignment 2, chapter 4, page 134-136, exercises 1, 3, 4, 7, 9, 12. 1 - a 1 - b – From sleeping I can go straight to eating then walking to hygiene to working then tired back to sleep. I can Also want to eat after walking or working. I can even go from sleep alarm working, walking tired back to sleep. 3 – Jobs would go as follow A, D, E, B, C. 4 – It will be interrupted 3 time and finish on the 3 rd job 7 - a – FCFS a → b → c → d → e b – SJN d → c → a → b → e
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: c – SRT c → d → a → b → e d – Round Robin a → b → c → d → e → a → b → e → b → 9 a – FCFS turnaround time = 24.8 b – SJN turnaround time = 17.2 c – SRT turnaround time = 8.2 d – Round Robin turnaround time = 12 - I would use a SRT policy with a variable Time Quantum Per Queue. With SRT the shortest job will go through first and the next job will be next with more time complete and so on. walking sleeping hygiene eating working...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online