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
- Which of the following cloud computing concept(s) is/are related to the pooling and sharing of resources? (A) Virtual Memory (B) Service (C…
- Which of the following routing technique(s) is/are used in distributed systems? (A) Fixed Routing (B) Virtual Routing (C) Dynamic Routing
- Match the following WINDOWS system calls with the equivalent UNIX system calls, with reference to process control and file manipulation: Wi…
- Which statement is not correct about the 'init' process in UNIX?
- Which UNIX command correctly changes the case of only the first three lines of the file "shortlist" from lower case to upper case?
- Match the following basic vi editor commands in UNIX with their functions. List I (Command): (a) dd (b) yy (c) p (d) u List II (Function):…