Service of Operating system

SERVICE OF OPERATING SYSTEM:-

1.Input/Output Operation:-   

                                                                  A running program may require I/O. this I/O may involve a file or an I/O device. For efficiency and protection, users usually cannot control devices directly. Generally, the program that require 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 allowed to reach them. Various types of resources are managed by operating system. Some may have special allocation code, whereas others may have much more general request release code.



3.File-system Manipulation:-

                                                                            Programs need to read and write files. Programs also need to create  and delete files by name.



4.Error Detection:- 

                                              The operating system constantly needs to be aware of possible errors. Errors may occur in the CPU and memory hardware, in I/O device and in the user program. It is the duty of operating system that display appropiate message whenever an error occurs and takes the suitable action for ensuring correct computing.

5. Communications:- 

                                                    This is another service provided by operating system. If more than one programs are running on same computer, then there are many instance , when one process needs to exchange information with another process. Such communication can occur in twio ways.The first one takes place between processes that are excuting on the same computer; the second takes place between processes that are executing on differenting computer system that are tied toghter by a computer network. Communication may be implemented via shared memory, or by the technique of message passing.



https://technoworldproknowledge.blogspot.com/

6.Protection:- 

                                           protection involves  ensuring that all access to system resource is controlled. When several disjoined processes excite concurrently, it should not possible for one process to interface with the others, or with the operating system itself. Security of the system from the outsiders is also important. Such security stars with each user having to authenticate  himself to the system, usually by mean of a password, to be allowed access to the resource.        
                                    


Comments

Popular posts from this blog

How to protect CPU

Android information