Sunday 16 October 2011

Multiprogramming-Execution of two or more programs

Multiprogramming
Multi means many and programming means programs. Therefore Multiprogramming means many programs at a time. Today’s operating system has ability of multiprogramming. Multiprogramming is the interleaved or concurrent execution of two or more programs. The operating system selects a job from job pool and start executing a job, when that job needs to wait for any I/O operations the CPU is switched to another job and control is transfer to another job. Its main advantage is CPU is utilized completely and never remains idle. It was commonly used to keep the CPU busy. Suppose I am typing some in Microsoft Word and also listening music and my anti-virus also scanning my computer, so these all programs are going on simultaneously .Operating system divides time for these programs according to their priorities. When the chance of running of that program comes, it will run up to its given time and after the time is over, next program will run and so on. This process is so much fast that it appears programs are running simultaneously. Windows XP, LINUX are the most recent multiprogramming Operating system.


No comments:

Post a Comment