Operating Systems·CPU Scheduling·FoundationWhy does a CPU need a scheduler?A single-core machine has five programs open at once.What is the scheduler doing?ARunning all five at the same time across the coreBAllocating memory to each programCDeciding which programs are allowed to startDDeciding which one gets the CPU next, and for how longCheck answer