What is an Operating System?
An Operating System is a System Software that handles the resources of a computer such as computer hardware and software and offers frequent services to the computer programs. In other words, an operating system is defined as a software that creates an interface between the user and computer hardware.
In the computer system, to run any program, at least one operating system is a must. An application such as MS word, chrome, games, etc. requires an environment so that the application can run and perform its functions. Through the operating system, communication is done easily with the computer without knowing computer languages. Without the operating system, it is not possible to use any computer or mobile device.
The operating system is useful to monitor and handle the execution of other programs that are present in the computer, consisting of applications and system software. The main objective of the operating system is to offer an environment so that the user can appropriately execute a program.
Objective of the Operating System
The objectives of the operating system are:
- The operating system offers users an appropriate interface to use the computer system.
- It helps us to hide the information related to the hardware resources from the users.
- The operating system provides the sharing of resources among users and programs in an efficient way.
- The operating system helps us to manage the computer system resources.
- The operating system offers convenient and impartial sharing of resources between the users and programs.
Features of Operating System
- Memory management: – Operating system keep track of the primary memory, means it keeps track of what part of memory is used, what part is not in use, and also helps to allocate the memory when a process requests it.
- Processor management: – Processor management means allocating processors to the process when the process needs and also deallocates the processor when the process does not require the processor.
- Device management: – The operating system also maintains the track of all the devices, which means an operating system decides which process should get the device, when and for how much time.
- File management: – The operating system provides the facility of file management.
- Security: – The operating system prevents programs and data from unauthorized access by using passwords and some other techniques.
- Job accounting: – It also keeps track of resources and time used by different jobs.
- Control over system performance: – It also helps to keep the recovery delays among the request for a service and from the system.
- Error-detecting Aids: – The operating system also provides the facility of error detection by the production of dumps, traces, error messages, and by using different debugging and error detecting techniques.
History of the Operating System
- The first operating system was developed in the late 1950s to manage the tape storage.
- In 1950, IBM 701-the general motors research lab developed the first operating system.
- In the 1960s, disks were used in the operating system, and the primary version of the Unix operating system was developed.
- Microsoft’s first developed Operating System was DOS. It was developed in 1981 by purchasing a Seattle company 86-DOS software.
- In 1985, the time when the GUI was developed and combined with MS-DOS, the current popular window OS first came into being.
Basic elements of the Operating System
The basic elements of the Operating System are:
- Main Memory
- System bus
- I/O modules
Main Memory: – Main memory is also called Primary memory or Volatile memory. Main memory stores data and programs. The main memory is called volatile memory because when the system is turned off, then the content of the memory is erased automatically, or content is lost.
Processor: – A processor is defined as an integrated electronic circuit which performs the job of calculations in the computer. It performs input/output(I/O), arithmetical logical operations, and basic instructions that are passed from an operating system. The task of the processor is to control the processes in the computer and also perform data processing functions. If there is only one processor, then it is called a central processing unit (CPU), which you all know.
A processor may consist Arithmetical logical unit and control unit, which measures the capability in terms of the following.
- Maximum number of bits/instructions.
- Relative clock speed.
- Capability to process instructions at a given time
System bus: – System bus is the element of the operating system which is responsible for communication between the processors, I/O modules, and main memory.
I/O Modules: – The task of I/O modules is to move the data within the computer to its peripheral external environment. The external environment consists of various types of devices like secondary memory like pen drives, CDs, etc. communications equipment like (LAN cable), terminals, etc.
Operating System Index
- What is Operating System
- Evolution of Operating System
- Types of Operating System
- Functions of Operating System
- What is Kernel and Types of Kernel
- Operating System Properties
- Operating System Services
- Components of Operating System
- Needs of the Operating System
- Linux Operating System
- Unix Operating System
- Ubuntu Operating System
- What is Android Operating System
- What is DOS Operating System
- Difference Between Multi-programming and Multitasking
- What is Thread and Types of Thread
- Process Management
- Process State
- What is Process Scheduler and Process Queue
- What is Context Switching
- What is CPU Scheduling
- Scheduling Algorithm
- FCFS (First-come-First-Serve) Scheduling
- SJF (Shortest Job First) Scheduling
- Round-Robin CPU Scheduling
- Priority Based Scheduling
- HRRN (Highest Response Ratio Next) Scheduling
- Process Synchronization
- Lock Variable Mechanism
- TSL Mechanism
- Turn Variable Mechanism
- Interested Variable Mechanism
- What is Producer-Consumer Problem
- What is Semaphore in Operating System
- Monitors in Operating System
- What is Deadlock
- Deadlock Avoidance
- Strategies for Handling Deadlock
- Deadlock Prevention
- Deadlock Detection and Recovery
- Resource Allocation Graph
- Banker’s Algorithm in Operating System
- Fixed Partitioning and Dynamic Partitioning
- Partitioning Algorithms
- What is Paging and Segmentation
- What is Demand Paging
- What is Virtual Memory
- Disk Scheduling Algorithms
- FCFS and SSTF Disk Scheduling Algorithm
- SCAN and C-SCAN Disk Scheduling Algorithm
- Look and C-Look Disk Scheduling Algorithm
- File in Operating System
- File Access Methods in Operating System
- File Allocation Method
- Directory Structure in Operating System