GATE / CS ARCHIVE

GATE CSE 1999 / QUESTION 1.11

Entering the operating system

Computer Organization & Architecture · Input/Output, DMA & Interrupts · Full GATE CSE 1999 paper

GATE 1999, Q1.11 1 mark · MCQ
Report issue

Input/Output, DMA & Interrupts

Question 1.11, GATE 1999: System calls are usually invoked by software interrupt, polling, indirect jump, or privileged instruction.
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

A user program must request a controlled transition to kernel code. A software trap or software interrupt supplies that entry point, saves the required return state and switches privilege as the architecture specifies. Thus A is the traditional description. An ordinary indirect jump does not itself authorize a privilege change, and polling is a waiting strategy rather than a syscall entry mechanism. Modern processors may use dedicated syscall instructions; the user-callable trap must not be confused with an instruction executable only after privilege has already been obtained.

Original paper, page 2