×

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

Operating System Properties

The Properties of Operating System are: Batch processingMultitaskingMulti-programmingInteractivityReal-Time SystemDistributed Environmentspooling 1. Batch Processing In Batch Processing, the OS first gathers the data and programs together in a batch, then processing starts. The operating system...

3 minutes read.

Components of Operating System

Components of Operating System: An operating system is a complex and vast system. We can only create the operating system by dividing it into small parts. Each part must be...

5 minutes read.

Starvation in Operating System

Starvation is one of the major problems occurring when resource management is not done properly. This problem arises in the operating system when the resources are not being allocated for...

4 minutes read.

Memory Management in Operating System

The term "Main Memory" refers to the computer's internal physical memory. It is distinguished from external mass storage devices like disk drives by using the term "main." RAM is another...

4 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.

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.

Segmentation in Operating System

The term segmentation in operating system refers to the division of computer memory into segments. Segmentation is a technique used by many modern operating systems to provide better memory management....

4 minutes read.

Non-Contiguous Memory Allocation in Operating System

Memory is nothing but a storage space where various data are stored. We can store data in temporary and permanent memory as per our future requirements for data. We can...

9 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.

FCFS Scheduling in OS

FCFS: First Come First Serve Scheduling in OS FCFS is a non-preemptive and preemptive scheduling algorithm that is easy to understand and use. In this, the process which reaches first is...

3 minutes read.

Round-Robin Scheduling Algorithm in OS

Round-Robin is a Preemptive Scheduling Algorithm and is the most commonly used algorithm in CPU Scheduling.In this, each Process is assigned with a fix time interval to execute, which is...

5 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.

Difference between C-LOOK and C-SCAN Disk Scheduling Algorithm

Disk scheduling is used by operating systems to arrange the arrival of I/O requests to the disc. I/O scheduling is another name for disc scheduling. Disk scheduling is necessary because...

4 minutes read.

Difference between Rotational Latency and Disk Assess Time in Disk Scheduling

Disk scheduling is used by operating systems to arrange the arrival of I/O requests to the disc. Disk scheduling is necessary because several I/O requests may occur from various processes,...

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.

MS-DOS Operating System

It is also referred to occasionally as "DOS", an abbreviation for disc operating systems. Operating systems with a graphical user interface (GUI) in different iterations of the graphical Microsoft Windows...

5 minutes read.

Booting Process in Operating System

What is Booting? Booting is defined as the term which says that the process of loading the operating system into the memory. The process of booting begins when we switch on...

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.

Process Scheduling in Operating System

Process Scheduling is an essential component of a Multiprogramming Operating System. So now let’s understand how it works by taking a real-life example. Suppose that you want to call someone...

6 minutes read.

Difference between C-SCAN and SSTF Disk Scheduling Algorithm

C-SCAN / Circular Elevator The circular SCAN (C-SCAN) scheduling method is a modified version of the SCAN disc scheduling technique that addresses the SCAN algorithm's inefficiency by more equitably serving requests....

3 minutes read.