What is Scheduling in Operating System (OS)

Introduction to Scheduling: In an Operating system (OS) multiple processes are running at a time. One process may have multiple threads in it also. For example, the MS Word program has multiple threads in it, one thread for checking grammar, one thread for counting words etc. All the processes and threads in OS are managed by the OS. The OS have to assign time for running these processes [...]