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

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...

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...

Multitasking System

  Multitasking system ·           Technically , multitasking is same as multi programming ·           In a multitasking operating system, s single user can execute multiple programs at the same time ·           We can also say, multitasking is the system capability to work on more than one job or process at the same time. ·           It means that whenever a job needs to perform I/O operation, the cpu can be used for execting some other job                                                        diagram of multi tasking     ·           There are two type of multitasking : 1.       ...

Process and threads

  Process and threads Process concepts and it's introduction INTRODUCTION Process : Program in execution unit of work in a modern time-sharing system The terms job [batch process executes jobs] and process used interchangeably PROCESS A process is a program in execution. However, it is more than the program code. A process includes the following : Text Section  : The Program code Program Counter :  represents current activity Process Stack :  contains temporary data (e.g. function parameters, return addresses, local variables) Data section   : Contains global variables Heap section  : Memory dynamically allocated during the process runtime Process in memory Program Process 1 Passive entity  : consists the text section [program code] only Active entity  : Consists of a program counter specifying the next instruction to be executed. 2 Example : File containing  a list of instructions stored on a disk [executable file] Example : Executable fil...