1 / 1

Questions ( True = A , False = B )

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

marietta
Télécharger la présentation

Questions ( True = A , False = B )

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 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

More Related