Components of Operating System
Last Updated :
12 Nov, 2024
An Operating system is an interface between users and the hardware of a computer system. It is a system software that is viewed as an organized collection of software consisting of procedures and functions, providing an environment for the execution of programs. The operating system manages system software and computer hardware resources. It allows computing resources to be used in an efficient way. Programs interact with computer hardware with the help of operating system. A user can interact with the operating system by making system calls or using OS commands.
Important Components of the Operating System
- Process Management
- File Management
- Command Interpreter
- System Calls
- Signals
- Network Management
- Security Management
- I/O Device Management
- Secondary Storage Management
- Main Memory Management
Process Management
A process is a program in execution. It consists of the followings:
- Executable program
- Program data
- Stack and stack pointer
- Program counter and other CPU registersÂ
- Details of opened files
A process can be suspended temporarily and the execution of another process can be taken up. A suspended process can be restarted later. Before suspending a process, its details are saved in a table called the process table so that it can be executed later on. An operating system supports two system calls to manage processes Create and Kill –
- Create a system call used to create a new process.
- Kill system call used to delete an existing process.
Five State Process Model
A process can create a number of child processes. Processes can communicate among themselves either using shared memory or by message-passing techniques. Two processes running on two different computers can communicate by sending messages over a network.
Files Management
Files are used for long-term storage. Files are used for both input and output. Every operating system provides a file management service. This file management service can also be treated as an abstraction as it hides the information about the disks from the user. The operating system also provides a system call for file management. The system call for file management includes:
- File creation
- File deletion
- Read and Write operations
Files are stored in a directory. System calls provide to put a file in a directory or to remove a file from a directory. Files in the system are protected to maintain the privacy of the user. Below shows the Hierarchical File Structure directory.
File Structure Directory
Command Interpreter
There are several ways for users to interface with the operating system. One of the approaches to user interaction with the operating system is through commands. Command interpreter provides a command-line interface. It allows the user to enter a command on the command line prompt (cmd). The command interpreter accepts and executes the commands entered by a user. For example, a shell is a command interpreter under UNIX. The commands to be executed are implemented in two ways:
- The command interpreter itself contains code to be executed.
- The command is implemented through a system file. The necessary system file is loaded into memory and executed.
System Calls
System calls provide an interface to the services made by an operating system. The user interacts with the operating system programs through System calls. These calls are normally made available as library functions in high-level languages such as C, Java, Python etc. It provides a level of abstraction as the user is not aware of the implementation or execution of the call made. Details of the operating system is hidden from the user. Different hardware and software services can be availed through system calls.
System calls are available for the following operations:
Signals
Signals are used in the operating systems to notify a process that a particular event has occurred. Signals are the software or hardware interrupts that suspend the current execution of the task. Signals are also used for inter-process communication. A signal follows the following pattern :
- A signal is generated by the occurrence of a particular event it can be the clicking of the mouse, the execution of the program successfully or an error notifying, etc.
- A generated signal is delivered to a process for further execution.
- Once delivered, the signal must be handled.
- A signal can be synchronous and asynchronous which is handled by a default handler or by the user-defined handler.
The signal causes temporarily suspends the current task it was processing, saves its registers on the stack, and starts running a special signal handling procedure, where the signal is assigned to it.
Network Management
The complexity of networks and services has created modern challenges for IT professionals and users. Network management is a set of processes and procedures that help organizations to optimize their computer networks. Mainly, it ensures that users have the best possible experience while using network applications and services.
Network management is a fundamental concept of computer networks. Network Management Systems is a software application that provides network administrators with information on components in their networks. It ensures the quality of service and availability of network resources. It also examines the operations of a network, reconstructs its network configuration, modifies it for improving performance of tasks.
Security Management
The security mechanisms in an operating system ensure that authorized programs have access to resources, and unauthorized programs have no access to restricted resources. Security management refers to the various processes where the user changes the file, memory, CPU, and other hardware resources that should have authorization from the operating system.Â
I/O Device Management
The I/O device management component is an I/O manager that hides the details of hardware devices and manages the main memory for devices using cache and spooling. This component provides a buffer cache and general device driver code that allows the system to manage the main memory and the hardware devices connected to it. It also provides and manages custom drivers for particular hardware devices.Â
The purpose of the I/O system is to hide the details of hardware devices from the application programmer. An I/O device management component allows highly efficient resource utilization while minimizing errors and making programming easy on the entire range of devices available in their systems.Â
Secondary Storage Management
Broadly, the secondary storage area is any space, where data is stored permanently and the user can retrieve it easily. Your computer’s hard drive is the primary location for your files and programs. Other spaces, such as CD-ROM/DVD drives, flash memory cards, and networked devices, also provide secondary storage for data on the computer. The computer’s main memory (RAM) is a volatile storage device in which all programs reside, it provides only temporary storage space for performing tasks. Secondary storage refers to the media devices other than RAM (e.g. CDs, DVDs, or hard disks) that provide additional space for permanent storing of data and software programs which is also called non-volatile storage.
Main Memory Management
Main memory is a flexible and volatile type of storage device. It is a large sequence of bytes and addresses used to store volatile data. Main memory is also called Random Access Memory (RAM), which is the fastest computer storage available on PCs. It is costly and low in terms of storage as compared to secondary storage devices. Whenever computer programs are executed, it is temporarily stored in the main memory for execution. Later, the user can permanently store the data or program in the secondary storage device.
Conclusion
In Conclusion, the components of an operating system work together to make a computer system function easily. Each component, from process management to security, plays a unique role in handling tasks, managing resources, and ensuring data safety. By coordinating these functions, the operating system provides a stable and efficient environment for users and applications.
Frequently Asked Questions on Components of Operating System – FAQ’s
How does file management contribute to OS functionality?
File management organizes and controls access to files, ensuring data security, efficient storage, and file system hierarchy.
Why is memory management important in an OS?
Memory management controls memory allocation for active processes, protecting data integrity and preventing memory conflicts.
What are system calls, and why are they essential?
System calls allow user programs to access OS services, such as process control and file operations, abstracting complex tasks.
Our GATE 2026 Courses for CSE & DA offer live and recorded lectures from GATE experts, Quizzes, Subject-Wise Mock Tests, PYQs and practice questions, and Full-Length Mock Tests to ensure you’re well-prepared for the toughest questions.
Take the Three 90 Challenge! Complete 90% of the course in 90 days and earn a 90% refund. Stay motivated, track your progress, and make the most of your preparation time. Plus, enjoy exclusive features like:
--> All India Mock Test
--> Live GATE CSE & DA Mentorship Classes
--> Live Doubt Solving Sessions
Join now and stay ahead in your GATE 2026 journey!
Similar Reads
Components of Operating System
An Operating system is an interface between users and the hardware of a computer system. It is a system software that is viewed as an organized collection of software consisting of procedures and functions, providing an environment for the execution of programs. The operating system manages system s
7 min read
Functions of Operating System
An Operating System acts as a communication interface between the user and computer hardware. Its purpose is to provide a platform on which a user can execute programs conveniently and efficiently. An operating system is software that manages the allocation of Computer Hardware. The coordination of
12 min read
MS-DOS Operating System
IBM was looking for an operating system for their new line of personal computers. Bill Gates's mother Marry M Gates served on the national board of United Way alongside the CEO of IBM. IBM got in touch with Bill Gates through his mother when he convinced IBM that his company Microsoft could deliver
7 min read
IoT Operating Systems
An Operating System is a software program software that manages and controls all the resources in a computer, together with the hardware and the software program. A running system is chargeable for controlling, dealing with, and coordinating all the sports and resources in a computer. An operating m
13 min read
Concurrency in Operating System
Concurrency in operating systems refers to the capability of an OS to handle more than one task or process at the same time, thereby enhancing efficiency and responsiveness. It may be supported by multi-threading or multi-processing whereby more than one process or threads are executed simultaneousl
6 min read
Introduction of Operating System
An operating system acts as an intermediary between the user of a computer and computer hardware. In short its an interface between computer hardware and user. The purpose of an operating system is to provide an environment in which a user can execute programs conveniently and efficiently. An operat
15 min read
History of Operating System
An operating system is a type of software that acts as an interface between the user and the hardware. It is responsible for handling various critical functions of the computer and utilizing resources very efficiently so the operating system is also known as a resource manager. The operating system
8 min read
Disk Attachment in Operating System
The disk attachment is a special feature that allows you to attach a disk (such as a USB flash drive) to your computer’s hard drive. Users can use this feature to store files in the cloud or transfer files between computers on their network. Host-Attached StorageHost-attached storage (HAS) is a form
5 min read
Boot Block in Operating System
Basically for a computer to start running to get an instance when it is powered up or rebooted it need to have an initial program to run. And this initial program which is known as bootstrap needs to be simple. It must initialize all aspects of the system, from CPU registers to device controllers an
5 min read
Kernel in Operating System
A kernel is a central component of an operating system that manages the operations of computers and hardware. It basically manages operations of memory and CPU time. It is a core component of an operating system. Kernel acts as a bridge between applications and data processing performed at the hardw
10 min read
Last Minute Notes – Operating Systems
See Last Minute Notes for all subjects all subjects here . Operating Systems: It is the interface between the user and the computer hardware. Types of Operating System (OS): Batch OS - A set of similar jobs are stored in the main memory for execution. A job gets assigned to the CPU, only when the ex
15+ min read
Different Operating Systems
An operating system is an interface between the user and the hardware. It is a program that helps to utilize system hardware so it is also known as a resource manager. There are different types of operating systems based on different system architectures. , each with its own features and uses. Windo
15+ min read
Interactive Operating System
Interactive operating systems are computers that accept human inputs. Users give commands or some data to the computers by typing or by gestures. Some examples of interactive systems include MS Word and Spreadsheets, etc. They facilitate interactive behavior. Mac and Windows OS are some examples of
5 min read
Device Management in Operating System
The process of implementation, operation, and maintenance of a device by an operating system is called device management. When we use computers we will have various devices connected to our system like mouse, keyboard, scanner, printer, and pen drives. So all these are the devices and the operating
9 min read
Handheld Operating System
An operating system is a program whose job is to manage a computer's hardware. Its other use is that it also provides a basis for application programs and acts as an intermediary between the computer user and the computer hardware. An amazing feature of operating systems is how they vary in accompli
5 min read
Context Switching in Operating System
An operating system is a program loaded into a system or computer. and manage all the other program which is running on that OS Program, it manages the all other application programs. or in other words, we can say that the OS is an interface between the user and computer hardware. So in this article
6 min read
Architecture of linux operating system
Linux is an open-source UNIX-based operating system. The main component of the Linux operating system is Linux kernel. It is developed to provide low-cost or free operating system service to personal system users, which includes an X-window system, Emacs editor, IP/TCP GUI, etc. Linux distribution:L
4 min read
Types of Operating Systems
Operating Systems can be categorized according to different criteria like whether an operating system is for mobile devices (examples Android and iOS) or desktop (examples Windows and Linux). In this article, we are going to classify based on functionalities an operating system provides.= 1. Batch O
10 min read
Multitasking Operating System
Single tasking Operating system was used before the multitasking operating system. single tasking operating system allows user to perform a single task at a time. So tasks like printing a document or downloading an image from the internet can be done one after another, leading to wastage of resource
4 min read