Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Services of the operating system:

1)Program Execution

• An operating system should have the option to load numerous kinds of


activities into the memory and to run it. The program should have the option to end
its execution, either normally or abnormally.

• A process includes the complete execution of the written program or code.


There are some of the activities which are performed by the operating system:

o The operating system Loads program into memory

o It also Executes the program

o It Handles the program's execution

o It Provides a mechanism for process synchronization

o It Provides a mechanism for process communication

2)I/O Operations

• The communication between the client and devices drivers are overseen by
the operating system.

• I/O devices are required for any running process. In I/O a file or I/O devices
can be involved.

• I/O operations are the peruse or write operations that are done with the
assistance of input-output devices.

• Operating system gives admittance to the I/O devices when required.

3) File system manipulation

• The collection of related information which addresses some content is


known as a file. The computer can store files on secondary storage devices. For
long-term storage purposes. instances of storage media include magnetic tape,
magnetic disk, and optical disk drives like CDs, DVDs.
• A file system is a collection of directories for simple comprehension and
utilization. These directories contain some files. There are some major activities
which are performed by an operating system as for file the executives.

o The operating system gives admittance to the program for operating on the
file.

o Programs need to peruse and write a file.

o The client can make/erase a file by using an interface provided by the


operating system.

o The operating system provides an interface to the client makes/erases


directories.

o The reinforcement of the file system can be made by using an interface


provided by the operating system.

4) Communication

In the computer system, there is a collection of processors which do not share


memory peripherals devices or a clock, the operating system oversees
communication between every one of the processes. Multiple processes can
communicate with each process through communication lines in the network.
Some major activities are carried by an operating system concerning
communication.

• Two processes might require information to be moved between the process.

• Both the processes can be on one computer or a different computer, yet are
connected through a computer network.

5) Error handling

An error is one piece of the system that might cause malfunctioning of the
complete system. The operating system constantly monitors the system for
detecting errors to avoid some situations. This gives relives to the client of the
worry of getting an error in the various pieces of the system causing
malfunctioning.
The error can occur anytime and any place. The error might occur anyplace in the
computer system like in CPU, in I/O devices, or the memory equipment. Some
activities are performed by an operating system:

• The OS continuously checks for possible errors.

• The OS makes an appropriate move to correct errors and consistent


computing.

6) Resource the executives

When multiple clients or multiple jobs are running simultaneously resources


should be allocated to every one of them. Some major activities are performed by
an operating system:

• The OS deals with a wide range of resources using schedulers.

• CPU scheduling algorithm is utilized for better utilization of CPU.

7) Protection

The owners of information stored in a multi-client computer system need to control


its utilization. At the point when a few disjoint processes execute concurrently, it
should not be possible for any process to interfere with another process. Each
process in the computer system should be gotten and controlled.

You might also like