156-587 · Question #46
When dealing with monolithic operating systems such as Gaia, where are system calls initiated from to achieve a required system level function?
The correct answer is B. User Mode. System calls are initiated from User Mode (B) because application code runs in an unprivileged execution context and must request kernel services through a controlled interface - the system call. When a user-mode program invokes a system call, the CPU transitions into Kernel…
Question
When dealing with monolithic operating systems such as Gaia, where are system calls initiated from to achieve a required system level function?
Options
- AKernel Mode
- BUser Mode
- CSlow Path
- DMedium Path
How the community answered
(35 responses)- A3% (1)
- B86% (30)
- C9% (3)
- D3% (1)
Explanation
System calls are initiated from User Mode (B) because application code runs in an unprivileged execution context and must request kernel services through a controlled interface - the system call. When a user-mode program invokes a system call, the CPU transitions into Kernel Mode to execute the privileged operation, then returns control back to user space when done.
Why the distractors are wrong:
- (A) Kernel Mode is where system calls are handled/executed, not where they originate - code already running in kernel mode has direct access to privileged operations and doesn't need to issue a system call.
- (C) Slow Path and (D) Medium Path are not execution privilege rings; in some architectures a "fast path" vs "slow path" distinction exists for system call dispatch efficiency, but neither is a mode from which calls are initiated.
Memory tip: Think of User Mode as the "ground floor" and Kernel Mode as the "locked server room" - your application lives on the ground floor and must ring the bell (system call) to get services from the server room. The request always comes from the ground floor.
Topics
Community Discussion
No community discussion yet for this question.