Three events A, B, and C occurred at tunes 1, 3, and 5 respectively. The time un
ID: 639972 • Letter: T
Question
Three events A, B, and C occurred at tunes 1, 3, and 5 respectively. The time unit is millisecond (ms). The diagram (not to scale) below shows when these events are serviced. For example, the service for Event C started at time 6 and completed at time 9. Use this information for Questions a-e a) What is the response time for Event B? b) What is the turnaround time for Event B? c) Based on the three events A, B, and C, what is the average response time? d) Based on the three events A, B, and C, what is the average turnaround time? e) Based on the three events A. B, and C, what is the average throughput (#processed events/unit time)Explanation / Answer
Arrival time:
A = 1
B = 3
C = 5
Response time((response time = service time - arrival time):
A = 2 - 1 = 1
B = 6 - 3 = 3
C = 9 - 5 = 4
Average response time = (1 + 3 + 4) / 3 = 8 / 3
Turnaround time(turnaround time = completion time - arrival time):
A = 6 - 1 = 5
B = 9 - 3 = 6
C = 10 - 5 = 5
Average turnaround time = (5 + 6 + 5) / 3 = 16 / 3
Average throughput = 3 / 10