A. What is an Operating System?
An Operating System (OS) is the fundamental system software that manages computer hardware resources and provides common services for application software.
- The Kernel: The core central program of the OS that resides permanently in RAM and has direct control over hardware.
- The Shell: The outer user interface layer that interprets user commands.
B. Five Core Management Functions:
- Processor (CPU) Management: Allocates CPU time to competing processes using scheduling algorithms (FCFS, Round Robin, Multitasking).
- Memory Management: Tracks every byte of RAM; allocates memory blocks when programs launch and de-allocates them when closed; manages Virtual Memory on hard disk.
- File Management: Organizes files and folders into a structured hierarchical tree directory (NTFS, FAT32); controls read/write/delete permissions.
- Device Management: Communicates with peripheral hardware (printers, mice, keyboards) using specialized translation software called Device Drivers; utilizes Spooling (buffer queue for printing).
- Security Management: Prevents unauthorized access through user authentication (passwords, biometrics) and firewall protocols.