The purpose of multi-programming is to maximize the CPU utilization through some process running at all times in the CPU. Processes change its state during the time of its execution that may be in one ...
This article was contributed by Preeti U Murthy. The scheduler is an essential part of an operating system, tasked with, among other things, ensuring that processes get their fair share of CPU time.