GATE CS Operating System Previous Year Questions
10 solved GATE CS questions on Operating System, drawn from 1 exam year and grouped by year. Every question shows the official answer and a step-by-step solution.
GATE CS 202410 questions
- Set 1 Q24Which of the following statements about threads is/are TRUE?MSQ · +1 marks · Easy
- Set 1 Q25Which of the following process state transitions is/are NOT possible?MSQ · +1 marks · Easy
- Set 1 Q40Consider the following two threads T1 and T2 that update two shared variables a and b. Assume that initially a = b = 1. Though context switching between…MCQ · +2 marks · Medium
- Set 1 Q57Consider the following code snippet using the
fork()andwait()system calls. Assume that the code compiles and runs correctly, and that the system calls…NAT · +2 marks · Hard - Set 1 Q62Consider a memory management system that uses a page size of . Assume that both the physical and virtual addresses start from . Assume that the…NAT · +2 marks · Easy
- Set 2 Q24Which of the following tasks is/are the responsibility/responsibilities of the memory management unit (MMU) in a system with paging-based memory management?MSQ · +1 marks · Medium
- Set 2 Q25Consider a process P running on a CPU. Which one or more of the following events will always trigger a context switch by the OS that results in process P…MSQ · +1 marks · Medium
- Set 2 Q37Consider a single processor system with four processes A, B, C, and D, represented as given below, where for each process the first value is its arrival time,…MCQ · +2 marks · Medium
- Set 2 Q46Consider a multi-threaded program with two threads T1 and T2. The threads share two semaphores: s1 (initialized to 1) and s2 (initialized to 0). The threads…MSQ · +2 marks · Medium
- Set 2 Q64Consider a 32-bit system with 4 KB page size and page table entries of size 4 bytes each. Assume 1 KB = bytes. The OS uses a 2-level page table for…NAT · +2 marks · Hard
Other GATE CS topics
Practice Operating System with adaptive difficulty
Timed practice, skill tracking, and AI explanations — free to start.
Start practicing free