0% found this document useful (0 votes)
291 views3 pages

Codehelp: Lec-2: Types of Os

This document discusses different types of operating systems and their key characteristics. It describes single process OS, batch processing OS, multiprogramming OS, multitasking OS, multi-processing OS, distributed OS, and real-time OS. Single process OS can only run one process at a time. Batch processing OS runs jobs in batches but does not support priorities. Multiprogramming OS improves CPU utilization through context switching. Multitasking further reduces idle time. Multi-processing uses multiple CPUs. Distributed OS manages resources across networked nodes. Real-time OS ensures computations meet tight deadlines.

Uploaded by

Md Aman Ata
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
291 views3 pages

Codehelp: Lec-2: Types of Os

This document discusses different types of operating systems and their key characteristics. It describes single process OS, batch processing OS, multiprogramming OS, multitasking OS, multi-processing OS, distributed OS, and real-time OS. Single process OS can only run one process at a time. Batch processing OS runs jobs in batches but does not support priorities. Multiprogramming OS improves CPU utilization through context switching. Multitasking further reduces idle time. Multi-processing uses multiple CPUs. Distributed OS manages resources across networked nodes. Real-time OS ensures computations meet tight deadlines.

Uploaded by

Md Aman Ata
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

LEC-2: Types of OS

OS goals –

• Maximum CPU utilization

• Less process starvation

• Higher priority job execution

Types of operating systems –


- Single process operating system [MS DOS, 1981]

p
- Batch-processing operating system [ATLAS, Manchester Univ., late 1950s – early 1960s]
- Multiprogramming operating system [THE, Dijkstra, early 1960s]
- Multitasking operating system [CTSS, MIT, early 1960s]
- Multi-processing operating system [Windows NT]

el
- Distributed system [LOCUS]
- Real time OS [ATCS]
eH
od
C
Single process OS, only 1 process executes at a time from the ready queue. [Oldest]

Batch-processing OS,
1. Firstly, user prepares his job using punch cards.
2. Then, he submits the job to the computer operator.
3. Operator collects the jobs from different users and sort the jobs into batches with
similar needs.
4. Then, operator submits the batches to the processor one by one.
5. All the jobs of one batch are executed together.

- Priorities cannot be set, if a job comes with some higher priority.


- May lead to starvation. (A batch may take more time to complete)
- CPU may become idle in case of I/O operations.

p
el
eH
Multiprogramming increases CPU utilization by keeping multiple jobs (code and data)
in the memory so that the CPU always has one to execute in case some job gets busy with
I/O.
- Single CPU
- Context switching for processes.
- Switch happens when current process goes to wait state.
- CPU idle time reduced.

Multitasking is a logical extension of


od

multiprogramming.
- Single CPU
- Able to run more than one task
simultaneously.
- Context switching and time sharing used.
- Increases responsiveness.
- CPU idle time is further reduced.

Multi-processing OS, more than 1 CPU in a single computer.


C

- Increases reliability, 1 CPU fails, other


can work
- Better throughput.
- Lesser process starvation, (if 1 CPU is
working on some process, other can be
executed on other CPU.
Distributed OS,
- OS manages many bunches of resources,
>=1 CPUs, >=1 memory, >=1 GPUs, etc
- Loosely connected autonomous,
interconnected computer nodes.
- collection of independent, networked,
communicating, and physically separate
computational nodes.
RTOS
- Real time error free, computations
within tight-time boundaries.
- Air Traffic control system, ROBOTS etc.

p
el
eH
od
C

You might also like