GATE CSE Operating System PYQ analysis
Topic-wise weightage of Operating System from the 15 official GATE CSE papers on this site (2017–2026), with every question listed under the syllabus topics it tests.
8.3
average marks per paper
78
PYQs (2017–2026)
6 / 6
syllabus topics asked
#5 of 11
subjects by marks
Operating System weightage by year
Per paper; a year with two sessions shows their average. Of the 78 questions, 26 MCQ, 20 MSQ, 32 NAT; 47 carry 2 marks.
| Measure | 20172 papers | 2018 | 2019 | 2020 | 20212 papers | 2022 | 2023 | 20242 papers | 20252 papers | 20262 papers | Average |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Marks | 6 | 9 | 10 | 10 | 6.5 | 10 | 9 | 10 | 7.5 | 8.5 | 8.3 |
| Questions | 4 | 6 | 6 | 6 | 4.5 | 6 | 6 | 6 | 4.5 | 5 | 5.2 |
Operating System topic-wise weightage
Every topic of the official syllabus, most marks first. Year columns show marks per paper; marks count each question once, under its main topic, while “Questions” also counts supporting topics.
| Topic | 20172 papers | 2018 | 2019 | 2020 | 20212 papers | 2022 | 2023 | 20242 papers | 20252 papers | 20262 papers | Marks | Questions | Share |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Memory management and virtual memory | 1 | 1 | 2 | 3 | 1.5 | 4 | 4 | 2.5 | 3.5 | 2 | 35 | 20 | |
| CPU and I/O scheduling | 1.5 | 2 | 2 | 4 | 1 | 2 | 1 | 1 | 1.5 | 2.5 | 26 | 16 | |
| System calls, processes and threads | 1 | – | 1 | 1 | 1.5 | – | 2 | 2.5 | 0.5 | 1 | 17 | 15 | |
| Deadlock | 2 | 3 | 2 | – | 1 | 1 | – | – | 1 | 1 | 16 | 11 | |
| Inter-process communication, concurrency and synchronization | – | 2 | 1 | 2 | 1 | 1 | 2 | 2 | – | 1 | 16 | 10 | |
| File systems | 0.5 | – | 2 | – | 0.5 | 2 | – | 2 | 1 | 1 | 14 | 8 |
Operating System PYQs by topic
Newest first. A question can appear under up to three topics; one filed under another subject is marked with that subject.
Memory management and virtual memory
20 questions · 35 marks as main topic · asked in 10 of 10 years · last in 2026
- 2026 Session 2 · Q54Size of a TLB with 1 MB reach and 4 KB pages2M · NAT
- 2026 Session 2 · Q55Small holes left after best-fit allocation of two processes2M · NAT
- 2025 Session 1 · Q14Page table entries for a 32-bit logical address1M · MCQ
- 2025 Session 1 · Q54Page faults with optimal replacement limited to 4-reference lookahead2M · NAT
- 2025 Session 2 · Q47Identify the page replacement policy from a frame trace2M · MSQ
- 2025 Session 2 · Q58Outer page table index bits in two-level paging2M · NAT
- 2024 Session 1 · Q62Physical address of virtual address 2500 with 2 KB pages2M · NAT
- 2024 Session 2 · Q24Responsibilities of the MMU in a paging system1M · MSQ
- 2024 Session 2 · Q64Min and max page-table pages for 2000 pages in a 2-level table2M · NAT
- 2023 · Q57LRU page faults for column-wise access of int D[128][128]2M · NAT
- 2023 · Q58Levels of page table for 57-bit virtual addresses2M · NAT
- 2022 · Q38False statement about TLB, inverted and hashed page tables2M · MCQ
- 2022 · Q64Page fault rate with LRU and four frames2M · NAT
- 2021 Set 1 · Q21True statements about paging1M · MSQ
- 2021 Set 2 · Q58Minimum page-table memory for 2 GB with a three-level table2M · NAT
- 2020 · Q21Comparing leftover holes for first, next, best and worst fit1M · MCQ
- 2020 · Q63Effective memory access time with TLB, page faults and dirty pages2M · NAT
- 2019 · Q43Virtual addresses translatable without a TLB miss with 128 TLB entries2M · MCQ
- 2018 · Q20Page fault rate from effective memory access time1M · MCQ
- 2017 Session 1 · Q50Belady's anomaly: random page replacement and LRU2M · MCQ
CPU and I/O scheduling
16 questions · 26 marks as main topic · asked in 10 of 10 years · last in 2026
- 2026 Session 1 · Q59Disk transfer time for random sectors on tracks 5, 12, 72M · NAT
- 2026 Session 1 · Q64Average FCFS waiting time for alternating A and C processes2M · NAT
- 2026 Session 2 · Q23CPU scheduling algorithm that cannot be preemptive1M · MCQ
- 2025 Session 1 · Q38Average waiting time with two processors and different priorities2M · MCQ
- 2025 Session 2 · Q26Average turnaround time under SRTF scheduling1M · MCQ
- 2024 Session 2 · Q37Average waiting time under SRTF and non-preemptive SJF2M · MCQ
- 2023 · Q27CPU scheduling algorithms that can cause starvation1M · MSQ
- 2022 · Q42Round robin burst times inconsistent with given context switches2M · MCQ
- 2021 Set 1 · Q35Minimum average waiting time for bursts of 16, 20 and 10 ms1M · NAT
- 2021 Set 2 · Q24True statements about CPU scheduling1M · MSQ
- 2020 · Q45False statement about an SSTF disk schedule from cylinder 1002M · MCQ
- 2020 · Q60Difference of average turnaround times for SJF and RR (q = 4)2M · NAT
- 2019 · Q51Unknown burst time from average waiting time under SRTF2M · NAT
- 2018 · Q63Power consumed by SSTF disk scheduling with reversal cost2M · NAT
- 2017 Session 1 · Q34SRTF scheduling: average waiting time for four processes1M · NAT
- 2017 Session 2 · Q61Average waiting time under preemptive priority scheduling2M · NAT
System calls, processes and threads
15 questions · 17 marks as main topic · asked in 9 of 10 years · last in 2026
- 2026 Session 1 · Q63Number of printf calls with fork, continue and break2M · NAT
- 2025 Session 1 · Q29Times a process re-enters the ready queue due to I/O1M · NAT
- 2024 Session 1 · Q24True statements about threads1M · MSQ
- 2024 Session 1 · Q25Impossible process state transitions1M · MSQ
- 2024 Session 1 · Q57printf count for fork() inside a loop with wait()2M · NAT
- 2024 Session 2 · Q25Events that always move the running process out of running1M · MSQ
- 2023 · Q22What to save on a switch between threads of one process1M · MSQ
- 2023 · Q23Events that guarantee a switch from user to kernel mode1M · MSQ
- 2021 Set 1 · Q24C library functions that always make a system call1M · MSQ
- 2021 Set 2 · Q52Values printed by two processes each running two locked threads2M · MSQ
- 2020 · Q22Valid process state transitions under preemptive scheduling1M · MCQ
- 2019 · Q27fork() inside loop for even i from 0 to 9: number of child processes1M · NAT
- 2018 · Q19Order of events when an interrupt is servicedsupporting · 1M · MCQ
- 2017 Session 1 · Q28What threads of a process share: heap and global variables1M · MCQ
- 2017 Session 2 · Q17What all threads of a process share1M · MCQ
Deadlock
11 questions · 16 marks as main topic · asked in 7 of 10 years · last in 2026
- 2026 Session 1 · Q29False statements about deadlocks1M · MSQ
- 2026 Session 1 · Q35Minimum resource instances for deadlock freedom (5 processes, max 2)1M · NAT
- 2025 Session 2 · Q48Which process aborts make a resource graph deadlock-free2M · MSQ
- 2022 · Q26True statements about deadlock conditions and graphs1M · MSQ
- 2021 Set 1 · Q56Possible outcomes of five threads with double wait on a semaphoresupporting · 2M · MSQ
- 2021 Set 2 · Q53Resource scheme that kills and restarts the owner2M · MSQ
- 2019 · Q49Condition guaranteeing only processes p and q can complete2M · MCQ
- 2018 · Q34Largest maximum demand K that avoids deadlock1M · NAT
- 2018 · Q49Banker's algorithm safety check for four processes and resources E, F, G2M · MCQ
- 2017 Session 1 · Q37Minimum threads and non-reentrant locks for a possible deadlock2M · MCQ
- 2017 Session 2 · Q43Safe state and deadlock check with 9 tape drives2M · MCQ
Inter-process communication, concurrency and synchronization
10 questions · 16 marks as main topic · asked in 8 of 10 years · last in 2026
- 2026 Session 2 · Q51Possible output patterns of three processes using two semaphores2M · MSQ
- 2024 Session 1 · Q40Possible final values of a and b for two interleaved threads2M · MCQ
- 2024 Session 2 · Q46Possible outcomes of two threads using two semaphores2M · MSQ
- 2023 · Q38Minimum final X with binary vs counting semaphore2M · MCQ
- 2022 · Q19Semaphore initialisation that prints BCABCA...1M · MCQ
- 2021 Set 1 · Q56Possible outcomes of five threads with double wait on a semaphore2M · MSQ
- 2021 Set 2 · Q52Values printed by two processes each running two locked threadssupporting · 2M · MSQ
- 2020 · Q44What a semaphore barrier between code sections P and Q achieves2M · MCQ
- 2019 · Q33Race on shared D = 100 with D+20, D−50, D+10: max minus min final value1M · NAT
- 2018 · Q50Placing empty/full semaphores in a producer-consumer solution2M · MCQ
File systems
8 questions · 14 marks as main topic · asked in 7 of 10 years · last in 2026
- 2026 Session 2 · Q53Blocks needed for a linked list of free block numbers2M · NAT
- 2025 Session 1 · Q51Internal fragmentation for a 1 MB file with linked allocation2M · NAT
- 2024 Session 1 · Q54Number of cylinders in a 512 GB disk2M · NAT
- 2024 Session 2 · Q53Time to read 3000 randomly placed disk sectors2M · NAT
- 2022 · Q63Disk accesses to insert a block mid-file: contiguous vs linked2M · NAT
- 2021 Set 1 · Q25Directory operations needing a full scan of a linear list1M · MSQ
- 2019 · Q52Maximum file size with 12 direct, single- and double-indirect inode pointers2M · NAT
- 2017 Session 2 · Q18File allocation schemes with no external fragmentation1M · MCQ