Signal Handling Question:

If a signal is received by a process, when will it be processed?
a) It is processed immediately
b) It is processed when process is switching to kernel mode
c) It is processsed in the next timeslice given to the process

Linux Signal Handling Interview Question
Linux Signal Handling Interview Question

Answer:

b) It is processed when process is switching to kernel mode


Previous QuestionNext Question
Which signal is generated when we press control-C?
a) SIGINT
b) SIGTERM
c) SIGKILL
d) SIGSEGV
Which signal is generated when we press ctrl-Z?
a) SIGKILL
b) SIGSTOP
c) SIGABRT
d) SIGINT