×

Functions of Operating System

The functions of Operating System are:

  1. Process Management
  2. Memory Management
  3. File Management
  4. Device Management
  5. Secondary storage Management
  6. Security
  7. Coordination between other software and users
  8. Networking
  9. Job Accounting
  10. Error detecting aids
Functions of the Operating System

1. Process Management

Process Management support operating system to create and delete processes. Process management also offers a mechanism for synchronization and communication among processes.

An operating system performs the following activities for process management:

  • The operating system maintains the track of the processor and the status of a process. The software which performs this task is referred to as a traffic controller.
  • It assigns the processor to the process.
  • It also performs the task of the de-allocated processor, if a process is no longer needed for the processor.

2. Memory Management

Memory Management is used to manage Primary memory as well as secondary memory. The memory management module performs the allocation job and de-allocation of memory to the program.

The operating system performs various activities for memory management are:

  • It keeps track of memory means which part of the memory is in use, and what part of the memory is not in use.
  • Operating system helps to allocate the memory at the time when the process request for memory.
  • If process no longer needs memory, then de-allocates the memory.
  • In multiprogramming, the task of memory allocation to the processes is done with the help of Operating System.

3. File Management

For fast or simple navigation and easy usage file system is organized into directories. These directories consist of directories and other files. It helps to handle all the file-related tasks like organization storage, retrieval, sharing, naming and files protection. It preserves track of information, location, status, user, etc.

4. Device Management

Operating System performs the task of allocations and de-allocations of the devices. It helps to keeps the track of all the devices. With the help of Operating system, device communication via their respective drivers is performed. It manages the device in an effective manner.

5. Secondary Storage Management

Operating System is responsible for secondary storage management. The System has various levels of storage that consist of primary storage, secondary storage, and cache storage. The set of instruction and data are stored in primary memory or cache memory so that the program which is running can reference it.

6. Security

The Operating system is responsible for security means the operating system prevents the data and information from unauthorized access and threats.

7. Coordination between other software and user

The operating system also performs the task of coordination between other software and users. OS directs as well as allocates assemblers, interpreters, compilers, and other software to different computer system users.

8. Networking

A distributed system means a bunch of processors which do not share memory hardware devices and clock. With the help of the network, the processor communicates with each other.

9. Job accounting

Operating system performs the function of job accounting by keeping the track of time and resource used by several jobs and users.

10. Error detecting aids

The operating system also performs the task of error detection. It continuously monitors the system to find or detect errors and prevents the system from the error.

 


Related Topics

File Allocation Methods in Operating System

A file allocation method is a way that an operating system stores and retrieves files on a storage device, such as a hard drive or SSD. The file allocation method...

4 minutes read.

Disk Scheduling Algorithms

Disk Scheduling Algorithms Disk scheduling algorithms are the algorithms that are used for scheduling a disk. Generally, the scheduling refers to a time-table for completing any task or a job. With the help...

2 minutes read.

Virtual Memory in Operating System

What is Virtual Memory Virtual Memory is a storage scheme in which the users have an illusion that users have a significant amount of Main Memory. We can perform this by taking a...

3 minutes read.

Process Management in OS

A Program will not do anything unless a CPU executes its instructions. An executing program is called a process. The Process requires computer resources to complete its task. More than...

3 minutes read.

Android Operating System

What is Android Operating System? Android is a Linux-based and open-source operating system mainly established for mobile devices like tablet computers and Smartphones. The Android operating system was established by the...

5 minutes read.

Strategies for Handling Deadlock

Strategies for Handling Deadlock The Strategies for handling Deadlock are: Deadlock IgnoranceDeadlock PreventionDeadlock AvoidanceDeadlock Detection and Recovery Deadlock Ignorance Deadlock Ignorance is the most popular deadlock handling strategy. We can use this in the various operating systems for...

2 minutes read.

Why is it critical for the Scheduler to distinguish between I/O-bound and CPU-bound programs

A CPU-bound process is one that spends most of its time executing instructions on the processor. A process that is I/O-bound spends most of its time waiting for input and...

2 minutes read.

N-Step-SCAN Disk Scheduling

Before you study about N-Step-SCAN Disk Scheduling, it requires prerequisite of what is Disk Scheduling Algorithms: Operating systems use disc scheduling to schedule I/O requests that arrive at the disc....

4 minutes read.

Process Synchronization | Operating System

Process Synchronization Process Synchronization means managing the process in such a manner so that no two processes have access to share similar data and resources. We can use Process Synchronization in a Multi-Process System...

4 minutes read.

HRRN Scheduling in OS

Highest Response Ratio Next (HRRN) Scheduling in OS Highest Response Ratio Next Scheduling is a Non-Preemptive Scheduling algorithm. This algorithm provides the benefits of the shortest job first scheduling algorithm and also removes...

6 minutes read.

Resource Allocation Graph in Operating System

Resource Allocation Graph in OS We use the resource allocation graph for the pictographic representation of the state of a system. The resource allocation graph contains all the information related to the processes that...

5 minutes read.

Single-User Operating System

An operating system designed and intended to be used on a computer or device with a single user at a time is known as a single-user operating system. Devices like...

8 minutes read.

Difference between Process and Program in the Operating System

What is a process in the Operating System? A process is a program that is going through the execution. It also helps us to execute all the lines of code in...

4 minutes read.

Distributed Shared Memory

Distributed Shared Memory is a process of managing memory over more than one node and makes inter-process communication which transfers to end users. It is a mechanism that allows user...

2 minutes read.

Paging and Segmentation in OS

What is Paging in OS? Paging is a storage technique used for memory management. In paging, the (OS) Operating System retrieves the processes from the secondary memory into the main memory,...

6 minutes read.

CPU Scheduling in OS

What is Scheduling? Scheduling is the process that is used to share the computing resources such as memory, processor time, and bandwidth to the different processes, data flows, threads, and applications that need...

5 minutes read.

Contiguous Memory Allocation in Operating System

Memory is a place where data, facts, figures, and information are stored for temporary or permanent access the data in future, which is also considered as the storage place. Allocation of...

4 minutes read.

Directory Structure in Operating System

Directory Structure in Operating System What is a Directory A Directory is the collection of the correlated files on the disk. In simple words, a directory is like a container which contains...

8 minutes read.

Partitioning Algorithms

Partitioning Algorithms There are various types of Partitioning Algorithm: First-Fit AlgorithmNext-Fit AlgorithmBest-Fit AlgorithmWorst-Fit AlgorithmQuick-Fit Algorithm 1. First-Fit Algorithm: - In the First-Fit Partitioning algorithm, first, the linked list is scan, and when it...

3 minutes read.

Can a Computer Run Without the Operating System

Computers may function right out of the box, mostly due to operating systems. Nowadays, there are probably already some pre-installed apps in a new computer when you buy one. Have...

9 minutes read.