Medium Operating Systems CPU Scheduling
Explain multilevel queue and multilevel feedback queue scheduling.
Answer
Multilevel Queue: separate queues for different process types (foreground/background), each with own algorithm. Fixed priority between queues or time slicing. Processes stay in assigned queue. Multilevel Feedback Queue (MLFQ): processes can move between queues based on behavior. CPU-bound processes drop to lower priority; I/O-bound stay high. New processes start high. Addresses issue of unknown burst times. Used in most modern OS schedulers.
IIT Certified
Master These Concepts with IIT Certification
175+ hours of industry projects. Get placed at Bosch, Tata Motors, L&T and 500+ companies.
Relevant for Roles
Systems Developer OS Developer Software Engineer