You are currently viewing What is an Operating System? Functions and types of Operating System.

What is an Operating System? Functions and types of Operating System.

  • Post category:Software
  • Reading time:8 mins read

An Operating System (OS) is an interface among a pc consumer and pc hardware. An running gadget is a software program which plays all of the simple obligations like document control, reminiscence control, system control, coping with enter and output, and controlling peripheral gadgets which include disk drives and printers.

Some famous Operating Systems consist of Linux Operating System, Windows Operating System, VMS, OS/400, AIX, z/OS, etc.


An running gadget is a software that acts as an interface among the consumer and the pc hardware and controls the execution of all styles of applications.

Following are a number of critical capabilities of an running System.

  • Memory Management
  • Processor Management
  • Device Management
  • File Management
  • Security
  • Control over gadget performance
  • Job accounting
  • Error detecting aids
  • Coordination among different software program and customers

Memory Management

Memory control refers to control of Primary Memory or Main Memory. Main reminiscence is a massive array of phrases or bytes wherein every phrase or byte has its very own address.

Main reminiscence offers a quick garage that may be accessed immediately through the CPU. For a software to be executed, it should withinside the principal reminiscence. An Operating System does the subsequent sports for reminiscence control −

  • Keeps tracks of number one reminiscence, i.e., what a part of it are in use through whom, what component aren’t in use.
  • In multiprogramming, the OS comes to a decision which system gets reminiscence while and the way plenty.
  • Allocates the reminiscence while a system requests it to do so.
  • De-allocates the reminiscence while a system now not wishes it or has been terminated.

Processor Management

In multiprogramming environment, the OS comes to a decision which system receives the processor while and for the way plenty time. This characteristic is called system scheduling. An Operating System does the subsequent sports for processor control −

  • Keeps tracks of processor and standing of system. The software liable for this mission is called visitors controller.
  • Allocates the processor (CPU) to a system.
  • De-allocates processor while a system is now not required.

Device Management

An Operating System manages tool verbal exchange thru their respective drivers. It does the subsequent sports for tool control −

  • Keeps tracks of all gadgets. Program liable for this mission is called the I/O controller.
  • Decides which system receives the tool while and for the way plenty time.
  • Allocates the tool withinside the green way.
  • De-allocates gadgets.

File Management

A document gadget is typically prepared into directories for clean navigation and usage. These directories may also include documents and different directions.

An Operating System does the subsequent sports for document control −

  • Keeps tune of information, location, uses, repute etc. The collective centers are frequently called document gadget.
  • Decides who receives the assets.
  • Allocates the assets.
  • De-allocates the assets.

Other Important Activities

Following are a number of the critical sports that an Operating System plays

  • Security − By method of password and comparable different techniques, it prevents unauthorized get entry to to applications and data.
  • Control over gadget performance − Recording delays among request for a carrier and reaction from the gadget.
  • Job accounting − Keeping tune of time and assets utilized by numerous jobs and customers.
  • Error detecting aids − Production of dumps, traces, mistakes messages, and different debugging and mistakes detecting aids.
  • Coordination among different software’s and customers − Coordination and project of compilers, interpreters, assemblers and different software program to the numerous customers of the pc systems.

1. Batch Operating System

In a Batch Operating System, the same jobs are grouped collectively into batches with the assist of a few operator and those batches are achieved one through one. For instance, allow us to anticipate that we’ve 10 applications that want to be achieved. Some applications are written in C++, a few in C and relaxation in Java. Now, on every occasion whilst we run those programmes for my part then we can must load the compiler of that specific language after which execute the code. But what if we make a batch of those 10 programmes. The advantage with this method is that, for the C++ batch, you want to load the compiler most effective as soon as. Similarly, for Java and C, the compiler wishes to be loaded most effective as soon as and the complete batch receives achieved. The following picture describes the running of a Batch Operating System.


  1. The standard time taken through the gadget to execute all of the programmes can be reduced.
  2. The Batch Operating System may be shared among more than one users.


  1. Manual interventions are required among batches.
  2. The CPU usage is low due to the fact the time taken in loading and unloading of batches may be very excessive compared to execution time.

