In this article, we will discuss the functions of the operating system and how it performs its tasks and manages the computer system for users.
Here are some basic functions of the operating system.
Process Management
Process Management is the time when any program or any task given to the CPU is in its execution time period. The operating system manages all the program execution or process management.
Whenever there is a multi-tasking when two or more than two process wants to access at the same time the CPU uses the Structural algorithm for process execution. And operating system decides which process is first to give to the CPU for its execution.
Have you seen in Task Manager of your computer(Press Ctrl + Alt + Delete) you will see the task manager shows the applications and processes running on your PC and all these processes are managed by OS.
File Management
File Management is an important task of the operating system. When you create a folder and save files, images, videos, etc All of these tasks are performed by the operating system and it’s the duty of an operating system to manage it.
Memory Management
Memory Management concerns (RAM). Whenever you want to execute any program or process it is allocated to the main memory and then its process starts. Therefore there is some memory space in the Main Memory (RAM), and the size of the main memory is limited and very small, so whenever there is multi-tasking then it’s the duty of the OS to process which task should be performed first to main memory.
Operating System allocates the main memory and de-allocates the memory from the process.
Resource Allocations
The term Resource allocation means the operating system uses different resources (like I/O devices, Memory, CPU, etc.) to process.
Every resource has a task that is allocated to it by the operating system.
When there is a multi-tasking of programs then it’s the duty of the operating system to allocate the correct resource to the different task which is to be processed.
All this process goes through different types of algorithms such as CPU Scheduling, Process Scheduling, Disk Scheduling, etc.
Program Execution
Program Execution is an environment where users run different tasks and applications (Powerpoint, Notepad, Video, Audio, etc.) are executed by the operating system.
With the help of the operating system, users are able to perform their tasks.
Input/Output Management
Input/Output management is the task performed by the operating system in which the operating system manages all the tasks like printing, scanning, keyboard, mouse, and all other devices connected to the operating system.
Secondary Storage Management
Secondary Storage like hard disk, tapes, etc is managed by the operating system which is connected by primary storage and is accessed by it and uses this memory to perform a given task. The operating system uses Secondary memory to run applications and tasks given to it. The operating system uses secondary memory and manages to store permanent data.
Error Detection
Error Detection is a part of the operating system in which the operating system detects the bad sector like the bad working of hard disk and input-output devices.
Also, the operating system detects the bad sector takes necessary action, and notifies the user that this device or software is not performing well or is damaged.
You have seen in your computers when there come notifications from an operating system that the window is not genuine, the hard disk is not detected, and many other notifications are performed by the operating system.
Providing Security
Operating System Provides security to Users like Password Protection and you can also give a password to your BIOS and many other security features like Firewall, Bit locker, etc.
You can also see these topics:-
Functions of the Operating System?