All mock tests are FREE till 31 December — register to save your progress

Match List I with List II.
List I (system call): (A) fork() (B) exec() (C) kill() (D) exit()
List II (description): (I) Sends a signal from one process to another process (II) Indicates termination of the current process (III) Loads the specified program into memory (IV) Creates a child process
Choose the correct answer from the options given below.

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: C. (A)-(IV), (B)-(III), (C)-(I), (D)-(II)

Explanation

fork() creates a new child process that is a near-duplicate of the caller, matching (IV). exec() replaces the calling process's memory image by loading and running a new program, matching (III). kill() sends a specified signal to another process identified by its PID, matching (I). exit() terminates the calling process, matching (II). This gives A-IV, B-III, C-I, D-II, option (iii).

More Software Engineering questions