UNIT 08 EXAM QUESTIONS COMPLETE WITH
100% VERIFIED ANSWERS
\.In preemptive scheduling, the sections of code affected by interrupts must be
guarded from simultaneous use.
Select one:
True
False - ANSWERS-True
\.Which of the following is true of cooperative scheduling?
Select one:
a. It requires a timer.
b. It incurs a cost associated with access to shared data.
c. A process keeps the CPU until it releases the CPU either by terminating or by
switching to the waiting state.
d. A process switches from the running state to the ready state when an interrupt
occurs. - ANSWERS-c. A process keeps the CPU until it releases the CPU either by
terminating or by switching to the waiting state.
\.____ is the number of processes that are completed per time unit.
,Select one:
a. Turnaround Time
b. CPU utilization
c. Response Time
d. Throughput - ANSWERS-d. Throughput
\.Which of the following is true of multilevel queue scheduling?
Select one:
a. Each queue has its own scheduling algorithm.
b. Processes can move between queues.
c. It is the most general CPU-scheduling algorithm.
d. A queue cannot have absolute priority over lower-priority queues. - ANSWERS-
a. Each queue has its own scheduling algorithm.
\.____ scheduling is approximated by predicting the next CPU burst with an
exponential average of the measured lengths of previous CPU bursts.
Select one:
a. SJF
b. FCFS
c.Multilevel queue
d. RR - ANSWERS-a. SJF
, \.The ____ scheduling algorithm is designed especially for time-sharing systems.
Select one:
a. RR
b. FCFS
c. Multilevel queue
d. SJF - ANSWERS-a. RR
\.____ involves the decision of which kernel thread to schedule onto which CPU.
Select one:
a. Dispatcher
b. Process-contention scope
c. Round-robin scheduling
d. System-contention scope - ANSWERS-d. System-contention scope
\.____ allows a thread to run on only one processor.
Select one:
a. Load balancing
b. Processor affinity
c. NUMA