In this section of Operating System CPU Scheduling MCQs.it contain Operating System Process Management – CPU scheduling – Scheduling Algorithms MCQs (Multiple Choice Questions Answers).All the MCQs (Multiple Choice Question Answers) requires in detail reading of Operating System subject as the hardness level of MCQs have been kept to advance level.

PRACTICE IT NOW TO SHARPEN YOUR CONCEPT AND KNOWLEDGE

view hide answers

1. In Which of the following algorithm the process that requests the CPU first is allocated the CPU first

  • Shortest-Job-First Scheduling
  • First-Come, First-Served Scheduling
  • Priority Scheduling
  • Round-Robin Scheduling

2. Which of the following  scheduling algorithm is nonpreemptive

  • Shortest-Job-First Scheduling
  • First-Come, First-Served Scheduling
  • Priority Scheduling
  • Round-Robin Scheduling

3. Which of the following  scheduling algorithm the average waiting time for the process to start execution  is often quite long

  • Shortest-Job-First Scheduling
  • Shortest-Job-First Scheduling
  • First-Come, First-Served Scheduling
  • Priority Scheduling

4. Which of the following  scheduling algorithm associates with each process the length of the process’s next CPU burst

  • Shortest-Job-First Scheduling
  • First-Come, First-Served Scheduling
  • Priority Scheduling
  • Round-Robin Scheduling

5. In Shortest-Job-First Scheduling If the next CPU bursts of two processes are the same, ____ scheduling is used to break the tie.

  • Shortest-Job-First
  • First-Come, First-Served
  • Priority
  • Round-Robin

6. more appropriate term for Which of the following scheduling method would be the shortest-next CPU-burst algorithm

  • Round-Robin Scheduling
  • First-Come, First-Served Scheduling
  • Priority Scheduling
  • Shortest-Job-First Scheduling

7. The SJF algorithm can be

  • preemptive Only
  • nonpreemptive Only
  • either preemptive or nonpreemptive
  • None of the above

8. Which of the following  scheduling algorithm is used frequently in long-term scheduling

  • Shortest-Job-First Scheduling
  • First-Come, First-Served Scheduling
  • Priority Scheduling
  • Round-Robin Scheduling

9. Which of the following  scheduling algorithm is provably optimal, in that it gives the minimum average waiting time for a given set of processes.

  • Round-Robin Scheduling
  • First-Come, First-Served Scheduling
  • Priority Scheduling
  • Shortest-Job-First Scheduling

10. ____ is sometimes called shortest-remaining-time-first scheduling

  • Round-Robin Scheduling
  • Preemptive SJF scheduling
  • Priority Scheduling
  • First-Come, First-Served Scheduling

11. Which of the following Statement is TRUE for Shortest-Job-First Scheduling
  1. The SJF algorithm is a special case of the general priority-scheduling algorithm
  2. it can be implemented at the level of short-term CPU scheduling
  3. A nonpreemptive SJF algorithm will allow the currently running process to finish its CPU burst
  4. A preemptive SJF algorithm will preempt the currently executing process

  • 1 ,2,4
  • 1,2,3
  • 1,3,4
  • 1,2,3,4

12. Which of the following Statement is TRUE for First-Come, First-Served Scheduling
  1. When a process enters the ready queue, its PCB is linked onto the tail of the queue. When the CPU is free, it is allocated to the process at the head of the queue
  2. FCFS scheduling algorithm is preemptive
  3. The implementation of the FCFS policy is easily managed with a FIFO queue
  4. the average waiting time under the FCFS policy is often quite small

  • 1 ,2,4
  • 1,3
  • 1,3,4
  • 1,2,3,4

13. The next CPU burst of the newly arrived process may be shorter than what is left of the currently executing process. A _____ will preempt the currently executing process

  • preemptive priority scheduling algorithm
  • nonpreemptive SJF algorithm
  • preemptive SJF algorithm
  • First-Come, First-Served Scheduling

14. The ____ is a special case of the general priority-scheduling algorithm

  • FCFS scheduling
  • RR scheduling
  • FCLS scheduling
  • SJF algorithm

15. In which of the following Scheduling Algorithm A priority is associated with each process, and the CPU is allocated to the process with the highest priority.

  • Round-Robin Scheduling
  • Preemptive SJF scheduling
  • Priority Scheduling
  • First-Come, First-Served Scheduling

16. In Priority Scheduling Equal-priority processes are scheduled in ___ order

  • LIFO -Last In Fist Out
  • FCFS - First Come First Served
  • SJF - Shortest job First
  • LILO -Last in Last Out

