Operating System performs a number of functions for the computer system that are as follows:
It act as an extended machine
Operating system act as an extended machine by translating the commands, which are written in human understandable form into machine understandable instructions? After the execution of instruction by CPU it retranslates the Output back into a human understandable language. Below figure show the extendable machine view of an operating system.
In this figure N numbers of users are developing g and compiling their application program and are working in the text editor. All the users can interact with the operating system using system call or shell. To execute user’s job the operating system interact with Computer hardware.
It acts as a resource manager
An operating system act as resource managers. Operating system manages the resource in two ways:
• Time Multiplexing
• Space Multiplexing
In time multiplexing, different resources can be shared by controlling and allocating various hardware and software resources to different users in an optimal and efficient manner among different programs for a fix time of slots.
In space multiplexing, different resources are shared at the same time among different programs. Example of space multiplexing includes sharing of a hard disk and main memory by different users at the same time.
It acts as a constant application program interface
The operating system is an interface that helps develop an application of a computer and executes the application on another computer. No variation is produce if the configuration of computer is different. For example, Windows 98 operating system has such kind of flexibility. It can hold different disk drivers, printers and peripherals, which are produce by different venders without any variation. Other functions of operating system are:
• Control the device drivers attached to the computer.
• Acts as a command interpreter.
• Helps in determining the priority of jobs.
• Enable you to perform the allocation and reallocation of memory.
• Enables you to perform various input/output Operations
• Provides security by ensuring controlled access to resource
• Monitor various jobs, to ensure their security
• Allow different process to communicate with each other through message passing techniques.
• Enables you to perform system accounting that monitors the use of system resource.


