Skip to content
GATEiit

GATE CSE 2023 Q23: Events that guarantee a switch from user to kernel mode

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 one or more 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

WhatsAppDownload image

Source: official GATE 2023 CS question paper and final answer key, organised by IIT Kanpur. Question paper · Answer key