An Operating System provides an environment for the execution of programs . It provides certain services to programs and to the users of those programs . Some of the services are been discussed below -
1 ... I/O Operations - A running program may require I/O . This I/O may involve a file or an I/O device . For efficiency and protection , users control I/O devices directly. Generally , the program that requires I/O , specifies only a function the rest of the work is handled by operating system .
2 ... Works as a Resource Allocator - When multiple users are logged on the system or multiple jobs are running at the same time , resources must be allocated to each of them . Various types of resources are managed by operating system . Some may have special allocation code , whereas others may have much more general request and release code .
3... File-system Manipulation - Programs need to read and write files . Programs also need to create and delete files by name , all managed by operating system .
4... Error Detection - The operating system constantly needs to be aware of possible errors . Errors may occur in the CPU , memory hardware , in I/O device , and in user programs . It is duty of operating system that display appropriate message whenever an error occurs and takes the suitable action for ensuring correct and consistent computing .
5... Communication - If more than one programs are running on same computer , then there are many instances , when one process needs to exchange information with another process . Thus operating system performs the process of communication through message passing .
6... Protection - Protection involves ensuring that all access to system resource is controlled . When several disjoint programs execute concurrently it should not possible for one process to interfere with the others , or with operating system . Security of the system from the outsiders is also important . Such security starts with the user having to authenticate himself to the system , usually by means of a password to be allowed access to the resources .
Thursday, October 2
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment