0% found this document useful (0 votes)
10 views5 pages

Unit 1 Operating System Services

Uploaded by

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

Unit 1 Operating System Services

Uploaded by

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

OPERATING SYSTEM SERVICES

• An operating system is software that acts as an intermediary between the user and computer
hardware. It is a program with the help of which we are able to run various applications. It is
the one program that is running all the time. Every computer must have an operating system
to smoothly execute other programs.
• The OS coordinates the use of the hardware and application programs for various users. It
provides a platform for other application programs to work. The operating system is a set of
special programs that run on a computer system that allows it to work properly. It controls
input-output devices, execution of programs, managing files, etc.
User and other system programs

GUI Command Line


User Interfaces

System Calls
I/O Oper Protecti
Execution File Resource Accounti
Communication on &
Program Error System Allocation ng Security
Detectio
n Services
Operating System
Hardware
OPERATING SYSTEM SERVICES

Services of Operating System


Program execution
• It is the Operating System that manages how a program is going to be executed.
• It loads the program into the memory after which it is executed.
• The order in which they are executed depends on the CPU Scheduling Algorithms. A few
are FCFS,SJF, etc.
• When the program is in execution, the Operating System also handles deadlock i.e. no two
processes come for execution at the same time.
• The Operating System is responsible for the smooth execution of both user and system
programs.
• The Operating System utilizes various resources available for the efficient running of all types
of functionalities.

Input Output Operations


• Operating System manages the input-output operations and establishes communication
between the user and device drivers.

• Device drivers are software that is associated with hardware that is being managed by the OS
so that the sync between the devices works properly.

• It also provides access to input-output devices to a program when needed.


OPERATING SYSTEM SERVICES

Services of Operating System


File System
• The OS is in charge of deciding where data or files should be stored, such as on a floppy disk,
hard disk, or pen drive. The operating system determines how data should be stored and
handled.
Communications :
• There are many circumstances in which one process needs to exchange information with
another process. Such communication may occur between processes that are executing on the
same computer or between processes that are executing on different computer systems tied
together by a network.
• Communications may be implemented via shared memory, in which two or more processes
read and write to a shared section of memory, or message passing, in which packets of
information in predefined formats are moved between processes by the operating system
Error Detection
• The operating system needs to be detecting and correcting errors constantly. Errors may occur
in the CPU and memory hardware (such as a memory error or a power failure), in I/O devices
(such as a parity error on disk, a connection failure on a network, or lack of paper in the
printer), and in the user program (such as an arithmetic overflow or an attempt to access an
illegal memory location).
OPERATING SYSTEM SERVICES

Services of Operating System


File System
• The OS is in charge of deciding where data or files should be stored, such as on a floppy disk,
hard disk, or pen drive. The operating system determines how data should be stored and
handled.
Communications :
• There are many circumstances in which one process needs to exchange information with
another process. Such communication may occur between processes that are executing on the
same computer or between processes that are executing on different computer systems tied
together by a network.
• Communications may be implemented via shared memory, in which two or more processes
read and write to a shared section of memory, or message passing, in which packets of
information in predefined formats are moved between processes by the operating system
Error Detection
• The operating system needs to be detecting and correcting errors constantly. Errors may occur
in the CPU and memory hardware (such as a memory error or a power failure), in I/O devices
(such as a parity error on disk, a connection failure on a network, or lack of paper in the
printer), and in the user program (such as an arithmetic overflow or an attempt to access an
illegal memory location).
OPERATING SYSTEM SERVICES

Services of Operating System

Resource Allocation:
• The operating system guarantees that all available resources are properly utilized by
determining which resource should be used by whom and for how long. The operating
system makes all of the choices.

Accounting
• The operating system keeps track of all the functions that are active in the computer system
at any one time. The operating system keeps track of all the facts, including the types of
mistakes that happened.

Protection and Security :


• The operating system is in charge of making the most secure use of all the data and
resources available on the machine. Any attempt by an external resource to obstruct data or
information must be foiled by the operating system.

You might also like