2. Time-Sharing Operating System

In a Multi-tasking Operating System, multiple procedures are being achieved at a selected time with the assist of the time-sharing idea. So, withinside the time-sharing environment, we determine a time this is known as time quantum and whilst the technique begins offevolved its execution then the execution maintains for most effective that quantity of time and after that, different procedures can be given threat for that quantity of time most effective. In the subsequent cycle, the primary technique will once more come for its execution and it will likely be achieved for that point quantum most effective and once more subsequent technique will come. This technique will continue. The following picture describes the running of a Time-Sharing Operating System.


  1. Since identical time quantum is given to every technique, so every technique receives identical possibility to execute.
  2. The CPU can be busy in maximum of the instances and this is right to have case.


  1. Process having better precedence will now no longer get the threat to be achieved first due to the fact the identical possibility is given to every technique.

3. Distributed Operating System

In a Distributed Operating System, we’ve diverse structures and some of these structures have their personal CPU, principal reminiscence, secondary reminiscence, and resources. These structures are related to every different the usage of a shared conversation community. Here, every gadget can carry out its assignment for my part. The satisfactory element approximately those Distributed Operating System is faraway get entry to i.e. one consumer can get entry to the information of the opposite gadget and might paintings accordingly. So, faraway get entry to is feasible in those dispensed Operating Systems. The following picture indicates the running of a Distributed Operating System.


  1. Since the structures are related with every different so, the failure of 1 gadget can not prevent the execution of procedures due to the fact different structures can do the execution.
  2. Resources are shared among every different.
  3. The load at the host pc receives dispensed and this, in turn, will increase the efficiency.


  1. Since the information is shared amongst all of the computers, as a way to make the information steady and on hand to few computers, you want to position a few greater efforts.
  2. If there’s a trouble withinside the conversation community then the complete conversation can be broken.


Android App Development Online Course through MindOrks

Start your profession in Android Development. Learn through doing actual projects.CHECK NOW

4. Embedded Operating System

An Embedded Operating System is designed to carry out a selected assignment for a selected tool which isn’t always a pc. For instance, the software program utilized in elevators is devoted to the running of elevators most effective and not anything else. So, this may be an instance of Embedded Operating System. The Embedded Operating System permits the get entry to of tool hardware to the software program this is strolling at the pinnacle of the Operating System.


  1. Since it’s miles committed to a selected process, so it’s miles fast.
  2. Low cost.
  3. These devour much less reminiscence and different resources.


  1. Only one process may be performed.
  2. It is hard to improve or is sort of scalable.

5. Real-time Operating System

The Real-time Operating Systems are used withinside the scenario in which we’re handling a few actual-time information. So, as quickly because the information comes, the execution of the technique have to be executed and there have to be no dealy i.e. no buffer delays have to be there. Real-time OS is a time-sharing gadget this is primarily based totally at the idea of clock interrupt. So, every time you need to technique a massive range of request in a completely quick duration of time, then you definitely have to use Real-time Operating System. For instance, the info of the temperature of the petroleum enterprise are very vital and this have to be executed in actual-time and in a completely quick duration of time. A small put off can bring about a life-demise scenario. So, that is executed with the assist of Real-time Operating System. There are varieties of Real-time Operating System:

  1. Hard Real-time: In this type, a small put off can result in drastic change. So, whilst the time constraint may be very crucial then we use the Hard Real-time.
  2. Soft Real-time: Here, the time constraint isn’t always that crucial however right here additionally we’re handling a few actual-time information.


  1. There is most usage of gadgets and resources.
  2. These structures are nearly error-free.


  1. The algorithms utilized in Real-time Operating System may be very complex.
  2. Specific tool drivers are used for responding to the interrupts as quickly as feasible.

Share with others:)

This Post Has One Comment

  1. Valentina

    This web site really has all the information and
    facts I needed concerning this subject and didn’t know who to ask.

Leave a Reply