Thursday, 24 May 2012

Operating System Services:-

Operating System Services:-
An operating system provides an environment for the program execution. It provide the different
services to programs and users. The operating system services are provided for the convenience for the
user and make the programming task easier. The common operating system services are as follows: -
1). Program Execution: - The operating system is responsible for the program execution. It
loads the program into main memory and run it. It must be able to terminate the program normally or
abnormally.
2). Input/Output Operations: - Any program required the input and output. This input output
includes the file or an input/output device. So the operating system defines the input/output for the
specific program.
3). File System Manipulation: - Any program is stored in the form of file. So the O/S is
responsible for the creating, deleting, reading and writing of file.
4). Communications: - In many cases one process needs to exchange information with another
process. This communication is processed in two ways: -
1. When two processes are executing in same computer.
7
2. When two processes are executing on different computer that are tied together by the
network.
The communication is normally performed by the concept of message passing or the shared memory in
which the packet information is moved between the processes.
5). Error Detection: - Operating system is also aware of errors. Errors may be occurred in the
CPU and memory hardware in I/O devices. For any type of error the operating system take the accurate
action to make the correct and consistent computing.

No comments:

Post a Comment