What is an Operating System?

An Operating System (OS) is software that acts as an interface between computer hardware components and the user. Every Computer System must have at least one operating system to run other programs. Applications like Browser, MS Office, Notepad, Games, etc. need some environment to run and perform tasks.

The OS helps users to communicate with the computer without knowing how to speak the computer’s language. It is not possible for the user to use any computer or mobile device without having an Operating System.

In simple words, an operating system is a program that acts as an interface between the user and the computer hardware and controls the execution of all kinds of programs.

An Operating System is software that performs all the basic tasks like file management, memory management, process management, handling input and output, and controlling peripheral devices such as disk drives and printers.

Introduction to Operating System
Introduction to Operating System

History of OS

  • Operating systems were first developed in the late 1950s to manage tape storage
  • The General Motors Research Lab implemented the first OS in the early 1950s for their IBM 701
  • In the mid-1960s, operating systems started to use disks
  • In the late 1960s, the first version of the Unix OS was developed
  • The first OS built by Microsoft was DOS. It was built in 1981 by purchasing the 86-DOS software from a Seattle company
  • The present-day popular OS Windows first came to existence in 1985 when a GUI was created and paired with MS-DOS.
GenerationYearElectronic device usedTypes of OS Device
First1945-55Vacuum TubesPlug Boards
Second1955-65TransistorsBatch Systems
Third1965-80Integrated Circuits (IC)Multiprogramming
FourthSince 1980Large Scale Integration PC

Functions of OS

Following are some of the important functions of an Operating System:

Functions of Operating System
Functions of Operating System
  1. Memory Management: Memory management refers to management of Primary Memory or Main Memory. The operating system has to keep track, how much memory has been used and by whom. It has to decide which process needs memory space and how much. OS also has to allocate and deallocate the memory space.
  2. Processor Management: In a multiprogramming environment, the OS decides which process gets the process when and for how much time. This function is called process scheduling. Process management helps the OS to create and delete processes. It also provides mechanisms for synchronization and communication among processes.
  3. File Management: A file system is normally organized into directories for easy navigation and usage. These directories may contain files and other directions. An Operating System decides, allocate and deallocate the resources, etc. for file management. In other words, it manages all the file-related activities such as organization storage, retrieval, naming, sharing and protection of files.
  4. Device Management: An Operating System manages device communication via their respective drivers. Device management keeps track of all devices. This module also responsible for this task is known as the I/O controller. It also performs the task of allocation and deallocation of the devices.
  5. I/O System Management: One of the primary goals of any operating system is to keep the user from becoming aware of the hardware’s quirks.
  6. Secondary-Storage Management: Systems have several levels of storage which includes primary storage, secondary storage, and cache storage. The File System/Management mechanism used for the management of the storage. NIFS, CFS, CIFS, NFS, etc. are some file systems. All the data stores in various tracks of Hard disks that are all managed by the Storage Manager. It includes a Hard Disk.
  7. Security: Privacy is also provided by the Operating System. Security module protects the data and information of a computer system against malware and unauthorized access.
  8. Command Interpretation: This module interprets commands from the user and uses system resources to process them.
  9. Networking: A distributed system is a collection of processors that don’t share memory, hardware, or a clock. The network allows the processors to interact with one another.
  10. Job Accounting: Keeping track of the amount of time and resources spent on various jobs and users.
  11. Communication Management: Coordination and assignment of compilers, interpreters, and other software resources among diverse computer system users.

Features of OS

Here is a list of important features of OS:

  • Protected and supervisor mode
  • Allows disk access and file systems Device drivers Networking Security
  • Program Execution
  • Memory management Virtual Memory Multitasking
  • Handling I/O operations
  • Manipulating of the file system
  • Error Detection and handling
  • Resource allocation
  • Information and Resource Protection
Features of Operating System

Operating System as User Interface

The process operating system as User Interface:

  1. User
  2. System and application programs
  3. Operating System
  4. Hardware
Operating System as User Interface
Operating System as User Interface

Every general-purpose computer consists of the hardware, operating system, system programs, and application programs. The hardware consists of memory, CPU, ALU, I/O devices, peripheral devices, and storage devices. System program consists of compilers, loaders, editors, OS, etc. The application program consists of business programs, database programs.

Every computer must have an operating system to run other programs. The operating system coordinates the use of the hardware among the various system programs and application programs for various users. It simply provides an environment within which other programs can do useful work.

Examples of OS

Market Share of Operating Systems
Market Share of Operating Systems

Following are the Operating System examples with Latest Market Share:

OS NameShare
Windows32.11%
Android39.45%
iOS17.56%
Mac OS6.74%
Linux0.95%
Chrome OS1.11%
Others3%

Advantage of OS

  • Allows you to hide details of hardware by creating an abstraction
  • Easy to use with a GUI (Graphical User Interface)
  • Offers an environment in which a user may execute programs/applications
  • The operating system must make sure that the computer system convenient to use
  • Operating System acts as an intermediary among applications and the hardware components
  • It provides the computer system resources with easy to use format
  • Acts as an intermediary between all hardware and software of the system

Disadvantage of OS

  • If any issue occurs in OS, you may lose all the contents which have been stored in your system
  • Operating system’s software is quite expensive for small size organizations which adds burden on them. Example Windows
  • It is never entirely secure as a threat can occur at any time

Difference between Firmware and OS

Below are the Key Differences between Firmware and Operating System:

FirmwareOperating System
Firmware is one kind of programming that is embedded on a chip in the device which controls that specific device.OS provides functionality over and above that which is provided by the firmware.
Firmware is programs that have been encoded by the manufacturer of the IC or something and cannot be changed.OS is a program that can be installed by the user and can be changed.
It is stored on non-volatile memory.The OS is stored on the hard drive.

Difference between 32-Bit vs. 64 Bit OS

Below are the Difference between 32-Bit and 64 Bit Operating systems:

Parameters32-Bit64-Bit
Architecture and SoftwareAllow 32 bit of data processing simultaneouslyAllow 64 bit of data processing simultaneously
Compatibility32-bit applications require 32-bit OS and CPUs.64-bit applications require a 64-bit OS and CPU.
Systems AvailableAll versions of Windows 8, Windows 7, Windows Vista, and Windows XP, Linux, etc.Windows XP Professional, Vista, 7, Mac OS X, and Linux.
Memory Limits32-bit systems are limited to 3.2 GB of RAM.64-bit systems allow a maximum 17 Billion GB of RAM.