Q. Which of the following signal cannot be handled or ignored?

  • (A) SIGALRM
  • (B) SIGKILL
  • (C) SIGCHLD
  • (D) SIGINT
πŸ’¬ Discuss
βœ… Correct Answer: (B) SIGKILL

Q. Another signal that cannot be caught is:

  • (A) SIGUSR1
  • (B) SIGSTOP
  • (C) SIGHUP
  • (D) SIGPIPE
πŸ’¬ Discuss
βœ… Correct Answer: (B) SIGSTOP

Q. When real interval timer expires which signal is generated?

  • (A) SIGALRM
  • (B) SIGKILL
  • (C) SIGCHLD
  • (D) SIGINT
πŸ’¬ Discuss
βœ… Correct Answer: (A) SIGALRM

Q. Signals are handled using which system call?

  • (A) signal
  • (B) kill
  • (C) Both A and B
  • (D) None of these
πŸ’¬ Discuss
βœ… Correct Answer: (A) signal

Q. Default action of SIGSEGV is

  • (A) Cont
  • (B) Stop
  • (C) Core dump
  • (D) Terminate
πŸ’¬ Discuss
βœ… Correct Answer: (C) Core dump

Q. The kill system call is used to

  • (A) Stop the processes
  • (B) Kill processes
  • (C) Send a signal to a process
  • (D) Send shutdown messages to all by super-user
πŸ’¬ Discuss
βœ… Correct Answer: (C) Send a signal to a process

Q. Which is true regarding pipes?

  • (A) Unordered data
  • (B) message boundaries are preserved
  • (C) full duplex
  • (D) half duplex
πŸ’¬ Discuss
βœ… Correct Answer: (D) half duplex

Q. The persistancy of a FIFO is

  • (A) process
  • (B) kernel
  • (C) file system
  • (D) none of these
πŸ’¬ Discuss
βœ… Correct Answer: (C) file system

Q. Advantage of FIFO over pipe is

  • (A) related processes can communicate
  • (B) unrelated processes can communicate
  • (C) Both A and B
  • (D) None of these
πŸ’¬ Discuss
βœ… Correct Answer: (B) unrelated processes can communicate

Q. What mkfifo() creats?

  • (A) msg queue
  • (B) named pipe
  • (C) unnamed pipe
  • (D) pipe
πŸ’¬ Discuss
βœ… Correct Answer: (B) named pipe