In this article, we will discuss the functions of the operating system that how it performs its task and manages the computer system for users.
Here are some basic functions of the operating system.
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 that which process is first to give to 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 process running in your pc and all this process is managed by OS?
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 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 OS to process which task should perform first to main memory.
Operating System allocates the main memory and de-allocates the memory from the process.
The term Resource allocation means the operating system uses different resources (like I/O devices, Memory, Cpu, etc.) to process.
Every Resouce 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.
And all this process goes through different types of the algorithm such as CPU Scheduling, Process Scheduling, Disk Scheduling, etc.
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 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. Operating System uses Secondary memory to perform to run applications and tasks given to it. The operating system uses secondary memory and manages to store permanent data.
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 and 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 window is not genuine, hard disk is not detected, and many other notifications, this is performed by the operating system.
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 and etc.
You can also read this: