Uniprogramming vs Multiprogramming
What is uniprogramming?
Uniprogamming implies that only a single task or program is in the main memory at a particular time. It was more common in the initial computers and mobiles where one can run only a single application at a time.
Characteristics of Uniprogramming:
- It allows only one program to sit in the memory at one time.
- The size is small as only one program is present.
- The resources are allocated to the program that is in the memory at that time.
What is Multiprogramming?
Multiprogramming is where several programs can be run at the same time. The programs reside in the main memory or the RAM of the system at a time, and the operating system that handles multiple programs is known as a multiprogramming operating system.
Characteristics of Multiprogramming:
- The memory can hold several programs at a time.
- The resources are allocated to different programs.
- The size of the memory is larger as compared to uniprogramming.
Uniprogramming vs Multiprogramming
UniProgramming | MultiProgramming |
| 1. But for multiprogramming, the processor needs to be faster. |
| 2. In multiprogramming, the main memory needs more space.
|
| 3. Both fixed and variable size partitions can be used in multiprogramming. |
The operating system in old mobile phones, batch processing in old computers, etc. | 4. Some examples of multiprogramming are: The operating systems that are used in modern computers like Windows 10, etc. |
References: