What is an Operating System?
Operating System –
The connecting interface between the hardware of the computer and the end user or his actions is called operating system.
Operating system carries out tasks asked to implement by end user, or supporting tasks to provide functionality to end user with the help of computation power and support provided by hardware of the system.
In simple words, Operating System is the primary software of the system that manages interaction between the software and hardware system of the computer.
Examples of popular operating systems are –
- Android etc
General Tasks carried by OS –
- Handling UI
- Handling input/output
- Process management
- File Management
- Memory Management
- other devices control like printer, SD card
History of Operating Systems
- Some first operating systems were digital calculators which could only support series for single tasks
- Then Mainframes came in place which could implement bulk requests in parallel re computers used primarily by large organizations for critical applications; bulk data processing, such as census, industry and consumer statistics, enterprise resource planning; and transaction processing
- Micro Computers came into mid 1980’s, these are what our computers have Intel, AMD, Snapdragon are examples of such as the Commodore 64 was one of the most popular microcomputers of its era, and is the best-selling model of home computer of all time.
A microcomputer is a small, relatively inexpensive computer with a microprocessor as its central processing unit (CPU).It includes a microprocessor, memory, and minimal input/output (I/O) circuitry mounted on a single printed circuit board. The OS can be patched up onto these and work on top of these computing devices.
- Systems like Android, Windows MacOS are example of modern days OS.
Main Jobs handled by OS
- Device Management
- File Management
- Memory Management
- Process Management
- UI Management
- Storage Management
- Application Handling
Below you will find short brief about them, we will discuss this in detail individual posts of these.
The following tasks under device management are performed by the OS –
- Selection of device for a given process and time allocated to it
- Listing of all devices, I/O controller is responsible for running such jobs for OS and monitor the status of all such devices like – printer, storage drives and other peripherals.
- Deal with allocation of different devices in an optimised way by prioritising and de-prioritising them with logic.
- Deal with de-allocation of devices in priority in case of interruption or completion of process.
File management is basically to keep the data in the most optimised format possible and also to support quick updates, access and modifications.
- Files are also resources since they are basically data.
- The OS allocates file access
- Deallocates them
- Prioritises access or revocation.
- Keep the track of all the files in the system and monitors them their access, authority, file system structure.
- Allocates memory to requesting process
- Deallocates memory to requesting process
- Prioritises process by various scheduling algorithms
- Keeps track of all the processes in different queues and stages.
- Curating a system that allows multiple processes to run in parallel
- Giving intelligent priority to various system activities of the computer
- Starting, pausing, ending, various processes.
- Rendering UI of the system
- Getting various system values to be rendered in the UI, example Free space available in system to be displayed alongside drive icons.
- Permanently storing or erasing required data of the system/user
- Making sure that vital communication between various applications are done correctly.