Good morning!
Once received this quiz during interview. Have my own answers. Interesting to know more opinions about questions) Can you help me with correct answers here? There is only correct answer to the question.
Once received this quiz during interview. Have my own answers. Interesting to know more opinions about questions) Can you help me with correct answers here? There is only correct answer to the question.
1. What kind of memory are created when make new thread?
A. heap
B. stack
C. data segment
D. code segment
2. Can be signals block SIGHUP, SIGKILL, SIGTERM
A. yes, all of them
B. only SIGHUP
C. only SIGKILL
D. only SIGTERM
E. only SIGHUP and SIGKILL
F. only SIGHUP and SIGTERM
G. only SIGKILL and SIGTERM
3. Program don't have SIGUSR1 handler. What will happen if this signal arrives?
A. signal will be ignore
B. OS will call default handler
C. program will stop, exit
D. program state will be "waiting"