GATE CS 2024 (Afternoon) — Question 25

Operating Systems (OS)System Calls, Processes, Threads, InterProcess CommunicationMSQ1 markEasy

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 process P moving to a non-running state (e.g., ready, blocked)?
  1. A
    P makes a blocking system call to read a block of data from the disk.
  2. B
    P tries to access a page that is in the swap space, triggering a page fault.
  3. C
    An interrupt is raised by the disk to deliver data requested by some other process.
  4. D
    A timer interrupt is raised by the hardware.
Practise the full 2024-AN paper
Challenge a friend: WhatsApp Telegram
Recommended book · affiliate linkOperating System Concepts (Galvin)Scheduling, synchronisation, deadlocks, memory and file systems.
Practise more on System Calls, Processes, Threads, InterProcess CommunicationTimed, in the real exam interface · free to start

A GATE question every morning

One real past-paper question every morning for your branch, answer hidden until you tap. Free on Telegram.

Join
Stuck? Ask in the student group