| Snaprecruit.com

| Snaprecruit.com

Interview question based on skill :

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. The parent process picks up the exit status of a child using ___ system call.

Correct Answer is : wait

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.

Correct Answer is : TRUE

5. ____ exec is responsible for executing programs on a UNIX system.

Correct Answer is : TRUE

6. Which of the following system call is used for duplicating file descriptor?

Correct Answer is : dup

7. We can also duplicate the file descriptor using ___

Correct Answer is : dup2

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?

Correct Answer is : pipe

10. We can use pipe with fork system call.

Correct Answer is : TRUE

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.

Correct Answer is : 3

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.

Correct Answer is : kill

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.

Correct Answer is : TRUE

20. Which of the following system calls returns one or more file descriptors?

Correct Answer is : dup, dup2, fcntl and pipe