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

THM 204 Theory Question: The Role of Census Data in Sustainable Tourism Development and Regional Balance

200 Level Department of Tourism And Hospitality Management exam questions and detailed answers. Download the answers…

15 hours ago

THM 204 Theory Question: Population Studies: Data Needs and Urbanization Impacts

200 Level Department of Tourism And Hospitality Management exam questions and detailed answers. Download the answers…

15 hours ago

THM 204 Theory Question: Evaluation of Malthusian Theory in Explaining Contemporary Population Challenges

200 Level Department of Tourism And Hospitality Management exam questions and detailed answers. Download the answers…

16 hours ago

THM 201 Theory Question: Why Recreation and Tourism is an Attractive Development Option for Nigeria

200 Level Department of Geography And Planting Science exam questions and detailed answers. Download the answers…

16 hours ago

THM 201 Theory Question: Generic Benefits of Recreation and Tourism Activities in Africa

200 Level Department of Geography And Planting Science exam questions and detailed answers. Download the answers…

16 hours ago

THM 201 Theory Question: Roles of Government and Governance in Nigeria’s Recreation and Tourism Development

200 Level Department of Geography And Planting Science exam questions and detailed answers. Download the answers…

18 hours ago