GATE CSE 2023 Q23: Events that guarantee a switch from user to kernel mode
- Operating System
- 1 mark
- MSQ
- No negative marking
Question
Which one or more of the following options guarantee that a computer system will transition from user mode to kernel mode?
Try it: multiple select: one or more correct options
Select all correct options. No negative marking, no partial marks.
Show answer and explanation
Answer: C, D (official GATE 2023 final answer key)
Concept used: Traps (system calls) and exceptions (faults) enter the kernel; ordinary library calls need not.
First step: Ask whether malloc can be served entirely from memory the process already has.
Full step-by-step solution
Detailed working, common mistakes and linked mock tests will be available with a free GATEiit account. Log-in is coming soon.
Share this question
Source: official GATE 2023 CS question paper and final answer key, organised by IIT Kanpur. Question paper · Answer key
More Operating System PYQs
- 2026 Session 1 · Q29False statements about deadlocks
- 2026 Session 1 · Q35Minimum resource instances for deadlock freedom (5 processes, max 2)
- 2026 Session 1 · Q59Disk transfer time for random sectors on tracks 5, 12, 7
- 2026 Session 1 · Q63Number of printf calls with fork, continue and break
- 2026 Session 1 · Q64Average FCFS waiting time for alternating A and C processes
- 2026 Session 2 · Q23CPU scheduling algorithm that cannot be preemptive