Operating systems work in the same way our mind does. In fact, it would not be wrong to say that I.T. is highly inspired by the human Mind. let’s take an example of Multiprogramming. we call our CPU a multi-programmer, just like our mind. It is the ability of an operating system that executes more than one program using a single processor machine.

That is exactly how we use our Brains. We can do various tasks at the same time like doing press While watching the movie. Right?

Here is a twist in the internal working. If you closely observe our mind working, we will see that basically, our mind does only one job at a time. It only keeps switching between its assigned job. But, how?

See the least quantum of time a human mind can observe is one second. Our mind switches between its job in seconds. Hence, one second you are doing press, and the other second you are watching a movie. This switching of jobs is so minute and normal that you will agree with this fact but you haven’t noticed it before.

If you are still not agreeing with this fact, then imagine that scene in front of your eyes. When you are doing press you will be properly concentrating on your movement of hands and press and at that time your ears are just listening to the audio but not decoding it properly. The Same is with watching a movie, when you are concentrating on the movie at that time your hands and press also on the rest.

Now this is the case with our operating system. It handles various tasks or jobs with his technique. This is known as job scheduling. This switching is performed in nanoseconds. One second is equal to one thousand-millionth of a second. So there is switching between jobs but it is so fast that our mind cannot observe it. That’s what we call our operating system multiprogramming. 

It is just like working on a Word editor while playing audio files on our computer. Meanwhile your system is downloading a file. By this multiprogramming feature, you are achieving these tasks being performed at the same time.