GATE Operating System: System Calls, Processes, Threads and IPC – Previous Year Questions
21 GATE previous year questions on System Calls, Processes, Threads and IPC (Operating System, Computer Science) with answers and explanations, from every paper.
21 questions worth 26 marks in all (16 1-mark, 5 2-mark). Asked between 2007 and 2026, so you can see how the topic has been tested over time.
- GATE 2007 CS Q17 – Which statement about user/kernel-level threads is FALSE?
- GATE 2008 CS Q64 – Which statement about synchronous/asynchronous I/O is NOT true?
- GATE 2008 CS Q66 – A process executes the code below. How many child processes are created?
- GATE 2021 CS (CS2) Q52 – Processes P1,P2 each execute this code with ordinary process-private globals; each creates two threads. Which statements hold?
- GATE 2015 CS (CS3) Q14 – For a system with n CPUs, the maximum number of processes in the Ready state is
- GATE 2011 CS Q16 – User-to-kernel mode switch time is t₁; switching between two processes takes t₂. Which is true?
- GATE 2011 CS Q26 – An OS maintains smaller per-thread structures than per-process structures. Which statement is true?
- GATE 2012 CS Q18 – A process executes fork(); fork(); fork();. How many child processes are created?
- GATE 2017 CS (CS2) Q17 – Which are shared by all threads of one process? I: Program counter. II: Stack. III: Address space. IV: Registers.
- GATE 2014 CS (CS1) Q30 – Which thread statement is FALSE?
- GATE 2017 CS (CS1) Q28 – Threads of a process share
- GATE 2019 CS Q27 – The following C program is executed on a Unix/Linux system: The total number of child processes created is .
- GATE 2026 CS (CS1) Q63 – Consider the following program snippet. Assume that the program compiles and runs successfully. Further, assume that the `fork()` system call is…
- GATE 2024 CS (CS2) Q25 – Consider 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…
- GATE 2024 CS (CS1) Q24 – Which of the following statements about threads is/are TRUE?
- GATE 2024 CS (CS1) Q25 – Which of the following process state transitions is/are NOT possible?
- GATE 2024 CS (CS1) Q57 – Consider the code: The total number of times the printf statement is executed is
- GATE 2023 CS Q22 – Which one or more of the following need to be saved on a context switch from one thread (T1) of a process to another thread (T2) of the same process?
- GATE 2023 CS Q23 – Which one or more of the following options guarantee that a computer system will transition from user mode to kernel mode?
- GATE 2021 CS (CS1) Q24 – Which of the following standard C library functions will always invoke a system call when executed from a single-threaded process in a UNIX/Linux…
- GATE 2020 CS Q22 – Consider the following statements about process state transitions for a system using preemptive scheduling. I. A running process can move to ready…