Match List I with List II. List I: System call List II: Description A. fork()…
2021
Match List I with List II.
List I: System call | List II: Description |
|---|---|
A. | I. Sends a signal from one process to another process |
B. | II. Indicates termination of the current process |
C. | III. Loads the specified program into memory |
D. | IV. Creates a child process |
Choose the mapping in which every system call is paired with its description.
Answer: B. A – IV, B – III, C – I, D – II — ConceptA system call is a controlled interface through which a process requests a service from the operating-system kernel. For a matching question, identify…
- A.
A – II, B – III, C – IV, D – I
- B.
A – IV, B – III, C – I, D – II
- C.
A – IV, B – I, C – II, D – III
- D.
A – IV, B – III, C – II, D – I
Attempted by 887 students.
Show answer & explanation
Correct answer: B
Concept
A system call is a controlled interface through which a process requests a service from the operating-system kernel.
For a matching question, identify the primary effect of each call independently and only then compare the complete mappings.
Application
fork()duplicates the calling process to create a child process; parent and child continue as separate processes.exec()replaces the current process image with the specified program loaded into memory; it does not create a new process.kill()sends a signal to a process (or process group), allowing actions such as notification or termination according to the signal.exit()terminates the calling process and makes its exit status available to the parent.
Cross-check
The four primary effects are distinct: creation belongs to fork(), program replacement to exec(), signal delivery to kill(), and process termination to exit().
System call | Primary effect |
|---|---|
| Creates a child process |
| Loads the specified program into memory |
| Sends a signal |
| Indicates termination of the current process |
Therefore, the accepted mapping is fork() → creates a child process; exec() → loads the specified program into memory; kill() → sends a signal; exit() → indicates termination of the current process.
A video solution is available for this question — log in and enroll to watch it.
Explore the full course: Mppsc Assistant Professor Computer Science Paper 2