Function of Operating System
Operating System is the set of program that control and instruct all the other component. It has many functions. Some of the important function of OS are described below:
Memory Management – Keeps track of the free primary memory, i.e. what part of it is in use by whom, what part is not in use,Deciding which processes are to be loaded into memory when memory space becomes available, Deciding how much memory is to be allocated to a process etc. and allocates the memory when a process or program requests it and also deallocates memory.
Processor Management – Creates and terminates user and system processes,suspend and resume process, provide mechanism for process synchronization, process communication and deadlock handling.
File Management – Computers can store information on several types of physical media, e.g. magnetic tape, magnetic disk and an optical disk. The operating system maps files onto physical media and accesses these media through storage devices. It allocates and de-allocates the resources and decides who gets the resources.
Device Management – Device management keeps tracks of all devices. This module also liable for this task is understood because the I/O controller. It also performs the task of allocation and de-allocation of the devices.
I/O System Management – one of the objective of OS includes buffering, caching and spooling, device drive management and to hide the peculiarities of that hardware devices from the user.
Secondary-Storage Management – Systems have several levels of storage which includes primary storage, secondary storage, and cache storage. Instructions and data must be stored in primary storage or cache so that a running program can reference it.
Security – OS prevents unauthorized access to programs and data.For shared or public systems, the OS controls access to the system as a whole and to specific system resources.
Job accounting – OS Keeps track of time and resources used by various jobs and users.On any system, this information is useful in anticipating the need for future enhancements and in tuning the system to improve performance and can be used for job accounting purposes.
Program execution – The system must be able to load a program into memory and to run that programs. The program must be able to end its execution.
Error detection – The OS constantly needs to be aware of possible errors. The error may occur in the CPU and memory hardware, in I/O devices and in the user program. For each type of error, the OS should take appropriate action to ensure correct and
Communication management – Coordination and assignment of compilers, interpreters, and another software resource of the various users of the computer systems.
Interaction with the Operators – Interaction may take place via the console of the computer in the form of instructions. The Operating System acknowledges the same, does the corresponding action, and informs the operation by a display screen.
Read more: Operating System
Join Us: Facebook page