5.operating System
5.operating System
3
Common Operating System
4
Functions of Operating System
Process management :
◦ A process is basically a program in execution.
The operating system decides which process
gets to run, for how long and perhaps at what
priority or level of importance.
Memory management:
◦ Operating system is responsible for keeping
track of which parts of the memory are currently
being used and by whom.
5
Functions of Operating System
Device management :
– The operating system allocates the various devices to
the processes and initiates the I/O operation. It also
controls and schedules accesses to the input/output
devices among the processes.
File management:
– File is a collection of records that are stored on
secondary storage device.
– Operating System allows users and programs to
create, delete, modify, open, close, and apply other
operations to various types of files. It also keeps track
of every file in the system. 6
Types of Operating System
1. Batch OS: In this type of system, there is no
direct interaction between user and the computer.
The user has to create and submit a job (written
on cards or tape) to a computer operator.
Jobs are batched together by type of languages
and requirement.
Then a special program, the monitor, manages the
execution of each program in the batch.
Also called as non-interactive Operating systems.
7
Types of Operating System
2. Multiprogramming OS: In this , one job from
memory is picked and executed.
Once this job needs an I/O operation, operating
system switches to another job.
3. Multitasking/ Time Sharing OS: These are
very similar to Multiprogramming batch systems.
In time sharing systems the prime focus is on
minimizing the response time by sharing the CPU
time among all the processes.
8
Types of Operating System
4. Real Time OS: Real-time systems are used
when there are rigid time requirements on the
operation of a processor.
A real-time operating system must have well-
defined, fixed time constraints, otherwise the
system will fail.
5. Multi user OS: These operating systems are
used in computers that supports multiple users
simultaneously.
Mainly used in servers. 9
Comparison among DOS, Windows, Linux,
and Android Operating systems
DOS Windows Linux Android
Available free of cost. Must be purchased Available free of cost. Available free of cost.
10