UNIT3OS
UNIT3OS
Functions
Dr. M.S.CHAHAR
Astt. Professor
RBSMTC, Agra
What is Operating System
operating system is the set of programs that controls a
computer.
It provide a pleasant and effective interface between the
user and the hardware
Makes the computer more convenient to use
Operating System is a software, which makes a
computer to actually work.
Process Management
Memory Management
File Management
Security management
Command Interpreter
1.Process management
Process management OS
manages many kinds of
activities :-
All process from start to shut down
Creation and deletion of user and
system processes.
2. Memory Management
By security management OS
manages many tasks such
as:-
Alert messages
Dialogue boxes
Firewall
Passwords
5.Command Interpreter
A command interpreter is an
interface between system
and the user. There are two
types of user interface:-
Command line
Graphical user interface
Contd……
With a command line user interface
the user interact with the OS by typing
command to perform specific tasks
(Contd…)
Structure of Operating System
(Contd…):
3. System programs
This layer consists of compilers,
Assemblers, linker etc.
4. Application programs
This is dependent on users need. Ex.
Railway reservation system, Bank
database management etc.,
Evolution of OS:
The evolution of operating systems went through
seven major phases.
(Contd…)
Evolution of OS (contd..):
Timesharing Simultaneous user
interaction,
Multics file system
(1965),
On-line file systems Unix (1974)
User
progra
m area
Multiprogramming:
Multiprogramming is a technique to execute
number of programs simultaneously by a single
processor.
In Multiprogramming, number of processes
reside in main memory at a time.
The OS picks and begins to executes one of the
jobs in the main memory.
If any I/O wait happened in a process, then CPU
switches from that job to another job.
Hence CPU in not idle at any time.
Multiprogramming (Contd…):
OS •Figure dipicts the layout of
multiprogramming system.
Job 1
• The main memory consists
Job 2 of 5 jobs at a time, the CPU
executes one by one.
Job 3 Advantages:
Job 4 •Efficient memory utilization
•Throughput increases
Job 5
•CPU is never idle, so
performance increases.
Time Sharing Systems:
Time sharing, or multitasking, is a logical
extension of multiprogramming.
Multiple jobs are executed by switching the CPU
between them.
In this, the CPU time is shared by different
processes, so it is called as “Time sharing
Systems”.
Time slice is defined by the OS, for sharing CPU
time between processes.
Examples: Multics, Unix, etc.,
Operating Systems functions:
The main functions of operating systems are:
1. Program creation
2. Program execution
3. Input/Output operations
4. Error detection
5. Resource allocation
6. Accounting
7. protection
Types of OS: