Skip to main content

Service provided By An Operating System.

 

List of five service provided by an operating system. Explain how

 each provides convenience to users?

   

The main purpose of operating system is to provide environment for the execution of programs. Thus an operating system provides certain services to program and the users of those programs.

However , different operating system can provide different set of service. Some of the basis services provided by operating system are:

1.       Program execution

·         Operating system provides a convenient environment where users can run their programs

·         The operating system performs memory allocation to programs, load them into appropriate location so that they can execute. The users need not to worry about all these tasks.

 

2.       I/O Operation

·         in order to execute a program,it usually requires an I/O operations. For example , it may need a file and print the output.

·         When all these I/O operation are performed users cannot I/O devices.

 

3.       File system manipulation

·         The execution of a program may involve reading data from or writing data to file . it may also require to create or delete a certain file.

·         The operating system provides all these operation and performs secondary storage management.

 

4.       Communication

·         The various process executing on a system

 

·         may have multiple execution flows, different once belonging to difficult threads.

 

Comments

Popular posts from this blog

Protection and security

  Protection and security Protection in computer system   ·           In the system with contiguous memory allocation,    protection is usually accomplished by the use of limit registers. Each program    is assigned a specific limit in term of address space . whenever any reference is made to an instruction of the limit register is checked to ensure that reference is within the bound of program otherwise the access to memory is denied. ·           In paging system, protection is achieved by the use of a page table. This page table list all the pages that a program can access. ·           In addition the table store access rights such as read, write or execute for each individual page. ·           In a system that uses segmentation, protection is accomplished by the use of segment ...

Monolithic Architecture

  Monolithic Architecture Monolith means composed all in one piece. The  Monolithic  application describes a single-tiered  software  application in which different components combined into a single program from a single platform. Components can be: Authorization — responsible for authorizing a user Presentation — responsible for handling HTTP requests and responding with either HTML or JSON/XML (for web services APIs). Business logic — the application’s business logic. Database layer — data access objects responsible for accessing the database. Application integration — integration with other services (e.g. via messaging or REST API). Or integration with any other Data sources. Notification module — responsible for sending email notifications whenever needed. Example for Monolithic Approach Consider an example of Ecommerce application, that authorizes customer, takes an order, check products inventory, authorize payment and ships ordered products. This applicat...

Batch Processing Operating System

  Batch processing system ·           Batch processing is one of the oldest method    of running the programs ·           The computer in the past were very large in size and their I/O devices were very different from those that are used today. The job processing was not interactive as it is today. ·           The user did not interact directly with computer system.   ·           The process scheduling , memory management, file management and I/Omanagement functions are quite simple in batch processing system   1.         Process scheduling (i.e. allocation strategy for a processor is typically in order of their arrival i.e. first come first served(FCFS)basis.   2.         Memory management  is done by divi...

Micro kernel architecture

  Micro kernel  architecture What is Kernel? A kernel is an important part of an OS that manages system resources. It also acts as a bridge between the software and hardware of the computer. It is one of the first program which is loaded on start-up after the bootloader. The Kernel is also responsible for offering secure access to the machine's hardware for various programs. It also decides when and how long a certain application uses specific hardware. What is Microkernel? Microkernel  is a software or code which contains the required minimum amount of functions, data, and features to implement an operating system. It provides a minimal number of mechanisms, which is good enough to run the most basic functions of an operating system. It allows other parts of the operating system to be implemented as it does not impose a lot of policies. Microkernels and their user environments are usually implemented in the C++ or C programming languages with a little bit of assembly. Ho...

Layered Operating System

  Layered Operating System Layered Structure is a type of system structure in which the different services of the  operating system  are split into various layers, where each layer has a specific well-defined task to perform . It was created to improve the pre-existing structures like the Monolithic structure ( UNIX ) and the Simple structure ( MS-DOS ). Example –  The Windows NT operating system uses this layered approach as a part of it . Design Analysis : The whole Operating System is separated into several layers ( from 0 to n ) as the diagram shows. Each of the layers must have its own specific function to perform. There are some rules in the implementation of the layers as follows. The outermost layer must be the User Interface layer. The innermost layer must be the Hardware layer. A particular layer can access all the layers present below it but it cannot access the layers present above it. That is layer n-1 can access all the layers from n-2 to 0 but it canno...