Types of Operating Systems
For Complete YouTube Video: Click Here
In this class, we will try to understand the Types of Operating Systems.
In our previous class, we have already discussed what a process in operating systems means.
Table of Contents
Types of Operating Systems
There are different types of operating systems.
- Batch Operating Systems
- Multiprogramming Operating Systems
- Multiprocessing Operating Systems
Batch Operating Systems
Batch operating systems are old operating systems.
In Batch operating systems, programs are executed by an operator.
The programmer who wants to execute a program will provide the program to the computer operator.
Now the operator will group similar type programs into batches, and Batch by Batch, the operator will execute the programs.
For example, consider the following image for better understanding.
In the above image, the programmers provided five programs to the computer operator.
The operator will now group similar programs into batches.
The batches are made for the efficient utilization of computer resources.
The above image shows P1 and P3 in Batch B1 and P2, P4, and P5 in another batch.
First, P1 gets executed; after that, P3 will get executed.
In a batch operating system, once the program is assigned to the computer, the remaining programs have to wait for the process to complete its execution.
Multiprogramming Operating Systems
The name states multiprogramming, meaning multiple programs will get executed simultaneously.
To understand multiprogramming, we will consider a real-world example.
For example, consider a computer where the user writes a letter on a word document, listens to music, and downloads a movie.
In the above scenario, three programs are getting executed simultaneously.
Multiprocessing Operating Systems
In multiprocessing operating systems, we have multiple processors.
In multiprocessing, a program may get executed on multiple processors, or multiple programs are executed on multiple processors.
The operating systems which facilitate the processing environment are called multiprocessing operating systems.