Basic Operating System
Functions
Concise guide to what an operating system does, how it’s
structured, and why it matters — with clear examples and visuals
for learning and teaching.
What is an Operating System?
An operating system (OS) is system software that manages computer hardware and software resources and
provides common services for computer programs.
It acts as a bridge between users, applications, and hardware.
Examples Devices
Windows, macOS, Linux, Android, iOS — From servers to phones and embedded
each implements core OS roles for systems, every device relies on an OS to
different devices. operate reliably.
Why the OS Matters
The OS coordinates hardware and software to provide a stable environment for
applications and users. It enforces security, allocates resources, and delivers
interfaces so people and programs can get work done.
Functions of the OS include:
Resource User Interface Security
Management Allows users to Protects files and
Allocates CPU, interact with the system from
memory, storage, and computer (GUI or CLI) unauthorized access
I/O devices so multiple
programs run
smoothly.
Application Support
Offers APIs and services that let applications run without managing hardware directly.
Basic Functions of an OS
Operating systems provide a consistent set of core services. Below are the fundamental functions you'll encounter across most OSes.
Process Management Memory Management File Management Device Management
• Controls programs running • Allocates RAM to programs • Organizes files and • Controls hardware like
on the CPU efficiently directories keyboard, mouse, printer
• Example: Running Word and • Example: Chrome uses • Example: Saving a Word • Example: Printing a report
Chrome simultaneously memory for multiple tabs document in Documents
folder
User Interface
• Provides GUI (desktop,
icons) or CLI (command line)
• Example: Windows Desktop
or Linux Terminal
Layered Structure of an OS
Users
People using the computer
Application User Interface (AUI)
Programs, shell, commands
Application Program Interface (API)
Libraries, system calls
Kernel
Core OS managing CPU, memory, and hardware
Types of Operating Systems
Desktop OS
Windows, macOS, Linux — optimized for
general-purpose computing and rich user
interfaces.
Server OS
Windows Server, Linux Server — focused on
stability, networking, and multi-user services.
Mobile OS
Android, iOS — tuned for power efficiency,
touch interfaces, and app ecosystems.
Embedded OS
RTOS and custom OS for appliances,
cameras, and IoT devices — real-time and
lightweight.
OS Services
System calls / API
Programs request services from OS.
File management
Reading/writing files.
Process Scheduling
Running multiple programs efficiently.
Security & Access Control
Managing user permissions.
User-Oriented Programs vs System Programs
System Programs / Application software → Word, Excel, Chrome.
Applications like Word, Excel, and Chrome that users directly interact with.
System Programs→ File managers, email programs, browsers included with
OS.
Utilities and tools (file managers, shells) that help operate, configure, and
maintain the OS.
Kernel → Core OS controlling hardware.
The core component that actually manages hardware and enforces protection
— typically not visible to end users.
Summary — Key
Takeaways
• OS is the bridge between users, applications, and hardware
Manages resources efficiently: CPU, memory, I/O devices
Provides services and interface for applications and users
Types of OS: Desktop, Server, Mobile, Embedded
• Users mostly see system programs and UI, not the kernel