Suppose a system contains n processes and system uses the round-robin algorithm for CPU scheduling then which data structure is best suited ready queue of the processes  

Suppose a system contains n processes and system uses the round-robin algorithm for CPU scheduling then which data structure is best suited ready queue of the processes   Correct Answer circular queue

The correct answer is "option 3".

CONCEPT:

The circular queue is best known for the Round Robin CPU scheduling algorithm.

A circular Queue is a linear data structure based on the FIFO principle and the last position of the queue is connected back to the first position.

In Round Robin scheduling, when the timer goes off the process then swapped out & goes to the end of the ready queue.

Hence, the correct answer is "option 3".

Circular Queue

Additional Information

1. Queue is a linear data structure used to store data on the basis of the FIFO (First In First Out) principle.

2. Stack is a linear data structure based on the LIFO (Last In First Out) principle.

3. A tree is a non-linear data structure that store data in hierarchical form.

4. LIFO means the data entered last in the data structure will be removed first. 

5. FIFO means the data entered first in the data structure will be removed first. 

Related Questions

Consider an arbitrary set of CPU-bound processes with unequal CPU burst lengths submitted at the same time to a computer system. Which one of the following process scheduling algorithms would minimize the average waiting time in the ready queue?
Consider an arbitrary set of CPU – bound processes with unequal CPU burst lengths submitted at the same time to a computer system. Which one of the following process scheduling algorithms would minimize the average waiting time in the ready queue?