Posts

Showing posts with the label for




Which Algorithm Is Best Suited for Cpu Bound Processes

Image
63 Suppose that the following processes arrive for execution at the times indicated. Compute what the average turnaround time will be if the CPU is left idle for the first 1 unit and then SJF scheduling is used. Cpu Bound And Io Bound Process Gate Overflow For Gate Cse When a process is given the CPU a timer is set for whatever value has been set for a. . A scheduling algorithm is used to decide which process will be scheduled for execution next. A Stack b Queue C Circular queue d Tree. For example if the time required for task switch is counted in the process quantum all CPU time will be devoted to task switch and no process can progress toward its termination. Process with the shortest burst time is scheduled first. The SJF algorithm is supposed to improve performance but notice that we chose to run process P1 at time 0 because we did not know that two shorter processes would arrive soon. First-Come First-Served FCFS Sch...