Description
200 Level Computer Science exam questions and the detailed answers. Download the answers in document format. Correct, detailed, and straightforward answers.
Questions:
(a) What is the difference between Waiting Time and Response Time? (4 Marks)
(b) Using First Come First Serve (FCFS) and Shortest Job First (SJF) scheduling schemes for the given processes:
(i) Draw the CPU scheduling Gantt chart showing the waiting time and CPU burst time. (10 Marks)
(ii) Compute the average waiting time for each scheme. (2 Marks)
(iii) Compute the average turnaround time for each scheme. (2 Marks)
(iv) Compute the average response time for the given processes. (2 Marks)
Process Information:
| Processes | P1 | P2 | P3 | P4 | P5 |
|---|---|---|---|---|---|
| Service time | 2 | 6 | 1 | 4 | 3 |
| Arrival time | 0 | 1 | 4 | 7 | 8 |
DOWNLOAD THE ANSWER BELOW




