Skip to main content

Introduction to Operating Systems

The 21st century marked by the Computer revolution, effect is such that computer has become one of the basic needs like food and shelter.
The major breakthrough in the field of computer has happened with the introduction of operating systems concepts, which has brought impulse advancements in the field communication in parallel with the major breakthroughs in computer hardware. The drastic raise in the development of techniques to communicate with the hardware stood as the turning point for the revolution of computer technology.

This communication mode is a called as program, is a set of instructions aligned in an order to instruct hardware to perform a specific task, termed as a. The programming language translates user written the program in to machine language and then this set of programs as a one is termed as a ‘software’. The application software which acts as intermediary source that takes the request from the end user/ application software to be executed by the computer hardware called as system software.System software can be categorized in to two types: operating systems and utility software.

Difference between system software and application software
Most often confuse between system software and application software, the difference are stated in the table below:

System Software

Application Software

Installed when the operating system is installed on the computer

Installed as per the userrequirements

includes programs such as compilers, debuggers, drivers, assemblers

Includes media players, word processors, and spreadsheet programs.

Users cant directly interact with the system software

Whereas user interacts gets his tasks done directly interacting with application software

It works background

It works on foreground and interacts with the system software for few tasks to be executed

A computer may not require more than one type of system software

while there may be a number of application software programs installed on the computer at the same time

System software runs independently

Application software can’t run independent instead needs the coordination of system software

Can directly interact with the computer hardware

Cant interact with the computer hardware

The operating system software is a program that communicates with the various hardware modules and also takes request from the application program and processes the request.

Definition: An Operating system is a program that controls the execution of application programs and acts as an interface between the user of a computer and the computer hardware.

The utility software role is to analyze, configure, optimize and maintain the computer, such as virus protection and malicious attacks.

Engineering Study Material
Figure: operating system in computer system hierarchy

Examples of Operating Systems
Engineering Study Material

History of Operating Systems
Engineering Study Material

Comparison of various Operating systems
The below Figure indicates the relationships among the various timesharing operating systems. Operating Systems in dark boxes are in use.

Solid arrows indicate strong design influence (e.g., a later system with an API deliberately reverse-engineered to match an earlier one). Dashed lines indicate significant design influence. Dotted lines indicate weak design influence. Not all the genetic relationships are acknowledged by the developers; indeed, some have been officially denied for legal or corporate-strategy reasons but are open secrets in the industry.
Engineering Study Material

Functions of operating systems
Following are some of important functions of an operating System.
  • Memory Management
  • Processor Management
  • Device Management
  • File Management
  • Security
  • Control over system performance
  • Job accounting
  • Error detecting aids
  • Coordination between other software and users
Components of Operating System
Shell:
Acts as an interface between Communicates with users either by Text based or Graphical user interface (GUI)

Kernel:
As per the classical definition the kernel is a computer program that manages input/output requests from software, and translates them into data processing instructions for the central processing unit and other electronic components of a computer.

Engineering Study Material Kernel performs basic required functions:
  • File manager
  • Device drivers
  • Memory manager
  • Process manager (Scheduler, dispatcher, etc..)
File Manager
The functionality of the file manager is to coordinate the use of machine’s mass storage facilities with the user, so as facilitate data organizational issues like bundle of files and other directories (subdirectories), access/operations to files is provided by file manager via a file descriptor. Folders or files will be displayed in the hierarchical tree based on their directory structure

Device Manager
Device manager ensures the communication with various the devices connected to the computer system via their respective drivers. Operating System does the following activities for device management.
  • Keeps tracks of all devices. Program responsible for this task is known as the I/O controller.
  • Decides which process gets the device when and for how much time.
  • Allocates the device in the efficient way.
  • De-allocates devices.
Memory Manager
The Memory manager heads the task of coordinating the use of main memory operations like allocates/deallocates space in main memory. When the total required memory space exceeds the physical available space then the data blocks are shifted back and forth between the main memory and mass storage. In short Memory manager ensure the following tasks:
  • Keeps tracks of processor and status of process. Program responsible for this task is known as traffic controller.
  • Allocates the processor (CPU) to a process.
  • De-allocates processor when processor is no longer required.
Process Manager
The process manager does the job of process management, like allocation of resources to the processes, enable processes to share and exchange information, protect the resources of each process from other processes and enable synchronization among processes. This processor manager allocates/ deallocates CPU time the process based on their priority, this process can be termed as process scheduling.

Process manager comprises of two components for its successful handling of its job:
  1. Dispatcher: It performs “process switch” procedure to switch from one process to another, which may be due to process priority or one may process require another process as a part of its execution.
  2. Scheduler: This part of kernel is responsible for allocation/de-allocation ofprocess to the CPU. Also uphold the record of all processes through a mechanism termed as “process table.
How does a computer system run?
Engineering Study Material
Step1:
  • Loads BIOS (Basic Input/Output System) instructions into memory
  • BIOS allows computer to accept keyboard input and show information on the monitor
  • BIOS is usually stored on a ROM chip.
Step2:
  • Performs power-on self-test (POST), where it confirms that both the computer and its peripheral devices are in condition.
Step 3:
BIOS loads the kernel into memory, where kernel is the heart of operating system. With this step BIOS transfers the control of the computer system to the Operating system.

Step 4:
After gaining control the OS conducts system configuration check for device drivers, means through which OS to interact with the peripherals.

Step 5:
Once step4 is done successfully, and then loads the utility applications like Antivirus software, Speaker volume control, etc.

Step 6:
Now Authenticate of users will be done, only if in any case any authentication process like username and password exists.

Step 7:
  • If an application has to be ran, then the OSgives each program a portion of RAM memory and keeps them from interfering with each other.
  • OS processes often involve using a buffer, an area that holds data temporarily to make programs run faster. Here RAM memory functions as the buffer.
  • RAM is organized into pages: units of large fixed size containing program instructions and data.
  • Virtual memory uses a portion of the hard disk to extend RAM.
  • When RAM is full, copies of pages are temporarily stored in a swap file, a special hard disk file.
  • Transferring files between RAM and the hard disk is called paging.
  • Published date : 29 Dec 2014 01:11PM

    Photo Stories