First-Come, First-Served Scheduling (FCFS):
Simplest CPU-scheduling algorithm
Process that requests the CPU first is allocated the CPU first
Average waiting time under the FCFS policy is often quite long
Shortest-Job-First (SJF) Scheduling:
Associate with each process the length of its next CPU burst
Two schemes: nonpreemptive and preemptive
SJF is optimal and gives minimum average waiting time for a given set of processes