Operating System
Operating System
Operating System
System
OPERATING SYSTEM
An operating system is a program that acts as an interface
between the user and the computer hardware and
controls the execution of all kinds of programs.
• An Operating System (OS) is system software that manages
computer hardware and software resources and
provides common services for computer programs.
• The operating system is the most important program that
runs on a computer.
• Every general-purpose computer must have an
operating system to run other programs and applications.
• Operating systems perform basic tasks, such
as recognizing input from the keyboard, sending output to
the display screen, keeping track of files and directories on the
disk, and controlling peripheral devices such as disk drives and
printers.
Functions of an operating System
•Memory Management
•Process Management
•I/O Device Management
•File Management
•Security
•Secondary storage Management
•Network Management
•Command Interpretation
• Memory Management
– Memory management refers to management of Primary Memory or
Main Memory. Main memory is a large array of words or bytes
where each word or byte has its own address.
• Processor Management
– In multiprogramming environment, OS decides which process gets
the processor when and how much time. This function is called
process scheduling. Operating System does the following activities
for processor management.
• Device Management
– OS manages device communication via their respective drivers.
Operating System does the following activities for device
management.
• File Management
– A file system is normally organized into directories for easy
navigation and usage. These directories may contain files and
other directions. Operating System does the following activities for
file management.
• Other Important Activities:
– Program execution
– I/O operations
– File System manipulation
– Communication
– Error Detection
– Resource Allocation
– Protection
Program execution: