Siksha Sarovar

Siksha Sarovar (sikshasarovar.com) is a free educational web application that helps students in India learn programming and prepare for academic and competitive exams. The platform offers structured coding courses (C, C++, Python, Java, HTML, CSS, PHP, Power BI, AI, Machine Learning, Data Science), complete university curriculum notes for BCA/MCA students with previous year question papers, Class 10 and Class 12 CBSE/HBSE school notes, and dedicated preparation material for SSC, UPSC, Banking, Railway and other government exams. Browsing the site is completely free and requires no account. Users may optionally sign in with Google solely to save their learning progress, quiz scores and personal preferences across devices.

Privacy Policy | Terms of Service | Contact Siksha Sarovar | About Siksha Sarovar

v4.0.9 · PWA
Siksha Sarovar logo
Siksha Sarovar
Your Learning Universe

Siksha Sarovar is a free e-learning platform for coding courses, BCA university notes and competitive exam preparation. Optional Google sign-in saves your learning progress across devices.

Initializing knowledge base…
Compiling modules 0%

Unit 2: Operating System — Concepts & Types

Lesson 18 of 34 in the free Fundamentals of IT & Computers notes on Siksha Sarovar, written by Rohit Jangra.

Unit II — Operating System: Concepts & Types

An Operating System (OS) is the most important piece of system software. It acts as an intermediary between the user and computer hardware, managing hardware resources and providing services to application programs.

---

What Does an OS Do?

FunctionDescription
Process ManagementCreates, schedules, and terminates processes
Memory ManagementAllocates and deallocates RAM to processes
File System ManagementOrganises files on storage devices; controls access
Device ManagementControls I/O devices via device drivers
Security & ProtectionUser authentication, access control
User InterfaceProvides CLI (Command Line) or GUI (Graphical) interface
Error HandlingDetects and handles hardware/software errors

---

Types of Operating Systems

1. Batch Processing OS

  • Jobs with similar requirements are grouped (batched) and processed together without user interaction.
  • No direct user-computer interaction during execution.
  • Example: Early IBM mainframe OS, punched card systems.
  • Advantage: High throughput for repetitive tasks.
  • Disadvantage: Long turnaround time; no real-time response.

2. Time-Sharing OS (Multitasking)

  • CPU time is divided into small time slices (quanta) and shared among multiple users/processes.
  • Each user gets the illusion of dedicated CPU access.
  • Example: UNIX, Linux, Windows.
  • Advantage: Good response time; supports multiple interactive users.

3. Real-Time OS (RTOS)

  • Designed for time-critical applications where response must occur within a guaranteed deadline.
  • Hard Real-Time: Missing deadline is catastrophic (missile guidance, pacemakers).
  • Soft Real-Time: Missing occasional deadlines is acceptable (streaming, gaming).
  • Example: VxWorks, FreeRTOS, QNX.

4. Distributed OS

  • Manages a collection of independent networked computers that appear as a single system to the user.
  • Resources (CPU, memory, files) are shared across nodes.
  • Example: Google's Borg, Apache Hadoop ecosystem.

5. Network OS

  • Provides networking features on top of a local OS; computers remain independent but share resources (files, printers).
  • Example: Windows Server, Novell NetWare.

---

Comparison Table

TypeUser InteractionResponse TimeExample
BatchNoneLowIBM JCL
Time-SharingMultiple usersGoodUNIX
Real-TimeEvent-drivenGuaranteedVxWorks
DistributedTransparentVariableGoogle Borg
NetworkResource sharingNetwork-dependentWindows Server

---

Popular Operating Systems

  • Windows — Microsoft; GUI-based; dominant in desktop market.
  • Linux — Open-source; used in servers, Android is Linux-based.
  • macOS — Apple; Unix-based; used on Mac hardware.
  • Android / iOS — Mobile operating systems.
Key Takeaway: The OS is the software layer that makes hardware usable. The five OS types — batch, time-sharing, real-time, distributed, and network — each address different operational requirements. Understanding their differences in response time, user interaction, and use-case is essential for exams.