Multi-Programmed System:
![]() |
| Multi-Programmed System |
Multi-Programmed System:
Multi-programming is achieved when more than one programs can run simultaneously with each other in which one could be seen on screen but the other processes will be running in the background.
A group of job that are ready to be executed is called job pool. Since there is more than one job that can be executed, it is possible for operating system to make decision about which job to execute next. That decision Keeps CPU utilization as high as possible.
In multiprogramming system, when one program is waiting for I/O transfer; there is another program ready to utilize the CPU. So it is possible for several jobs to share the time of the CPU. But it is important to note that multiprogramming is not defined to be the execution of jobs at the same instance of time.
Rather it does mean that there are a number of jobs available to the CPU (placed in main memory) and a portion of one is executed then a segment of another and so on. A simple process of multiprogramming is shown in figure.

Comments
Post a Comment