Q.1
___ system call behaves in an identical manner to the kill command.
  • a) alarm
  • b) kill
  • c) pause
  • d) signal
Q.2
Which library function uses kill to send any signal to the current process?
  • a) getc
  • b) raise
  • c) catch
  • d) try
Q.3
Which system call is used to set a timer that generates the SIGALARM signal?
  • a) pause
  • b) alarm
  • c) read
  • d) signal
Q.4
If two users execute the same program, the memory requirements are doubled.
  • a) True
  • b) False
Q.5
Address space of a process is virtual.
  • a) True
  • b) False
Q.6
Which of the following system calls returns one or more file descriptors?
  • a) dup, dup2
  • b) fcntl
  • c) pipe
  • d) dup, dup2, fcntl and pipe
Q.7
The environment variables are available in _____
  • a) *environ[ ]          
  • b) env[ ]          
  • c) env          
  • d) pipe          
Q.8
Which of the following functions are used for obtaining and setting the value of environment variables?
  • a) getenv
  • b) setenv
  • c) env
  • d) getenv and setenv
Q.9
Which of the following action can be taken by a process upon receiving a signal?
  • a) ignore the signal
  • b) terminate the process
  • c) suspend the process
  • d) ignore the signal, terminate and suspend the process
Q.10
What is the default disposition of most signals?
  • a) ignore the signal
  • b) terminate the process
  • c) suspend the process
  • d) kill the signal
0 h : 0 m : 1 s