quiz

Process Schedulers

1. Which scheduler determines the degree of multiprogramming?

  • A) Long-Term Scheduler
  • B) Medium-Term Scheduler
  • C) Short-Term Scheduler
  • D) None of these
A) Long-Term Scheduler Explanation

2. How is the ready queue typically implemented in CPU scheduling?

  • A) Stack
  • B) Queue
  • C) Hash Table
  • D) Binary Tree
B) Queue Explanation

3. What is another name for the Short-Term Scheduler in CPU scheduling?

  • A) Job Scheduler
  • B) High-Level Scheduler
  • C) Medium-Term Scheduler
  • D) CPU Scheduler
D) CPU Scheduler Explanation

4. When does the dispatcher come into action in the CPU scheduling process?

  • A) When a process is created
  • B) When a process completes execution
  • C) When an I/O operation completes
  • D) When the Short-Term Scheduler selects a process
D) When the Short-Term Scheduler selects a process Explanation

5. The sum of the periods spent waiting by a process in the ready queue is called:

  • A) Turnaround Time
  • B) Response Time
  • C) Waiting Time
  • D) Burst Time
C) Waiting Time Explanation

6. Which scheduler removes processes from main memory when an I/O request occurs?

  • A) Long-Term Scheduler
  • B) Medium-Term Scheduler
  • C) Short-Term Scheduler
  • D) Job Scheduler
B) Medium-Term Scheduler Explanation

7. Which component of the operating system is responsible for performing the context switch under the control of the dispatcher?

  • A) CPU
  • B) Memory
  • C) Hard Disk
  • D) Operating System Kernel
A) CPU Explanation

8. Which scheduler decides which device must be allotted to which process?

  • A) CPU Scheduler
  • B) Long-Term Scheduler
  • C) I/O Scheduler
  • D) Medium-Term Scheduler
C) I/O Scheduler Explanation