Operating Systems for UPSC ISS

Published 13 October 2026 · 12 min read · By Shyam Agrawal

Operating Systems for UPSC ISS is the second heaviest topic in the entire Computer section, behind only internet and security.

Quick answer. Operating systems have produced 28 questions in the last ten papers, an average of 2.8 a year, or 7 marks. That is a seventh of the whole Computer section sitting in one article. The questions cluster around six things: what the OS does, the types of OS, process states, CPU scheduling, deadlock, and memory management.

Statistics Paper I, Section IV. Syllabus item: operating systems. Three words in the syllabus, 28 questions in ten years.

What the operating system does

The OS is the interface between hardware and user. Without it, no application can run. Its functions are asked directly, so learn them as a list.

FunctionWhat it manages
Process managementCreating, scheduling and terminating processes
Memory managementAllocating and freeing memory, paging, swapping
File managementNaming, saving, deleting, organising files and permissions
Device managementInput and output devices through drivers
Security managementAccess control and protection from unauthorised use

The file manager handles naming, saving and deleting files. All three, asked as a set.

The goals of an operating system are efficient use of the CPU, the memory, and the input and output devices. All three, asked as a set.

A trap worth naming. An OS is crucial because it controls the hardware and manages files and directories. Running antivirus software and allowing a Google search are not OS functions. Those belong to utility software and to an application. Both have appeared as wrong options.

Types of operating system

TypeDefining feature
Batch processingSimilar jobs grouped and run together. No user interaction while the batch runs
Time sharingMany users share one machine, the CPU switches so fast each feels alone
MultitaskingSeveral programs run at once on one machine
MultiprocessingMore than one physical CPU, sharing common memory and a common bus
Real time, RTOSResponds to an event within a predetermined time. Used in ATMs, flight control, medical devices
EmbeddedBuilt into a specific device and does only that device’s job
DistributedMany machines, each with its own memory, connected by a network. Does not share common memory or a common bus

Distributed against multiprocessor. This is the question. A multiprocessor system has several CPUs sharing one memory and one bus. A distributed system has separate machines with no shared memory and no shared bus, which is why they must communicate by passing messages. The question “which system does not share common memory and common bus” has one answer, and it is distributed.

Linux is not a real time operating system. It is a general purpose, time sharing OS. MTOS, LynxOS and RTX are real time systems. Linux appearing in a list of RTOS names is the trap.

UNIX and Linux

PointFact
Core component of UNIXThe kernel, which talks directly to the hardware
The shellThe outer layer that interprets user commands. Not the core
UNIX is written inC
Linux isOpen source, freely modifiable
Linux is classified asMulti user, multitasking and multiprocessor
Windows, iOS, MS DOSProprietary, not open source

If the goal is to reduce the cost of developing and maintaining software, the answer is an open source operating system, which in practice means Linux.

The core component of UNIX has been asked twice, in 2018 and 2023, and again in 2026. The answer is the kernel every time.

Process states

A process is a program in execution. It moves through a fixed set of states.

StateMeaning
NewBeing created
ReadyWaiting for the CPU to be assigned
RunningInstructions are being executed
Waiting or BlockedWaiting for input, output or some event
TerminatedFinished

The sequence is New, Ready, Running, Waiting, Terminated. A process can move from Running back to Ready when its time slice expires, and from Waiting back to Ready when the event it needed occurs.

Deadlock is not a process state. It is a situation involving two or more processes, not a state a single process sits in. That was asked directly in 2026 and it is the cleanest possible test of whether the list above was memorised or understood.

CPU scheduling

Scheduling decides the order in which ready processes get the CPU.

AlgorithmHow it choosesPre-emptive?
First Come First Serve, FCFSWhoever asked firstNo
Shortest Job First, SJFShortest execution time firstThe basic form is not
Priority schedulingHighest priority rank firstEither form exists
Round Robin, RREach process gets a fixed time slice, then goes to the back of the queueYes

Round Robin is the one allocated a specific time period or time slice. That is the question, asked in exactly those words, and the time slice is also called the time quantum.

Deadlock

A deadlock is a situation where processes are each holding a resource and waiting for one another, so none can proceed. Four conditions must hold at the same time for it to be possible.

ConditionMeaning
Mutual exclusionAt least one resource can be held by only one process at a time
Hold and waitA process holds one resource while waiting for another
No pre-emptionA resource cannot be forcibly taken away
Circular waitA closed chain of processes, each waiting on the next

All four are necessary. Break any one of them and deadlock cannot occur. A 2022 question listed the first three and asked under which conditions deadlock may arise. All three listed are genuine necessary conditions, so all three belong in the answer.

