preview

The Operating System ( Os )

Better Essays

The operating system (OS) has two view-points it provides services to:
1. User view
2. System view

User view: From user point of view operating system should be convenient and easy to use and interact with. It should be better performance vice. Following are the two, some of important services provided by the operating system that are designed for easy to use computer system.

a) Program Execution: The major purpose of the operating system is to allow the user to execute programs easily. The operating system provides an environment where users can conveniently run or execute programs and as well as able to end programs. Running programs involves memory management (the allocation and de-allocation memory), device management, processor …show more content…

sensors, motion detectors etc.). Almost all programs require some sort of input and produces output. This involves the use of I/O operations. The operating system hides the low level hardware communication for I/O operations from the user. User only specifies device and the operation to perform, and only see that I/O has been performed (i.e. choosing one of the printer in office for printing service). For security and efficiency, user level programs cannot control I/O operations. Therefore, the operating system must facilitate these services.

System view: From a system point of view operating system should allocate resources (use system hardware) in a fair and efficient manner. This includes algorithms for CPUs scheduling and avoiding deadlocks etc. Following are two services for system hardware.

a) Resource Allocation: Modern computers are capable of running multiple programs and can be used by multiple users at the same time. Resources allocation/management is the dynamic allocation and de-allocation by the operating system of (hardware) including processors, memory pages, and various types of bandwidth to the computation that compete for those resources. Operating system kernel, in which all these functions, algorithms and services reside, is in charge of taking care of resource allocation. The objective is to allocate resources so as to optimise responsiveness subject to the finite resources available.

Get Access