17. In Priority Scheduling Algorithm Which of the following stands True

  • the priority (p) is equal to the next CPU burst. The smaller the CPU burst, the higher the priority
  • the priority (p) is the inverse of the (predicted) next CPU burst. The smaller the CPU burst, the higher the priority
  • the priority (p) is the inverse of the (predicted) next CPU burst. The larger the CPU burst, the lower the priority
  • the priority (p) is equal to the next CPU burst. The larger the CPU burst, the lower The priority

18. The Priority Scheduling algorithm can be

  • preemptive Only
  • nonpreemptive Only
  • either preemptive or nonpreemptive
  • None of the above

19. A preemptive priority scheduling algorithm will preempt the CPU if

  • The priority of the newly arrived process is higher than the priority of the currently running process
  • The priority of the newly arrived process is Lower than the priority of the currently running process
  • The priority of the newly arrived process is equal to the priority of the currently running process
  • all of the above

20. A nonpreemptive priority scheduling algorithm will simply put the new process at ___

  • The tail of the ready queue.
  • The head of the ready queue.
  • head and tail of the ready queue
  • None of the above
  • Shortest-Job-First Scheduling
  • First-Come, First-Served Scheduling
  • Priority Scheduling
  • Round-Robin Scheduling

22. Which of the following scheduling algorithm can leave some low priority processes waiting indefinitely?

  • Shortest-Job-First Scheduling
  • Priority Scheduling
  • First-Come, First-Served Scheduling
  • Round-Robin Scheduling

23. A solution to the problem of indefinite blockage of low-priority processes is ______

  • Switching
  • Swapping
  • Paging
  • aging

24. Which of the following statement is True for Aging

  • Aging involves gradually increasing the priority of processes that wait in the system for a long time
  • Aging involves gradually decreasing the priority of processes that wait in the system for a long time
  • Aging involves gradually increasing the priority of processes that wait in the system for a small time
  • Aging involves gradually decreasing the priority of processes that wait in the system for a small time

25. Which of the following Scheduling Algorithm is designed especially for timesharing systems?

  • Shortest-Job-First Scheduling
  • Priority Scheduling
  • First-Come, First-Served Scheduling
  • Round-Robin Scheduling

26. The RR scheduling algorithm is

  • preemptive
  • nonpreemptive
  • either preemptive or nonpreemptive
  • All of the above

27. A Round-Robin Scheduling algorithm will simply put the new process at _____

  • the tail of the ready queue
  • the head of the ready queue.
  • head and tail of the ready queue.
  • None of the above

28. In which of the following scheduling algorithm The ready queue is treated as a circular queue. and we again treat the ready queue as a FIFO queue of processes

  • Round-Robin Scheduling
  • Preemptive SJF scheduling
  • Priority Scheduling
  • First-Come, First-Served Scheduling

29. In which of the following scheduling algorithm new processes are added to the tail of the ready queue. The CPU scheduler picks the first process from the ready queue, sets a timer to interrupt after 1 time quantum, and dispatches the process.

  • Shortest-Job-First Scheduling
  • Priority Scheduling
  • First-Come, First-Served Scheduling
  • Round-Robin Scheduling

30. In Round-Robin Scheduling algorithm, The process may have a CPU burst of less than 1 time quantum. In this case:

  • the timer will go off and will cause an interrupt to the operating system. A context switch will be executed, and the process will be put at the tail of the ready queue, The CPU scheduler will then select the next process in the ready queue
  • the timer will go off and will cause an interrupt to the operating system. A context switch will be executed, and the process will be put at the head of the ready queue, The CPU scheduler will then select the next process in the ready queue
  • the process itself will release the CPU voluntarily. The scheduler will then proceed to the next process in the ready queue
  • the process itself will not release the CPU voluntarily. The scheduler will then proceed to the next process in the ready queue

31. In Round-Robin scheduling algorithm, If the CPU burst of the currently running process is longer than 1 time quantum. In this case:

  • The timer will go off and will cause an interrupt to the operating system. A context switch will be executed, and the process will be put at the tail of the ready queue, The CPU scheduler will then select the next process in the ready queue.
  • the timer will go off and will cause an interrupt to the operating system. A context switch will be executed, and the process will be put at the head of the ready queue, The CPU scheduler will then select the next process in the ready queue
  • the process itself will release the CPU voluntarily. The scheduler will then proceed to the next process in the ready queue
  • the process itself will not release the CPU voluntarily. The scheduler will then proceed to the next process in the ready queue

32. In which of the following scheduling algorithm the performance of the algorithm depends heavily on the size of the time quantum

  • Shortest-Job-First Scheduling
  • Priority Scheduling
  • First-Come, First-Served Scheduling
  • Round-Robin Scheduling
Share with : Share on Linkedin Share on Twitter Share on WhatsApp Share on Facebook