Interprocess communication

When two processes need to exchange data, there are two mechanisms.

MethodHow it worksUsed in
Shared memoryBoth processes read and write a common region of memorySystems that share memory
Message passingOne process sends a message, the other receives itDistributed systems

Cache memory is not an interprocess communication method. It is a hardware speed device with no role in letting processes talk to each other, and it has sat in the options as a distractor.

In a distributed system the answer is always message passing, because by definition there is no shared memory to use.

Memory management

TechniqueWhat it dividesBlock size
PagingLogical memory into pages, physical memory into framesFixed
SegmentationMemory into segments following the program’s logical structureVariable
SwappingMoves whole processes between memory and diskWhole process
Demand pagingBrings a page into memory only when it is neededFixed

Paging with swapping is also known as demand paging.

A page fault occurs when a program accesses a page that is not currently in memory. The OS then fetches it from disk. A page fault is normal behaviour, not an error.

The virtual address is mapped to the physical address by paging, using a page table.

A correction worth making. Most notes say paging divides memory into blocks called pages. More precisely, logical memory is divided into pages and physical memory into frames, and the page table maps one to the other. If a question separates the two words, this is why.

Worked Example 1: Following one process through its states

A program is launched, waits for the user to type something, then finishes.

StageStateWhy
1. LaunchedNewBeing created by the OS
2. QueuedReadyWaiting its turn for the CPU
3. ExecutingRunningThe CPU is assigned to it
4. Time slice expiresReadyPushed back into the queue, not blocked
5. Asks for keyboard inputWaitingBlocked until the user types
6. User typesReadyThe event occurred, back to the queue
7. FinishesTerminatedDone

Steps 4 and 5 are the ones that separate candidates. A process pushed out by Round Robin goes to Ready. A process waiting for input goes to Waiting. They are not the same and the paper has asked for the sequence.

Worked Example 2: Round Robin in action

Three processes, each needing 10 milliseconds of CPU, with a time slice of 4 milliseconds. What is the order of execution?

RoundP1P2P3
14 ms, 6 left4 ms, 6 left4 ms, 6 left
24 ms, 2 left4 ms, 2 left4 ms, 2 left
32 ms, done2 ms, done2 ms, done

Every process gets the CPU before any process gets it twice. That fairness is the entire purpose of Round Robin, and it is the reason it is pre-emptive while FCFS is not.

Worked Example 3: Breaking a deadlock

Four cars arrive at a four way junction at once, each blocking the one to its left.

ConditionPresent?Break it by
Mutual exclusionYes, one car per spaceCannot be removed here
Hold and waitYes, each holds its space and waitsRequiring all space before entering
No pre-emptionYes, nobody can be pushed outAllowing reversing
Circular waitYes, a closed loop of fourMaking one car reverse

Break one condition and the deadlock ends. In real systems circular wait is the easiest to attack, usually by forcing resources to be requested in a fixed order.

How This Gets Asked

The system with no shared memory [2019]

Which one of the following systems does not share common memory and common bus?

Distributed system. A multiprocessor system shares both. This single distinction then explains the 2024 question about interprocess communication in distributed systems, where the answer is message passing, precisely because there is no shared memory available.

Two questions, five years apart, resting on one definition.

The state that is not a state [2026]

Which one of the following is not a process state? (a) Ready (b) Executing (c) Deadlock (d) Terminated

Deadlock. Ready, executing and terminated are all states a single process occupies. Deadlock is a condition involving several processes and their resources.

This is what a well set two mark question looks like. Nothing obscure, no calculation, and it separates candidates who listed the states from candidates who read about them.

The kernel, three times [2018, 2023, 2026]

The core component of UNIX is [2018]

Which one of the following is the core component of UNIX? [2023]

Which one of the following is the central part of UNIX operating system that manages and controls the communication between various hardware and software components? [2026]

Kernel, all three times, with the shell sitting in the options on every occasion.

Three papers over nine years, one word. If you are ever unsure whether learning a single term is worth the effort, this is the answer.

Quick Revision Table

