1. The parent process picks up the exit status of a child using ___ system call.
2. Which of the following system call is more powerful (in waiting mechanism) than wait system call?
Correct Answer is : waitpid
3. If the child dies first but the entry of that child in the process table is still present, then that process is called ____
Correct Answer is : zombie
4. Every process belongs to a process group.
5. ____ exec is responsible for executing programs on a UNIX system.
6. Which of the following system call is used for duplicating file descriptor?
7. We can also duplicate the file descriptor using ___
8. Which of the following system call is preferred over dup and dup2 for replicating file descriptor?
Correct Answer is : fcntl
9. Which of the following system call is used for inter-process communication?
10. We can use pipe with fork system call.
11. The action that a signal takes on receipt of a signal is called ____
Correct Answer is : disposition
12. The sources from where the signals can be generated are:
Correct Answer is : keyboard, hardware, a C program
13. There are _____ signals that are generated from the keyboard.
14. Which of the following signals are generated from the hardware?
Correct Answer is : SIGPE, SIGILL, SIGSEGV
15. ___ system call behaves in an identical manner to the kill command.
16. Which library function uses kill to send any signal to the current process?
Correct Answer is : raise
17. Which system call is used to set a timer that generates the SIGALARM signal?
Correct Answer is : alarm
18. If two users execute the same program, the memory requirements are doubled.
Correct Answer is : FALSE
19. Address space of a process is virtual.
20. Which of the following system calls returns one or more file descriptors?
Correct Answer is : dup, dup2, fcntl and pipe