Learn the GATE CSE 2027 Operating System syllabus, key formulas, weightage, PYQs, and revision strategy.
When one associates every subject associated with Operating Systems to a real-world query, it makes the study process easier. Which process runs on the CPU next?
What will occur when two different threads make a change to a specific variable? How will a program retrieve the data from disk that is not loaded on the RAM now?
All these queries are related to the following subjects, namely: scheduling, synchronization, virtual memory, etc. In order to plan for GATE exams efficiently, you have to understand the basic principles and work with the practical applications of the concepts studied.
Use this as a study checklist and compare it with the official syllabus for your examination year.
|
Area |
Main topics |
Additional information |
|
OS basics |
Functions, system calls, kernels and execution modes |
Understand how applications request OS services and why privileged operations need kernel mode |
|
Process management |
Process states, PCB, threads, context switching and IPC |
Trace state changes and distinguish shared thread resources from each thread’s private stack and registers. |
|
Synchronization |
Critical sections, mutexes, semaphores and monitors |
Practise execution sequences to identify race conditions, blocking and mutual exclusion |
|
Deadlocks |
Conditions, prevention, avoidance, detection and recovery |
Draw Gantt charts to calculate completion, waiting, turnaround and response times. |
|
CPU scheduling |
FCFS, SJF, SRTF, Round Robin and priority scheduling |
Practise address-bit calculations, page-table sizes and effective access time. |
|
Memory management |
Address translation, paging, segmentation and TLB |
Trace FIFO, LRU and optimal replacement to count page faults; understand Belady’s anomaly. |
|
Virtual memory |
Demand paging, page replacement and thrashing |
Calculate file capacity from block and pointer sizes, and compare allocation methods. |
|
File systems |
Allocation methods, directories, inodes and free space |
Compare allocation methods and calculate maximum file size using block and pointer sizes. |
|
I/O and disk scheduling |
Buffering, spooling and disk scheduling algorithms |
Distinguish buffering from spooling. Practice request order and total head movement for FCFS, SSTF, SCAN and LOOK. |
If you're preparing Operating Systems for GATE CSE 2027 some topics need practice than others. Focus on the following areas while solving previous-year questions (PYQs).
Preparation tip: Don't skip a topic just because it seems difficult. A few focused practice sessions can help you understand common question patterns and avoid mistakes in the exam.
Note: Treat the weightage in your table as a trend, not a fixed prediction. The number of questions and marks from each topic can vary from year to year.
|
Type |
Idea |
Example use |
|
Batch |
Jobs grouped and run without interaction |
Payroll runs |
|
Multiprogramming |
Several jobs in memory to keep the CPU busy |
General systems |
|
Time sharing |
CPU switched fast between users |
Desktops, servers |
|
Real time (hard / soft) |
Deadlines must be met |
Flight control, media |
|
Distributed |
Many machines act as one |
Clusters |
I see a system call as the way a user program asks the kernel for a service, such as fork, exec, read, write or open. I notice that the system call switches the CPU from user mode to kernel mode by using a trap. I understand that the system call then runs the kernel routine and finally returns the CPU to user mode. I observe that library functions such as printf wrap system calls but library functions are not system calls themselves.
I know that the kernel is the part of the OS that runs with full hardware privilege. I notice that a mode bit in the CPU tells whether code runs in user mode or kernel mode. I understand that user mode is restricted while kernel mode is privileged. I see that instructions such as I/O access and changing memory mapping are privileged; if a privileged instruction runs, in user mode a trap is raised.
|
Point |
Monolithic |
Microkernel |
|
Services in kernel |
Almost all (file system, drivers, networking) |
Only minimal (IPC, scheduling, memory basics) |
|
Speed |
Faster, fewer mode switches |
Slower, more message passing |
|
Reliability |
A driver bug can crash the system |
A failing service restarts alone |
|
Example |
Linux (classic design) |
MINIX, QNX |
Power on firmware (BIOS or UEFI) runs a power-on self test, finds a boot device, loads the bootloader, which loads the kernel into memory, and the kernel starts the first process and the rest of the system.
Where GATE sets the trap: a library call is not a system call, and the mode bit changes on a trap, not on a normal function call.
|
Topic |
Formula or rule |
|
Turnaround time |
Completion - Arrival |
|
Waiting time |
Turnaround - Burst |
|
Deadlock-free resources |
R >= n(m - 1) + 1 |
|
Need (Banker's) |
Max - Allocation |
|
Page table size |
Pages x entry size |
|
EAT with TLB |
h(t + m) + (1 - h)(t + 2m) |
|
EAT with page faults |
(1 - p)m + ps |
|
Fork count |
2^n - 1 children for n sequential forks |
|
Max file size (inode) |
(D + B/P + (B/P)^2 + (B/P)^3) x B |
|
Disk access time |
Seek + Rotation + Transfer |
A process is a program that is running. The OS manages the creation of a process, the time that a process uses the CPU, the resources that a process uses and the termination of a process.
A process moves through five states: Ready, Running, Waiting and Terminated. In the Ready state a process waits for the CPU. In the Waiting state a process waits for an event, such as an I/O operation to finish.
The Process Control Block (PCB) holds information about a process, such as the ID of a process, the state of a process, the CPU context of a process and the resource details of a process. During a context switch the OS saves the context of one process. Restores the context of another process.
|
Feature |
Process |
Thread |
|
Memory |
Separate address space |
Shared within its process |
|
Creation and switching |
Generally costlier |
Generally lighter |
|
Communication |
Uses IPC mechanisms |
Can access shared data |
|
Failure impact |
Usually isolated |
May affect the entire process |
The OS gives memory to processes, keeps each process's memory area safe and handles memory use in a way.
Logical, vs Physical Address
Physical memory uses frames while logical memory uses equal‑sized pages. The page table maps pages to frames.
Formula:
Page table size = Number of entries × Entry size
Example: a 32‑bit address, with 4 KB pages has a 12‑bit offset and a 20‑bit page number. With 4‑byte entries the page table size is 4 MB.
Multilevel paging divides page tables into levels to save memory.
The TLB caches recent page table entries.
Effective Access Time (EAT):
EAT = h(t + m) + (1 − h)(t + 2m)
Here, h = hit ratio, t = TLB access time, and m = memory access time.
Uses one entry per physical frame, reducing page table memory but requiring efficient lookup.
|
Paging |
Segmentation
|
|
Fixed-size pages |
Variable-size segments |
|
Not visible to programmers |
Reflects logical program divisions |
|
Internal fragmentation |
External fragmentation |
GATE Tip: Check address bits, page size, and entry size carefully in numericals.
Demand Paging and Page Faults
Demand paging loads pages on an "as needed" basis. When a requested page is not available in RAM, it results in a page fault.
GATE Tip: Consider the initial loading of pages as page faults.
|
Allocation method |
How it works |
|
Contiguous |
Stores blocks consecutively for fast access |
|
Linked |
Connects blocks through pointers |
|
Indexed |
Keeps block addresses in an index block |
An inode holds file metadata and block pointers. With D direct pointers and one pointer at each indirect level, its addressable file capacity is:
Maximum file size=D+n+n2+n3B,n=BP
Here, B is block size and P is pointer size.
Directories may use single-level, two-level, tree or graph structures. Free space is tracked using bitmaps, linked lists, grouping or counting.
Example Numerical
Queue: 82, 170 43 140 24 16 190. Initial head: 50.
|
Algorithm |
Total head movement |
|
FCFS |
642 |
|
SSTF |
208 |
|
SCAN |
332 |
|
LOOK |
314 |
Assumption: Cylinders 0–199, moving upward first for SCAN and LOOK.
Spooling vs Buffering
Final Revision Tip: Focus on paging formulas, page replacement, inode calculations, and disk scheduling numericals. Practise GATE PYQs after each topic.
Write one page per unit, with only definitions you could be asked, the formula, one worked example and your own trap list. Re-read your notes, not the textbook.
|
Day |
Revise |
|
1 |
Basics, processes, threads, IPC |
|
2 |
Synchronization with semaphore code tracing |
|
3 |
Deadlock and Banker's algorithm |
|
4 |
CPU scheduling Gantt charts |
|
5 |
Paging, TLB, page table numericals |
|
6 |
Page replacement, thrashing, files |
|
7 |
Disk scheduling, formula sheet, error log |