PointValue
OS isThe principal component of system software
OS functionsProcess, memory, file, device and security management
Goals of an OSEfficient use of CPU, memory and I/O devices
File manager handlesNaming, saving, deleting files
Batch OSJobs grouped, no user interaction during the run
Time sharing OSMany users, rapid CPU switching
Real time OSResponds within a predetermined time
Not a real time OSLinux
Embedded OSBuilt into one device for one job
Multiprocessor systemSeveral CPUs, shared memory and bus
Distributed systemSeparate machines, no shared memory or bus
Core component of UNIXKernel
The shell isThe command interpreter, not the core
UNIX is written inC
Open source OSLinux
Linux isMulti user, multitasking, multiprocessor
Process statesNew, Ready, Running, Waiting, Terminated
Deadlock isA situation, not a process state
Deadlock conditionsMutual exclusion, hold and wait, no pre-emption, circular wait
Round Robin givesA fixed time slice, also called a time quantum
Round Robin isPre-emptive
IPC methodsShared memory and message passing
IPC in distributed systemsMessage passing
Cache memory as IPCNo
Paging dividesLogical memory into pages, physical into frames
Segmentation blocksVariable size
Paging with swappingDemand paging
Page faultAccess to a page not currently in memory

Practice Set

Ten questions. No answer key below.

Write your answers in the comments, all ten in a single comment, in the format 1-b 2-a 3-d and so on. The full answer key is posted in this same thread after seven days.

A year in brackets means the question is from that paper.

  1. The file manager is responsible for 1. Naming files 2. Saving files 3. Deleting files Which of the above are correct? [2017]
  2. Which one of the following systems does not share common memory and common bus? [2019]
  3. Which one of the following is not a real time operating system? [2021]
  4. Consider the following conditions: 1. Mutual exclusion 2. Hold and wait 3. No pre-emption Under which of the above conditions may a deadlock situation arise? [2022]
  5. What is the correct sequence of a cycle of a process in execution? [2022]
  6. Consider the following terms: 1. Shared region 2. Cache memory 3. Message passing 4. Shared memory Which of the above are related to interprocess communication? [2022]
  7. Which of the following are the goals of an operating system? 1. Efficient use of CPU 2. Efficient use of memory 3. Efficient use of I/O devices [2022]
  8. Which one of the following methods is used for interprocess communication in distributed systems? [2024]
  9. Consider the following: I. Multi user II. Multitasking III. Multiprocessor Which of the above are correct in respect of the Linux operating system? [2025]
  10. A page fault in an operating system [2026]

Frequently Asked Questions

How many questions come from operating systems in UPSC ISS?

Twenty eight across the ten papers from 2017 to 2026, about 2.8 a year, worth 7 marks. It is the second heaviest topic in the Computer section after internet and security.

What is the difference between a distributed system and a multiprocessor system?

A multiprocessor system has several CPUs sharing one memory and one bus. A distributed system has separate machines with their own memory, connected by a network, sharing neither.

Is deadlock a process state?

No. The process states are new, ready, running, waiting and terminated. Deadlock is a situation involving several processes competing for resources, and it has been asked as the odd one out.

What are the four conditions for deadlock?

Mutual exclusion, hold and wait, no pre-emption and circular wait. All four must hold at the same time, so breaking any one of them prevents deadlock.

Which scheduling algorithm uses a time slice?

Round Robin. Each process gets a fixed time quantum, then moves to the back of the ready queue, which makes it pre-emptive and fair.

Is Linux a real time operating system?

No. Linux is a general purpose, time sharing, multi user operating system. MTOS, LynxOS and RTX are real time systems, and Linux appearing beside them is a standard trap.

What is the core component of UNIX?

The kernel. It manages memory, processes and hardware communication. The shell is the outer command interpreter and is the usual wrong option.

What is a page fault?

An access to a page that is not currently in main memory. The operating system fetches it from disk and continues. It is normal behaviour in demand paging, not a system error.

Related Reading

Part 7 of 16 in the Computer Series for UPSC ISS. Previous: System Software for UPSC ISS. Next: Packages, Utilities and Statistical Software for UPSC ISS, published 15 October at 8:00 AM.

Shyam Agrawal, founder of StatChakravyuh

Shyam Agrawal

MSc from IIT Bombay. IIT JAM All India Rank 51. Founder of StatChakravyuh, where he builds practice programs for UPSC ISS, UGC NET, IIT JAM and GATE Statistics. Every syllabus and date on this site is checked against the official notification before publishing.

UPSC ISS 2027 · Complete Chakravyuh

Stop buying tests one by one. Get all 6 papers in one package.

Complete Chakravyuh is the complete UPSC ISS test series for 2027. More than 6000 questions across all 6 papers, with every descriptive answer evaluated within 3 days. Practice. Improve. Repeat.

6000+Questions
All 6Papers Covered
6 + 1Courses in One
3 DaysAnswer Evaluation
₹8,999 ₹15,999 Limited period price

Have a doubt or suggestion? Message us on WhatsApp

0 0 Upvotes
Article Rating
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
0
Got a similar doubt? Discuss here.x
()
x
Chat with us