Q. What are simple batch and multi-programmed batched operating systems? What are differences between simple batch and multi-programmed batched operating systems?
Simple Batch Systems:
Early computers used to take one job at a time, no input in the middle of the process and also no output either. The jobs were prepared commands for the computer to execute on its side and these jobs were generally written on cards, control cards, which the computer used to read through card readers. After processing the job, the computer used to output the data through line-printer machines or tape drives.
So, the simple batch operating systems were designed to speed up the process by grouping jobs which are similar in nature into one job and execute them and then send back output of each jobs to its programmer. So simple batch systems lack the interaction between the programmer and the machine while itโs running or working on a job.
Multi-programmed Batched Systems:
Multi-programmed Batched Systems:
In multi-programmed batched operating systems, the operating system reads jobs from disk drives where a list of jobs are already being stored through card readers. The operating system then pull and store as much job as it can in the memory. Then from the memory, operating system start working on a job. Now, whenever a job reaches a situation where is has to be waiting for one or more tasks to be completed like use of any IO devices, the operating system pulls another job from the memory and starts working on it. Whenever this job also starts waiting, for example it need to use the same IO which is already in use by its previous job, the operating systems pulls another job. This is how, a multi-programmed batched systems harness the power of disk drives and memory.
4 Differences Between Simple Batch & Multi-programmed Batched Systems:
Simple Batched Systems
|
No.
|
Multi-programmed Batched Systems
|
In this system, processes are processed one after another.
|
1
|
In this system, multiple processes can be executed at a time.
|
As one process gets processed at a time, it performs low.
|
2
|
Processes are executed in a parallel fashion, thus it is faster.
|
CPU remains in idle states for long times.
|
3
|
CPU do not need to remain in idle state.
|
Example: CP/M, MS DOS, PC DOS etc.
|
4
|
Example: Windows 95, MaxOS etc.
|
Read More: Briefly describe different types of operating systems.