Operating System Introduction
An operating system (OS) is system software that manages computer hardware and software resources and provides common services for computer programs.
An operating system (OS) is the program that, after being initially loaded into the computer by a boot program, manages all the other programs in a computer. The other programs are called applications or application programs. The application programs make use of the operating system by making requests for services through a defined application program interface (API). In addition, users can interact directly with the operating system through a user interface such as a command line or a graphical user interface (GUI).
An operating system performs these services for applications:
1. In a multitasking operating system where multiple programs can be running at the same time, the operating system determines which applications should run in what order and how much time should be allowed for each application before giving another application a turn.
2. It manages the sharing of internal memory among multiple applications.
3. It handles input and output to and from attached hardware devices, such as hard disks, printers, and dial-up ports.
4. It sends messages to each application or interactive user (or to a system operator) about the status of operation and any errors that may have occurred.
5. It can offload the management of what are called batch jobs (for example, printing) so that the initiating application is freed from this work.
6. On computers that can provide parallel processing, an operating system can manage how to divide the program so that it runs on more than one processor at a time.
An Operating System can roughhly be divided into four components :
1. The Hardware
2. The Application Programs
3. The Operating System
4. The Users
The application programs such as word processors/ spreadsheets/ compilers, and Web browsers-define the ways in which these resources are used to solve users' computing problems. The operating system controls the hardware and coordinates its use among the various application programs for the various users.