
Sem 4 OS exam coming up and everyone's gone quiet. The syllabus is long, the subject feels abstract, and the gtu os paper has a reputation for being "kuch bhi aa sakta hai."
Yaar, that's not true.
GTU repeats questions. A lot. The same scheduling numericals. The same deadlock conditions. The same semaphore problems. Students who know the repeaters walk in confident. Students who don't end up rona outside the hall.
This guide breaks it down: verified subject codes, the actual exam format (with marks), unit-by-unit weights from the official syllabus, and repeated topics counted across six real papers (W2020, S2021, W2021, W2022, S2023, W2024). Sources are gtu.ac.in and scet.ac.in official syllabi. Sab covered hai.
GTU OS Paper at a Glance
Subject Name: Operating System
Subject Code: 3140702
Semester: IV (Sem 4)
Branch: CE, IT, ICT
Theory ESE (End-Term): 70 marks
Theory PA (Internal): 30 marks
Practical ESE Viva: 30 marks
Practical PA: 20 marks
Grand Total: 150 marks
Duration (Theory): 2.5 hours
A second subject code, 3141601 (Operating System and Virtualization), is for the IT branch. Both are Semester IV. The section on old code vs new code explains what changed between the two.
Check your admit card to confirm which code applies to you.
GTU OS Exam Pattern: The Actual Paper Structure
This is where most students have the wrong idea going in. There are no MCQs. The paper is fully theory-based.
Confirmed from verified papers W2022, S2023, W2024, and W2025 from gtu.ac.in and askfilo.com:
Q1: (a) 3 marks + (b) 4 marks + (c) 7 marks = 14 marks. Compulsory. No OR choice.
Q2: Same (a)+(b)+(c) structure, 14 marks. OR applies to part (c) only — parts (a) and (b) are fixed.
Q3: Same structure, 14 marks. Full OR alternative for the entire question.
Q4: Same structure, 14 marks. Full OR alternative for the entire question.
Q5: Same structure, 14 marks. Full OR alternative for the entire question.
Total: 5 questions × 14 marks = 70 marks.
This is your weapon for the gtu sem 4 os paper. Q3 to Q5 each give you a full alternative: the entire question (a+b+c) is replaced by a different question. You pick one. If you don't know the topic in Q3(c), the OR might be something you practiced. Read both before answering anything.
No negative marking. No MCQs.
Unit-wise Weightage: Official GTU Syllabus Data
From the GTU 3140702 official syllabus (scet.ac.in, effective AY 2018-19), confirmed from the official PDF:
Unit 1 — OS Introduction and Basics: 10% (approx. 7 marks)
Unit 2 — Process Management and Scheduling: 15% (approx. 10.5 marks)
Unit 3 — Concurrency and Semaphores: 8% (approx. 5.6 marks)
Unit 4 — IPC and Synchronization: 15% (approx. 10.5 marks)
Unit 5 — Deadlock: 8% (approx. 5.6 marks)
Unit 6 — Memory Management: 15% (approx. 10.5 marks)
Unit 7 — I/O Management and Disk Scheduling: 10% (approx. 7 marks)
Unit 8 — Security and Protection: 7% (approx. 4.9 marks)
Unit 9 — Unix/Linux: 7% (approx. 4.9 marks)
Unit 10 — Virtualization: 5% (approx. 3.5 marks)
Units 2, 4, and 6 — scheduling, synchronization, and memory — together carry 45% of the marks. These three units alone can decide your result.
Most Repeated Topics in the GTU OS Paper
Based on 6 actual GTU papers from gtu.ac.in: W2020, S2021, W2021, W2022, S2023, W2024.
Deadlock conditions (all 4): 5 out of 6 papers (W2020, W2021, W2022, S2023, W2024)
Virtualization concept and benefits: 5 out of 6 papers (W2020, S2021, W2022, S2023, W2024)
Scheduling numerical (FCFS, SJF, RR, Priority): 4 out of 6 papers (W2020, W2021, S2023, W2024)
Producer-Consumer with semaphore: 4 out of 6 papers (W2020, W2021, S2021, W2024)
Process vs Thread / Thread types: 4 out of 6 papers (S2021, W2021, W2022, W2024)
PCB (Process Control Block): 3 out of 6 papers (W2020, W2022, S2023)
Banker's Algorithm: 3 out of 6 papers (W2022, S2023, W2024)
Page Replacement Algorithms (FIFO, LRU, Optimal): 3 out of 6 papers (S2021, W2021, W2024)
Dining Philosophers problem: 3 out of 6 papers (W2020, S2023, W2024)
Readers-Writers problem: 2 out of 6 papers (S2021, W2022)
Disk Scheduling numerical (SCAN, SSTF, C-SCAN): 2 out of 6 papers (W2020, S2021)
[CONFIRM: Session-wise counts above are based on the article source's claim of reviewing W2020, S2021, W2021, W2022, S2023, W2024 papers. Download and cross-verify from gtu.ac.in/Download1.aspx.]
Go through the actual GTU question papers with repeated questions on GTU Hero. Papers are available by subject and session.
Process Scheduling Numericals: 4 Papers Out of 6
This is the most consistent scoring area if you know the method cold.
FCFS (First Come First Served)
Arrange processes by arrival time. Draw Gantt chart. Compute waiting time = finish time minus arrival time minus burst time. Compute turnaround time = finish time minus arrival time.
SJF (Shortest Job First)
Non-preemptive: once a process starts, it runs to completion. Pick the shortest burst time available at each decision point.
Preemptive (SRTF): a new arrival can preempt the running process if its remaining burst time is shorter. Keep a remaining-burst-time column as you go. GTU S2023 asked for both FIFO and Round Robin in Q2(c). GTU W2024 asked for FCFS, Non-preemptive SJF, SRTF, and Round Robin all in Q4(c) together.
Round Robin
Time quantum is always stated in the question. Common student mistake: forgetting to carry remaining burst time forward after preemption. Draw a table with remaining burst time after each slot.
Priority Scheduling
Numeric priority value given for each process. Lower number usually means higher priority (unless stated otherwise). Ties: resolve by arrival time.
Exam tip: Draw the Gantt chart before computing averages. Examiners give partial marks. A correct chart with a wrong average beats a blank page.
Deadlock and Banker's Algorithm: 5 and 3 Papers Respectively
Four conditions for deadlock appeared in 5 out of 6 papers. Write these with one-line definitions each:
Mutual Exclusion: only one process can use a resource at a time
Hold and Wait: a process holds one resource and waits for another
No Preemption: a resource cannot be forcibly taken from a process
Circular Wait: a circular chain of processes, each waiting for a resource held by the next
Names alone are not enough. Define each one.
Banker's Algorithm appeared in W2022, S2023, and W2024. All three gave the full numerical: Allocation, Max, Available matrices. Steps:
Need = Max minus Allocation (compute for all processes)
Find a process whose Need row is less than or equal to Available
Add its resources to Available (simulate completion)
Repeat until either all processes finish (safe) or none can proceed (unsafe)
Practice with 4 to 5 processes and 3 resource types. GTU W2022, S2023, and W2024 all used this configuration.
Memory Management and Page Replacement
Theory questions that repeat:
Logical vs physical address (W2024 Q4(a), S2023 Q4(a))
Internal vs external fragmentation (W2022 Q4(b), W2024 Q3(b))
Paging with TLB (W2022 Q4(c), W2024 Q4(b))
Page replacement appeared in 3 papers: S2021, W2021, and W2024 Q5(c). GTU gives a reference string and a frame count. Calculate page faults for:
FIFO: replace the oldest page in memory
LRU: replace the page unused for the longest time (look back)
Optimal: replace the page not needed for the longest time ahead (look forward)
Optimal gives the fewest page faults but is not practical in real systems (requires future knowledge). GTU asks this comparison regularly.
Address translation numerical (W2024 Q4(b)): Given page size and a logical address: Page number = logical address divided by page size. Offset = logical address mod page size. Physical address = (frame number from page table × page size) + offset. Watch units: KB vs bytes.
Process Synchronization: Semaphores and Classic Problems
Producer-Consumer appeared in 4 out of 6 papers. This is the highest repeat count for any single theory-plus-pseudocode question.
Critical section — three requirements:
Mutual Exclusion: one process in the critical section at a time
Progress: a process must be allowed in within finite time when the section is free
Bounded Waiting: a process cannot wait forever
Any question asking "requirements of a critical section solution" wants these three. W2022 Q3(a) asked to define Critical section, Mutual exclusion, and Bounded waiting exactly.
Semaphore (appeared in W2021, S2021, S2023, W2024): An integer variable for synchronization. Two operations:
wait/P: if value > 0, decrement; else block the process
signal/V: increment; wake a blocked process if any
Binary semaphore = 0 or 1. Counting semaphore = any non-negative value.
Classic problems and their appearance count:
Producer-Consumer: W2020, W2021, S2021, W2024 (4 papers)
Dining Philosophers: W2020, S2023, W2024 (3 papers)
Readers-Writers: S2021, W2022 (2 papers)
For Producer-Consumer, GTU typically asks: "What is semaphore? Solve the producer consumer problem with semaphore." Practice writing the pseudocode from memory. The structure is the same every time.
File Systems and Disk Scheduling
File system theory repeats across papers as shorter sub-questions (3 or 4 mark parts).
File allocation methods (all three can come as a 7-mark question):
Contiguous: fast sequential and direct access, external fragmentation
Linked: no external fragmentation, no direct access, pointer overhead
Indexed: flexible, direct access, index block overhead
Directory structures: single-level, two-level, tree-structured. Know one-line distinctions.
Disk scheduling numericals appeared in W2020 and S2021:
W2020 Q4(c): cylinders 10, 22, 20, 2, 40, 6, 38 with head at 20, asking FCFS and Closest Cylinder Next (SSTF)
S2021: SSTF and C-SCAN numericals
W2024 Q5(b) OR: "Explain Disk arm scheduling algorithms" (4 marks, explanation only)
Practice SCAN and C-SCAN numericals. For SCAN: head moves in one direction, services requests on the way, then reverses. For C-SCAN: head moves in one direction, jumps back to start without servicing on return.
Old Code vs New Code: 3140702 vs 3141601
Both are Semester IV subjects. Both took effect from AY 2018-19. Confirmed from official syllabus PDFs from scet.ac.in.
3140702 — Operating System:
Branch: CE, IT, ICT
10 units (Units 1–10)
Unit 8: Security and Protection (7%)
Unit 10: Virtualization Concepts (5%) — one unit only
3141601 — Operating System and Virtualization:
Branch: [CONFIRM: article states IT-only, but the official syllabus PDF lists branch as "BE" without specifying. Confirm from GTU or your admit card.]
10 units (Units 1–10, restructured)
Security and Protection: removed entirely — no dedicated unit in this code
Units 9 and 10 both cover virtualization: Unit 9 is Virtualization Concepts (5%), Unit 10 is Approaches to Virtualization (8%), covering VMware ESXi, Hyper-V, Xen, Java VM, Linux VServer, Android VM
The key difference: 3141601 drops the Security and Protection unit and dedicates two full units to virtualization instead of one. 3140702 has only one virtualization unit at 5%. If your code is 3141601, your paper will likely ask at least one virtualization question beyond the basics. Everything else in this guide applies to you fully.
How to Use GTU OS Previous Year Question Papers Smartly
Just downloading papers is not a study plan. Here's one that works, based on actual GTU paper patterns:
Day 1: Read all 6 papers. Mark the questions that appeared in 3 or more sessions.
Day 2–3: Solve all scheduling numericals. Check Gantt charts question by question.
Day 4: Solve all Banker's Algorithm problems without notes.
Day 5: Solve page replacement numericals: FIFO, LRU, Optimal for each reference string.
Day 6: Write Producer-Consumer pseudocode from memory. Revise deadlock definitions.
Day 7: One full paper under exam conditions. 2.5 hours. No notes.
Last night: Write the 4 deadlock conditions and 3 critical section requirements from memory once. Review Round Robin Gantt chart steps once. Read through Banker's Algorithm steps once, slowly. Then sleep. Raat bhar jaagna makes the numerical brain slower the next morning.
Papers sorted by session: GTU question papers with repeated questions on GTU Hero.
For a look at the same approach applied to another subject: how we counted repeated sums in Maths 2.
Common Mistakes in the GTU OS Paper
Skipping the Gantt chart. Every scheduling numerical needs one. Draw it, then compute. You get partial marks for a correct chart even if the averages are wrong.
Not reading both OR options. Q3 to Q5 each have a full OR. Q2 has an OR on part (c) only. Read both before choosing. W2024 Q4's OR swapped from scheduling algorithms to memory allocation. Students who only read Q4's first option missed a potentially easier choice.
Vague definitions. "Semaphore is used for synchronization" gets you 1 mark, not 3. Define it, give the P and V operations, give a use case.
Wrong units in page replacement. Re-read whether frame count is 2, 3, or 4 before computing page faults. Using the wrong frame count loses the entire question.
Skipping disk scheduling. Two papers had numericals, more had explanation questions. It's predictable and fast to solve. Easy 4 to 7 marks sitting there.
Spending too long on Q1. Q1 has no OR. If part (c) is difficult (7 marks), write what you know and move on. Don't let one sub-question cost you time on Q2 to Q5.
FAQs: GTU OS Question Paper
What is the subject code for the GTU OS question paper?
3140702 (Operating System) for CE, IT, and ICT branches in Sem 4. IT students may also be on 3141601 (Operating System and Virtualization), also Sem 4. Both codes took effect from AY 2018-19. Check your admit card to confirm.
Where can I find GTU operating system question papers from previous years?
GTU Hero has them sorted by subject and session at GTU question papers with repeated questions. The official source is gtu.ac.in, but navigation there is slow. The URL pattern for official papers is gtu.ac.in/uploads/[SESSION]/BE/3140702.pdf — for example, gtu.ac.in/uploads/S2023/BE/3140702.pdf.
How many marks is the GTU Sem 4 OS paper?
The theory end-term exam is 70 marks over 2.5 hours. Internal assessment adds 30 marks. Theory total: 100. The practical component (viva + internal) adds another 50 marks. Grand total for the subject: 150 marks.
Which topics carry the most marks in the GTU OS previous year question paper?
Deadlock conditions (5 out of 6 papers), virtualization basics (5 out of 6), scheduling numericals and Producer-Consumer (4 out of 6 each). These five areas can cover a large portion of any paper.
Is the GTU OS paper the same for CE and IT students?
3140702 is the common paper for CE, IT, and ICT branches. IT students may be on 3141601 instead, which has a different paper. Both cover the same core OS topics, but 3141601 includes more on virtualization and drops the Security and Protection unit.
What is different in 3141601 compared to 3140702?
3141601 removes the Security and Protection unit and adds deeper coverage of virtualization across two units (Unit 9 and Unit 10), covering Type 1 vs Type 2 hypervisors, VMware ESXi, Hyper-V, Xen, Java VM, and more. The core OS content (scheduling, deadlock, memory, file systems) is the same in both. Total unit count is 10 in both codes.
Conclusion
Once you've looked at six or seven papers, the gtu os paper stops looking scary. The same question types come back session after session. The same deadlock conditions. The same semaphore problems. The same Banker's Algorithm setup.
You don't need to cover every line of the syllabus. You need to cover the right lines, deeply and repeatedly.
Pull the papers from GTU Hero, mark the repeaters from the table above, and solve them without looking at notes. That's the whole plan.
Ab jao. Papers download karo. Padhai shuru karo.
Sources
GTU Syllabus, Subject Code 3140702, Operating System, w.e.f. AY 2018-19: https://scet.ac.in/upload/syllabus/3140702.pdf
GTU Syllabus, Subject Code 3141601, Operating System and Virtualization, w.e.f. AY 2018-19: https://scet.ac.in/upload/syllabus/3141601.pdf
GTU Question Paper Repository (official): https://www.gtu.ac.in/Download1.aspx
GTU OS Past Paper solutions (S2021): https://gtumedium.blogspot.com/2022/05/GTU-SEM-4-OS-Paper-Solution.html
GTU OS W2025 Paper: https://askfilo.com/exams/3140702-operatingsystem-2025-previous-year-question-paper