...
Algorithms
April 16, 2025
Operating-Systems
April 16, 2025
Algorithms
April 16, 2025
Operating-Systems
April 16, 2025

Operating-Systems

Question 981
Feedback queues
A
are very simple to implement
B
dispatch tasks according to execution characteristics
C
are used to favour real time tasks
D
require manual intervention to implement properly
Question 981 Explanation: 
n a multilevel queue-scheduling algorithm, processes are permanently assigned to a queue on entry to the system. Processes do not move between queues. This setup has the advantage of low scheduling overhead, but the disadvantage of being inflexible.

Multilevel feedback queue scheduling, however, allows a process to move between queues. The idea is to separate processes with different CPU-burst characteristics. If a process uses too much CPU time, it will be moved to a lower-priority queue. Similarly, a process that waits too long in a lower-priority queue may be moved to a higher-priority queue. This form of aging prevents starvation.

Correct Answer: B
Question 981 Explanation: 
n a multilevel queue-scheduling algorithm, processes are permanently assigned to a queue on entry to the system. Processes do not move between queues. This setup has the advantage of low scheduling overhead, but the disadvantage of being inflexible.

Multilevel feedback queue scheduling, however, allows a process to move between queues. The idea is to separate processes with different CPU-burst characteristics. If a process uses too much CPU time, it will be moved to a lower-priority queue. Similarly, a process that waits too long in a lower-priority queue may be moved to a higher-priority queue. This form of aging prevents starvation.

Leave a Reply

Your email address will not be published. Required fields are marked *