GateAI
System Calls

GATE CSE 2011 · Q6

MCQ1 markEasy

Time

Let the time taken to switch between user and kernel modes of execution be t1t_1 while the time taken to switch between two processes be t2t_2. Which of the following is TRUE? (A) t1>t2t_1 > t_2 (B) t1=t2t_1 = t_2 (C) t1<t2t_1 < t_2 (D) nothing can be said about the relation between t1t_1 and t2t_2

Select one answerSingle correct

Pick an option to check

Solution

Step-by-step verified solution

Official answer: C) t1 < t2

System Calls
  • Mode switch (t1t_1): Involves switching CPU execution mode between user mode and kernel mode (e.g., during a system call or interrupt). It requires saving only minimal context (such as program counter, stack pointer, and CPU status registers) without changing the address space or flushing the TLB/cache.

  • Process context switch (t2t_2): Involves saving the entire process context (PCB, all registers, memory mapping tables) and switching the address space to another process (which typically involves flushing the TLB, changing page directory pointers, and cache misses). A process switch usually includes at least one mode switch.

Therefore, a mode switch is significantly faster than a full process context switch, so:

t1<t2t_1 < t_2

Hence, option (C) is correct.

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This System Calls previous year question is Q6 of the GATE CSE 2011 paper. Find more GATE CSE PYQs on System Calls in Operating Systems, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 4 related System Calls PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

System Calls in GATE CSE

System Calls has 4 GATE CSE PYQs across 4 papers from 2011 to 2024. This is the only 1-mark MCQ among them, and it is the only one in GATE CSE 2011.

How GATE tests System Calls

More from GATE CSE 2011

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2011 · Q6 · MCQ

Let the time taken to switch between user and kernel modes of execution be t1 while the time taken to switch between two processes be t2. Which of the following is TRUE? (A) t1 > t2 (B) t1 = t2 (C) t1 < t2 (D) nothing can be said about the relation between t1 and t2

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.