Introduction to Operating Systems
• Concepts, Functions, and Process
Management
• Your Name
• Date
What is an Operating System?
• • Software that manages hardware and
software resources
• • Acts as an intermediary between user and
hardware
• • Examples: Windows, Linux, macOS, Android
Objectives of an OS
• • Provide user-friendly interface
• • Manage system resources
• • Enable multitasking and multiprocessing
• • Ensure security and protection
Types of Operating Systems
• • Batch OS
• • Time-Sharing OS
• • Distributed OS
• • Real-Time OS
• • Mobile OS
Basic Operations of an OS
• • Process Management
• • Memory Management
• • File System Management
• • Device Management
• • Security & Access Control
Functions of an Operating System
• • Resource Allocation
• • Job Scheduling
• • I/O Operations
• • Error Detection
• • Communication Services
Process in Operating Systems
• • A process is a program in execution
• • Components: Program counter, stack, data
section
• • Lifecycle: Creation → Execution →
Termination
Process States
• • New – Being created
• • Ready – Waiting to be assigned to CPU
• • Running – Instructions being executed
• • Waiting – Waiting for event (e.g., I/O)
• • Terminated – Finished execution
Diagram: Process State
• States and transitions in a process lifecycle