Categories: Theory Question

CSC 222 Theory Questions: CPU Scheduling – Deadlock

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).

CLICK THE LINK BELOW TO DOWNLOAD THE DETAILED ANSWER

Fred N

Recent Posts

ETM 312 Theory Questions: Land Law and the Consequences of Unauthorized Land Transfers in Nigeria

300 Level Estate Management and Valuation Department exam questions and detailed answers. Download the answers…

5 months ago

ETM 312 Theory Questions: Co-Ownership Structures and Land Acquisition Methods in Nigeria

200 Level Estate Management and Valuation Department exam questions and detailed answers. Download the answers…

5 months ago

ETM 312 Theory Questions: Rights in Community Land and Fundamental Land Concepts in Nigeria

200 Level Estate Management and Valuation Department exam questions and detailed answers. Download the answers…

5 months ago

ETM 312 Theory Questions: Customary Land Control and the Origins of Nigeria’s Land Use Act

200 Level Estate Management and Valuation Department exam questions and detailed answers. Download the answers…

5 months ago

ETM 312 Theory Questions: Land Ownership Principles and Transaction Laws in Nigeria

200 Level Estate Management and Valuation Department exam questions and detailed answers. Download the answers…

5 months ago

ETM 226 Theory Questions: Trespass: Types and Defenses in Property Law

200 Level Estate Management and Valuation Department exam questions and detailed answers. Download the answers…

5 months ago