200 Level Computer Science exam questions and the detailed answers. Download the answers in document format. Correct, detailed, and straightforward answers.
Questions:
(a) Using Shortest Remaining Time (SRT) and Round Robin (q = 3) scheduling schemes for the given processes,
(i) draw the CPU scheduling Gantt chart showing the waiting time and the CPU burst time (10 Mks)
(ii) compute the average waiting time for each scheme (2 Mks)
(iii) compute the average turnaround time for each scheme (2 Mks)
(iv) average response time given processes information (2 Mks)
Processes | A | B | C | D | E |
---|---|---|---|---|---|
Service time | 5 | 3 | 1 | 5 | 4 |
Arrival time | 0 | 1 | 3 | 4 | 6 |
(b) Highlight the four necessary and sufficient conditions that must hold simultaneously for there to be a deadlock as identified by Coffman (1971).
200 Level Department of Tourism And Hospitality Management exam questions and detailed answers. Download the answers…
200 Level Department of Tourism And Hospitality Management exam questions and detailed answers. Download the answers…
200 Level Department of Tourism And Hospitality Management exam questions and detailed answers. Download the answers…
200 Level Department of Geography And Planting Science exam questions and detailed answers. Download the answers…
200 Level Department of Geography And Planting Science exam questions and detailed answers. Download the answers…
200 Level Department of Geography And Planting Science exam questions and detailed answers. Download the answers…