What are the services of operating system

Asked By 10 points N/A Posted on -
qa-featured

I have a question in my mind can anybody help me? My question is what can be any five services of an operating system? How each provides convenience to users. In which cases it would be possible for user-level programs to provide these services?

Please describe each service in detail.

SHARE
Best Answer by Janine08
Best Answer
Best Answer
Answered By 5 points N/A #85853

What are the services of operating system

qa-featured

Operating systems are responsible for providing essential services within a computer system:

  • Initial loading of programs and transfer of programs between secondary storage and main memory.
  • Supervision of the input/output devices.
  • File management.
  • Protection facilities.
Answered By 0 points N/A #85855

What are the services of operating system

qa-featured

 

An operating system OS is to provide five services of which user-level program cannot.
 
1) File System Manipulation
The OS provides the service of secondary storage management that when a program input is required to be taken from somewhere and a program output is required to be written into new files. The user does not need to worry about this management and only gives a command for writing or reading to a file and expects the task finished.  Since the speed of I/O is crucial to the speed of user programs, it will be better to let OS to manage secondary storage management. The user-level programs could provide this service too but for above reason it would be better to let OS do this. Thus OS makes it easier for user programs to get the task done.
 
2) Error Detection
An error is a part of OS and the error may cause the complete system malfunction. To avoid this, OS always monitors the whole system to detect any possible errors. This also relieves the user’s worry about malfunction due to any errors. User programs cannot handle this service because of involving the monitoring, relinquishing the CPU, altering memory area and memory reallocation etc. These tasks are too crucial.  The normal operation of OS could be interfered if user program does this error detection.
 
3) I/O Operations
Input is required and the output is produced in each program and the use of I/O of underlying hardware is involved. However, the user does not need to know the details of I/O and OS thus hides this.  User only knows that the I/O has been performed and OS makes the environment convenient to run programs. User cannot control I/O because of efficiency and protection so that user-level programs cannot provide this service. 
 
4) Running Program 
The purpose of OS is to run programs. Users can conveniently use the OS to run programs and does not need to worry about multitasking or memory allocation or CPU scheduling or any other thing of which OS will take care of.  User-level programs cannot run separately without the assistance from OS since the above functions cannot be arranged to user-level programs.
 
5) Communications
Sometimes communication may be running on different computers or running on the same computer to communicate with each other to exchange information. OS could provide such service to relieve the user’s worry of exchanging information between processes, although user programs can be used to pass the messages through a network. The user program may also be modified to the particulars of hardware which the information passes and provides the service interface to OS.
Answered By 0 points N/A #85858

What are the services of operating system

qa-featured

These are the Five services of an Operating System:

1. Program Execution – The purpose of this computer system is to allow the user to execute programs. Therefore the system provides a program that will be convenient to the users that run in the system. To run a program is involving reallocation of memory.

2. I/O Input/Output Operations – Each programs requires to have an Input/Output process in the system or it is has to require an input and produce an output. The operating system hides the users details underlying hardware Input/Output, so therefore the I/O has performed without any details. The  Operating system providing I/O to make the users run the programs conveniently.

3. File System Manipulation – For the output of the programs need to write it in a new file, the Operating system provides this service because the users a command for reading and writing to their files, and to  accomplished their task conveniently. 

4. Communications – It is the services that gives a process to communicate with each other to exchange information. It has been a running process passes to different computers. The Operating system provides a users to relieve the users worry about message communication between process, though the message will be process through a network that will pass to other computers. This users programs may customized to a specific hardware to be able to transmit the message and provides service interface to the Operating System.

5. Error Detection – This a part of the operating system that may cause malfunctions of the whole Operating System. But the OS monitors the detecting errors to relieve the users propagating various task of system. So therefore this task is very critical to handle by the users, because when it comes to error detection your program may affected but the Operating System handle this kind of Error Detection. A users program given this privilege to interfere in a normal nor correct operation of the system.

Related Questions