2.types of OS - Javatpoint
2.types of OS - Javatpoint
There are many types of operating system exists in the current scenario:
In Batch operating system, access is given to more than one person; they submit their
respective jobs to the system for the execution.
The system put all of the jobs in a queue on the basis of first come first serve and then
executes the jobs one by one. The users collect their respective output when all the jobs get
executed.
Disadvantages of Batch OS
1. Starvation
Batch processing suffers from starvation. If there are five jobs J1, J2, J3, J4, J4 and J5
present in the batch. If the execution time of J1 is very high then other four jobs will never
be going to get executed or they will have to wait for a very high time. Hence the other
processes get starved.
2. Not Interactive
Batch Processing is not suitable for the jobs which are dependent on the user's input. If a
job requires the input of two numbers from the console then it will never be going to get it
in the batch processing scenario since the user is not present at the time of execution.
In multiprogramming environment, for the time a process does its I/O, The CPU can start
the execution of other processes. Therefore, multiprogramming improves the efficiency of
the system.
The Application of a Real Time system exists in the case of military applications, if you want
to drop a missile then the missile is supposed to be dropped with certain precision.