OPERATING SYSTEM BASICS
This book covers the core topics in operating system including process management ,memory and file systems.
1. INTRODUCTION TO OPERATING SYSTEM
An Operating System (OS) is a fundamental software that acts as an interface between the user and the computer hardware. It manages all hardware and software resources, enabling users and applications to interact with the computer system efficiently.
Definition
An Operating System is system software that manages computer hardware, software resources, and provides common services for computer programs.
Functions of an Operating System
The primary functions of an operating system include:
-
Process Management
It handles the creation, scheduling, and termination of processes. The OS ensures smooth execution by managing process states and priorities. -
Memory Management
It manages the allocation and deallocation of memory space to different programs and users to ensure efficient memory use. -
File System Management
The OS controls the reading, writing, creation, and deletion of files and directories. It also manages file permissions and storage. -
Device Management
It manages hardware devices through drivers, ensuring smooth communication between hardware and software. -
Security and Access Control
The OS protects data and system resources through user authentication, permissions, and encryption. -
User Interface
Provides a user-friendly interface—either Command Line Interface (CLI) or Graphical User Interface (GUI)—for interacting with the system.
Types of Operating Systems
-
Batch Operating System
Executes batches of jobs with minimal user interaction. -
Time-Sharing Operating System
Allows multiple users to use the system simultaneously by sharing time slots. -
Distributed Operating System
Manages a group of independent computers and makes them appear as a single system. -
Real-Time Operating System (RTOS)
Used in systems that require immediate processing and response, such as medical systems or embedded devices. -
Network Operating System
Supports networking functions like file sharing and communication between computers. -
Mobile Operating System
Specialized OS designed for mobile devices, e.g., Android and iOS.
Examples of Operating Systems
-
Microsoft Windows
-
macOS
-
Linux
-
UNIX
-
Android
-
iOS