Basics of Operating System - Easy Notes
What is an Operating System?
An Operating System (OS) is a software that connects the user and computer hardware. It
manages resources like CPU, memory, and files to make the system run smoothly.
Example: Windows, Linux, macOS, Android.
Types of Interfaces
1. Graphical User Interface (GUI): Visual, user-friendly, uses icons and menus. Example: Windows
desktop.
2. Command-Line Interface (CLI): Text-based commands, powerful but less user-friendly. Example:
typing 'dir' in Windows or 'ls' in Linux.
Programs
• File Management: Create, delete, copy, and rename files. Example: Making a new folder for
pictures.
• Status Information: Shows CPU, memory, and processes. Example: Task Manager in
Windows.
• File Modification: Editing file content. Example: Writing in MS Word or editing a photo in Paint.
• Programming Language Support: Runs code written in C, Python, Java, etc.
• Program Loading & Execution: Loads programs into memory and runs them.
• Communication: Uses device drivers to connect software and hardware. Example: Printer
driver.
Files
Files are organized into folders and have different types:
• Directory Files: Folders containing other files.
• Special Files: Connect to hardware devices. Example: /dev files in Linux.
• Admin Files: Store system settings.
• DOS Files: Old MS-DOS boot files.
• Configuration Files: Store settings for system and apps.
• Log Files: Record system events and errors. Example: Call log in a phone.
• Batch Files (.bat): Automate tasks by running commands in order.
• System Files: Critical files like kernel and DLLs.
• Backup Files: Copies of important files. Example: Google Drive backup.
Hardware & Software Management
• Processor Management: Assigns CPU to processes.
• Memory Management: Allocates and frees RAM.
• Device Management: Uses drivers to connect to hardware devices.
• File System Management: Organizes files and permissions.
• Security & Access Control: Manages passwords and permissions.
• Task Scheduling: Decides order of tasks for efficiency.
• Error Handling: Detects and fixes errors.
Summary
An Operating System is the bridge between the user and hardware. It manages programs, files, and
devices, ensuring smooth and secure operation.