engineering computer science MCQ #1820

What is the purpose of the 'wait()' system call?

engineering computer science MCQ #1820

  1. Question 1

    Q1. What is the purpose of the 'wait()' system call?

    • A) To pause the execution of a process
    • B) To wait for a child process to terminate
    • C) To send a signal to a process
    • D) To create a new process

    Answer: To wait for a child process to terminate

    Explanation: The 'wait()' system call is used by a parent process to wait for the termination of its child process.