1 votes 1 votes Consider four process all are arriving at time zero, with total execution time of 20, 10, 10 and 20 unit respectively. Each process spends the first 20% of execution time doing CPU, the next 60% of doing I/O computation and the last 20% of time doing CPU computation again. The operating system uses longest time first scheduling algorithm and schedules a new process either when running process get blocked I/O or when the running process finishes its CPU burst. Assume that I/O operations can be overlapped as much as possible. The average TAT of the system given by ______ unit. [Note: When same burst occurs for multiple process high priority given to lowest process id] (upto one decimal place) Operating System operating-system + – shivangi5 asked Oct 27, 2017 shivangi5 1.1k views answer comment Share Follow See 1 comment See all 1 1 comment reply shivangi5 commented Oct 27, 2017 reply Follow Share Getting 27.5 but the given ans is 24.5 0 votes 0 votes Please log in or register to add a comment.
Best answer 5 votes 5 votes Average T.A.T = $\frac{98}{4}$ = 24.5 is the correct answer! Manu Thakur answered Oct 28, 2017 selected Oct 28, 2017 by shivangi5 Manu Thakur comment Share Follow See 1 comment See all 1 1 comment reply sitikant commented Jun 1, 2022 reply Follow Share Why there is a time gap between p3(23-25) and p0(26-27).? Should not be it p0(25-26)? 0 votes 0 votes Please log in or register to add a comment.