Functions of Operating System

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

FUNCTIONS OF OPERATING SYSTEM

www.youtube.com

An operating system is a program on which application programs are


executed and acts as an communication bridge (interface) between the user
and the computer hardware.

The main task an operating system carries out is the allocation of resources
and services, such as allocation of: memory, devices, processors and
information. The operating system also includes programs to manage these
resources, such as a traffic controller, a scheduler, memory management
module, I/O programs, and a file system.

Operating system performs the following function.

1. SECURITY
The operating system uses password protection to protect user data and similar other
techniques. it also prevents unauthorized access to programs and user data.

2. Control over system performance –


Monitors overall system health to help improve performance. records the response time
between service requests and system response to have a complete view of the system health.
This can help improve performance by providing important information needed to
troubleshoot problems.

3. JOB ACCOUNTING
Operating system Keeps track of time and resources used by various tasks and users, this
information can be used to track resource usage for a particular user or group of user
4. Error detecting aids
Operating system constantly monitors the system to detect errors and avoid the
malfunctioning of computer system.

5. Coordination between other software and users


Operating systems alo coordinate and assign interpreters, compilers, assemblers and other
software to the various users of the computer systems.

6. Memory Management
The operating system manages the Primary Memory or Main Memory. Main memory is
made up of a large array of bytes or words where each byte or word is assigned a certain
address. Main memory is a fast storage and it can be accessed directly by the CPU. For a
program to be executed, it should be first loaded in the main memory. An Operating
System performs the following activities for memory management:
It keeps tracks of primary memory, i.e., which bytes of memory are used by which user
program. The memory addresses that have already been allocated and the memory
addresses of the memory that has not yet been used. In multi programming, the OS decides
the order in which process are granted access to memory, and for how long. It Allocates the
memory to a process when the process requests it and deallocates the memory when the
process has terminated or is performing an I/O operation.

7. Processor Management
In a multi programming environment, the OS decides the order in which processes have
access to the processor, and how much processing time each process has. This function of
OS is called process scheduling. An Operating System performs the following activities for
processor management.

Keeps tracks of the status of processes. The program which perform this task is known as
traffic controller. Allocates the CPU that is processor to a process. De-allocates processor
when a process is no more required

8. Device Management
An OS manages device communication via their respective drivers. It performs the
following activities for device management. Keeps tracks of all devices connected to system.
designates a program responsible for every device known as the Input/Output

controller.Decides which process gets access to a certain device and for how long. Allocates
devices in an effective and efficient way. Deallocates devices when they are no longer
required.

9. FILE MANAGEMENT
A file system is organized into directories for efficient or easy navigation and usage. These
directories may contain other directories and other files. An Operating System carries out
the following file management activities. It keeps track of where information is stored, user
access settings and status of every file and more… These facilities are collectively known as
the file system.

10. Loading and Execution


A program is loaded in the memory before it can be executed. Operating system provides
the facility to load pro 

11. Data security


Data is an important part of computer system. The operating system protects the data
stored on the computer from illegal use, modification or deletion.

12. . Disk Management

Operating system manages the disk space. It manages the stored files and folders in a
proper way.

grams in memory easily and then execute it.

13. Printing controlling


Operating system also controls printing function. It a user issues two print commands at a time, it
does not mix data of these files and prints them separately.
14. Providing interface
It is used in order that user interface acts with a computer mutually. User interface controls
how you input data and instruction and how information is displayed on screen. The operating
system offers two types of the interface to the user:

1. Graphical-line interface: It interacts with of visual environment to communicate with the


computer. It uses windows, icons, menus and other graphical objects to issues commands.

2. Command-line interface: it provides an interface to communicate with the computer by


typing commands

You might also like