Bcs515c Module 5 QB
Bcs515c Module 5 QB
MODULE-5
Signals and Daemon Processes
Q. No. Question COs CL Marks
1. What are signals? Mention different source of signals? Develop a CO5 L3 10M
program to setup signal handlers for SIGINIT and SIGALRM.
Jan/Feb 2021 ,July/Aug 2021
2. What are Daemon process? Enlist their characteristics. Also CO5 L3 10M
develop a program to transform a normal user process into Daemon
process. Jan/Feb 2021
3. Explain kill () API and alarm () API. Jan/Feb 2021, July/Aug 2022 CO5 L3 10M
4. Explain the Sigsetjmp and Siglongjmp functions with an example. CO5 L3 10M
Jan/Feb 2021
5. List and explain the disposition/action taken for the occurrence of CO5 L2 6M
the signal. July/Aug 2021
6. Describe the purpose of the following signals along with the default CO5 L2 4M
action for each i)SIGPOLL ii) SIGPWR iii) SIGXCPU
iv)SIGXRES July/Aug 2021
7. Define Daemon Process. Describe the characteristics of Daemon CO5 L2 8M
Process. July/Aug 2021
8. With neat diagram explain error handling with respect to Daemon CO5 L2 4M
process. July/Aug 2021
9. List and explain conventions followed with respect to Daemon CO5 L2 6M
process. July/Aug 2021
10. What is error logging? with a neat block schematic discuss the error CO5 L2 4M
login facility in BSD. July/Aug 2021, July/Aug 2022
11. Explain the sigaction() function by giving the prototype and CO5 L2 6M
discuss its features? July/Aug 2021
14. Briefly explain SIGCHLD Signal and the waitpid API? CO5 L2 6M
20. Define signal. List and explain the conditions that generate signals CO5 L2 5M
21. What are signals? Mention different source of signals? Develop CO5 L2 10M
program to setup signal handlers for SIGINIT and SIGALRM
22. What is signal mask of a process? Develop a program to check CO5 L2 10M
whether the SIGINT signal present in signal mask.
23. What is Signal Sets? Explain different API’s of Signal sets with CO5 L2 10M
the syntax
24 Explain the following functions with the respective Syntax CO5 L2 10M
i) sigqueue
ii) sleep,
iii) nanosleep and clock_nanosleep
iv) sigpending
v) sigsuspend
25 Explain following API’s with the syntax and programming CO5 L2 10M
example
1.system
2.abort