Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What are the services provided by the Operating System?

Answer Posted / tam

Program Execution
The purpose of a computer systems is to allow the user to
execute programs. So the operating systems provides an
environment where the user can conveniently run programs.
The user does not have to worry about the memory allocation
or multitasking or anything. These things are taken care of
by the operating systems.

Running a program involves the allocating and deallocating
memory, CPU scheduling in case of multiprocess. These
functions cannot be given to the user-level programs. So
user-level programs cannot help the user to run programs
independently without the help from operating systems.




I/O Operations
Each program requires an input and produces output. This
involves the use of I/O. The operating systems hides the
user the details of underlying hardware for the I/O. All
the user sees is that the I/O has been performed without
any details. So the operating systems by providing I/O
makes it convenient for the users to run programs.

For efficiently and protection users cannot control I/O so
this service cannot be provided by user-level programs.




File System Manipulation
The output of a program may need to be written into new
files or input taken from some files. The operating systems
provides this service. The user does not have to worry
about secondary storage management. User gives a command
for reading or writing to a file and sees his her task
accomplished. Thus operating systems makes it easier for
user programs to accomplished their task.

This service involves secondary storage management. The
speed of I/O that depends on secondary storage management
is critical to the speed of many programs and hence I think
it is best relegated to the operating systems to manage it
than giving individual users the control of it. It is not
difficult for the user-level programs to provide these
services but for above mentioned reasons it is best if this
service s left with operating system.




Communications
There are instances where processes need to communicate
with each other to exchange information. It may be between
processes running on the same computer or running on the
different computers. By providing this service the
operating system relieves the user of the worry of passing
messages between processes. In case where the messages need
to be passed to processes on the other computers through a
network it can be done by the user programs. The user
program may be customized to the specifics of the hardware
through which the message transits and provides the service
interface to the operating system.




Error Detection
An error is one part of the system may cause malfunctioning
of the complete system. To avoid such a situation the
operating system constantly monitors the system for
detecting the errors. This relieves the user of the worry
of errors propagating to various part of the system and
causing malfunctioning.

This service cannot allowed to be handled by user programs
because it involves monitoring and in cases altering area
of memory or deallocation of memory for a faulty process.
Or may be relinquishing the CPU of a process that goes into
an infinite loop. These tasks are too critical to be handed
over to the user programs. A user program if given these
privileges can interfere with the correct (normal)
operation of the operating systems.

Is This Answer Correct ?    15 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of a web-client?

1102


Which is not a final product of the overall cell reaction in a hydrogen fuel cell?

978


Explain the Tunneling, Encapsulation, and Dialup Phone Line.

3514


What is the direction of the dipole moment expected for hydrogen bromide?

1213


What molecule is characteristically prevalent in sour milk and tired muscles?

958


can you show you the organic structure of cetearyl alcohol and tell me what organic family it is?

1097


What is a web server in client server environment?

1098


Tell me what is load balancing?

994


Do you know what are triggers and rules?

1164


What is a triglyceride?

1025


Which element has the following ground-state electron configuration: 1s22s22p6?

1040


What types of insulators are there?

1066


What is meant by 2-tier architecture in client server environment?

1060


To a server method, the client wants to send a value 20, with this value exceeds to 20 a message should be sent to the client . What will you do for achieving this?

1017


What is message oriented middleware (mom) in client server environment?

1004