Operating system has to select one of the processes from the ready queue to execute them whenever CPU becomes idle. For selecting a process from ready queue operating system uses CPU scheduler. A ready queue can be based on any algorithm such as FIFO, Priority queue, or simply an unordered linked list.
A process alternate between CPU burst and I/O burst. Actually, a process starts with a CPU burst followed by an I/O burst then another CPU burst and so on. This whole process is known as CPU-I/O burst cycle. The last CPU burst does not end with a I/O burst but it end with system request. load store data, add store data, read from file, store increment, write to file, delete data from a file, add increment, and other operations like these are known as CPU burst.
I/O burst contains any input and output. The whole process as from the beginning of a CPU burst and ending with the system request to close execution is known as CPU-I/O burst cycle. Many short CPU burst, an I/O bound program might have. Similarly, few long CPU burst, a CPU bound program might have.
A process alternate between CPU burst and I/O burst. Actually, a process starts with a CPU burst followed by an I/O burst then another CPU burst and so on. This whole process is known as CPU-I/O burst cycle. The last CPU burst does not end with a I/O burst but it end with system request. load store data, add store data, read from file, store increment, write to file, delete data from a file, add increment, and other operations like these are known as CPU burst.
I/O burst contains any input and output. The whole process as from the beginning of a CPU burst and ending with the system request to close execution is known as CPU-I/O burst cycle. Many short CPU burst, an I/O bound program might have. Similarly, few long CPU burst, a CPU bound program might have.