Multiple choice technology programming languages

What is a system call()

  1. A request by the users to access kernel functions

  2. A request by kernel to the device

  3. A request by the device to kernel

  4. None

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

A system call is a mechanism for programs to request services from the kernel. It's the interface between user space and kernel space - userspace programs invoke system calls to access protected kernel functions like file I/O, process management, etc.

AI explanation

A system call is the mechanism by which a user-mode process requests a service from the operating system kernel — e.g., to open a file, allocate memory, or create a process — crossing the user/kernel boundary in a controlled way. It's initiated by user programs, not by the kernel or by devices, so 'a request by kernel to the device' and 'a request by the device to kernel' both describe something else entirely (interrupts/DMA, not system calls).