Functions of Operating System
Functions of Operating System
Hardware : It refers to the physical parts of the computer , that we can see and touch. Examples: monitor, keyboard, mouse, etc.
Software : It refers to the instructions or programs that tells a hardware what to do. Software enhances the capabilities of the
hardware and directs the computer to perform certain specific functions.
There are two types of software : System Software and Application Software
System Software
➢ Definition : System software is a collection of programs that help run a computer's hardware and other software.
➢ Functions :
i) Manages hardware resources
ii) Manages other application software.
iii) Reads data from input devices and transfers processed information to output devices.
➢ Examples :
i) Operating Systems: Windows, Linux, Unix, macOS, Android, etc.
ii) Utility Software: Disk Cleanup, Backup, Compression.
iii) Language Processors.
iv) Device Drivers.
Application Software
Operating System
➢ Definition : A computer requires specific instructions to perform tasks, as it cannot function on its own. Instructions are c onverted into
a machine-readable language. Operating system thus acts as an interface for communication between the user and computer hardware.
➢ Examples : MS-DOS, Microsoft Windows, Linux (Ubuntu, Red Hat), UNIX (macOS, Solaris, AIX).
➢ Earlier, programmers had to design applications based on the computer's internal hardware structure.
➢ The operating system simplifies this by allowing applications to be designed without knowledge of the hardware.
➢ Functions : Acts as a central coordinator between hardware and software. Manages resources, resolves conflicts, and optimizes system
performance.
➢ Role of BIOS: At startup, the Basic Input Output System (BIOS) checks hardware attachments and loads the operating system int o
RAM from the hard disk. After loading, the operating system enables users to perform tasks like solving problems, creating do cuments,
and playing games.
1. Process Management :
i) Ensures every process/application gets enough processor time to function properly.
COMPUTER SCIENCE Page 1
i) Ensures every process/application gets enough processor time to function properly.
ii) Maximizes processor cycle usage for real-time work.
iii) Manages and executes processes efficiently.
2. Memory Management
i) Manages sharing of internal memory among multiple applications.
ii) Prevents one process from consuming memory allocated to another.
iii) Efficiently uses different types of memory (RAM, Cache, etc.).
3. File Management
i) Tracks information regarding file creation, deletion, transfer, copying, and storage.
ii) Maintains data integrity and file directory structure.
4. Device Management
i) Coordinates and controls Input/Output (I/O) devices.
ii) Handles requests from devices and forwards them to the appropriate processes.
6. Job Scheduling
i) Maintains the order of job execution in the system.
ii) Allocates processor time to applications based on priority.
2. Single-User, Multi-Tasking
➢ Allows one user to run several programs simultaneously
➢ Commonly used for laptop and desktop computers
➢ Examples : Windows, Linux, MacOS
3. Multi User
➢ Allows multiple users to access applications or resources on a single network server concurrently.
➢ Commonly used in large organizations and servers.
➢ Examples: UNIX, Virtual Memory System (VMS), Mainframe OS, Ubuntu Server, Windows Server.
4. Real Time
➢ Designed to handle real-life scenarios with strict time constraints.
➢ Prioritizes processes, minimizes execution time, and works independently.
➢ Used in systems where even microsecond delays can cause failure.
➢ Examples: Air traffic control, robots, weapons systems, industrial control systems.
5. Distributed
➢ Runs on multiple computers located in different geographical areas, interconnected by a network.
➢ Makes interconnected systems appear as a single computer.
➢ Allows access to data and software over a common network, regardless of location.
User Interface
User Interface (UI): A mechanism enabling interaction between users and computers through hardware and software.
Role of Operating System: Acts as an intermediary, allowing users to give commands and receive responses from the computer.