Three processes A, B and C each execute a loop of 100 iterations. In each…

GATE · 2014 · CS · Set 2 · Computer Science & IT

Three processes A, B and C each execute a loop of 100 iterations. In each iteration of the loop, a process performs a single computation that requires tc CPU milliseconds and then initiates a single I/O operation that lasts for tio milliseconds. It is assumed that the computer where the processes execute has sufficient number of I/O devices and the OS of the computer assigns different I/O devices to each process. Also, the scheduling overhead of the OS is negligible. The processes have the following characteristics:

Process idtctioA100 ms500 msB350 ms500 msC200 ms500 ms\begin{array}{} \textbf{Process id} & \textbf{$t_c$} & \textbf{$t_{io}$} \\\textbf{A} & \text{100 ms} & \text{500 ms} \\\textbf{B} & \text{350 ms} & \text{500 ms}\\\textbf{C} & \text{200 ms} & \text{500 ms} \\\end{array}

The processes A, B, and C are started at times 0, 5 and 10 milliseconds respectively, in a pure time sharing system (round robin scheduling) that uses a time slice of 50 milliseconds. The time in milliseconds at which process C would complete its first I/O operation is ___________.

Attempted by 174 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…