The Operating System is the main aspect of a device and is very important to its overall function. Without it, the computer will not be able to work. Thus, the main functions of Operating System are as follows:
1. Process management: As a process manager, the Operating System handles the creation and deletion of processes, suspension and resumption of processes and scheduling and synchronization of processes.
2. Memory management: As a memory manager, the Operating System handles the allocation and deallocation of memory space as required by various programs.
3. File management: The Operating System is responsible for creation and deletion of files and directories. It also takes care of other file-related activities such as organizing, storing, retrieving, naming and protecting the files.
4. Device management: Operating System provides input/output sub-system between process and device driver. It handles the device caches, buffers and interrupts. It also detects the device failures and notifies the same to the user.
5. Security management: The Operating System protects system resources and information against destruction and unauthorized use.
6. User interface: Operating System provides the interface between the user and the hardware. The user interface is the layer that actually interacts with the computer operator. The interface consists of a set of commands or menus through which a user communicates with a program.