10 likes | 193 Views
Questions ( True = A , False = B ). 01) Scheduling is used to increase resource utilization this is the whole idea about scheduling: make sure that resources are better utilized
E N D
Questions (True = A, False = B) 01) Scheduling is used to increase resource utilizationthis is the whole idea about scheduling: make sure that resources are better utilized 02) In preemptive scheduling, a process is always interrupted by the schedulerno, the process can also block itself (see question 7) 03) Context switching is the same in non-preemptive and preemptive schedulingno, in preemptive scheduling, you need to save a context (preempted proc) and restore another (resumed proc) 04) Round-robin minimizes the average response timeno, SJF does (see question 5 for avg resp time for RR) 05) Shortest Job First achieves average response time of sum ΣRi/nno, RR does (see question 4 for SJF’s property) 06) It is a good idea to mix I/O bound and CPU bound processes.Yes, so that different resources are being used at different times 07) IO-bound processes are typically blocked before the end of the quantumYes, IO-bound processes request IO resources often, which means they block 08) The CPU burst of a process is usually computed based on the past CPU burstsYes, since we can only base ourselves on past, not on future 09) Aging is one of the techniques through which starvation is avoidedYes, aging increases the priority of jobs that have been in the queue for a long time. Eventually, such jobs will gain the CPU