Top 150+ Solved Linux Programming MCQ Questions Answer

From 181 to 195 of 196

Q. Which signal is sent when the Child process terminates?

a. SIGINIT

b. SIGKILL

c. SIGSTOP

d. SIGCHLD

  • b. SIGKILL

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

a. SIGINT

b. SIGCHLD

c. SIGKILL

d. SIGALRM

  • c. SIGKILL

Q. Another signal that cannot be caught is:

a. SIGPIPE

b. SIGHUP

c. SIGSTOP

d. SIGUSR1

  • c. SIGSTOP

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

a. SIGINT

b. SIGCHLD

c. SIGKILL

d. SIGALRM

  • d. SIGALRM

Q. Signals are handled using which system call?

a. kill

b. signal

c. both

d. none

  • b. signal

Q. Default action of SIGSEGV is

a. Terminate

b. Core dump

c. Stop

d. Cont

  • b. Core dump

Q. The kill system call is used to

a. Send shutdown messages to all by super-user

b. Send a signal to a process

c. Kill processes

d. Stop the processes

  • b. Send a signal to a process

Q. Which is true regarding pipes?

a. half duplex

b. full duplex

c. message boundaries are preserved

d. Unordered data

  • a. half duplex

Q. The persistancy of a FIFO is

a. process

b. kernel

c. file system

d. none

  • c. file system

Q. Advantage of FIFO over pipe is

a. related processes can communicate

b. unrelated processes can communicate

c. none

d. all

  • b. unrelated processes can communicate

Q. What mkfifo() creats?

a. pipe

b. unnamed pipe

c. named pipe

d. msg queue

  • c. named pipe

Q. System V IPC common attributes are

a. key

b. id

c. owner

d. all the above

  • d. all the above

Q. Which one of the following is not system V IPC ?

a. Shared Memory

b. Semaphores

c. FIFO

d. Message Queues

  • c. FIFO

Q. Which system call is used to create Sys V message Queue ?

a. msgget

b. shemget

c. semget

d. msgctl

  • a. msgget

Q. Which is not the correct option for removing a message queue ?

a. ipcrm -Q

b. ipcrm -q

c. ipcrm -m

d. None

  • c. ipcrm -m
Subscribe Now

Get All Updates & News