Program for fcfs scheduling in java

broken image
broken image

broken image

Completion Time: It is the point of time at which the process completes its execution.Burst/Execution Time: It is the time duration for which the process gets executed by the CPU and remains in the running state.Arrival Time: It is the point of time at which the process arrives in the main memory (ready queue).Some Important terms related to CPU scheduling This CPU scheduler selects a process among the processes maintained in the ready queue (main memory) and assigns it to the CPU based on the chosen set of criteria for its execution. The process of CPU scheduling forms the basis of Multiprogrammed operating systems.ĬPU scheduling is done by the Operating System with the help of short-term scheduler ( CPU scheduler). Scheduling (CPU scheduling) is the process of assigning different jobs or processes to the CPU to make the system more efficient, productive, fast, and fair.

broken image