0% found this document useful (0 votes)
58 views3 pages

Bcs515c Module 5 QB

The document is a question bank for the UNIX System Programming course, focusing on signals and daemon processes. It includes a variety of questions related to signal handling, daemon characteristics, and relevant APIs, along with programming tasks. The questions are categorized by learning outcomes and cover topics such as signal definitions, error logging, and specific system calls.

Uploaded by

Khyathi Kiran
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views3 pages

Bcs515c Module 5 QB

The document is a question bank for the UNIX System Programming course, focusing on signals and daemon processes. It includes a variety of questions related to signal handling, daemon characteristics, and relevant APIs, along with programming tasks. The questions are categorized by learning outcomes and cover topics such as signal definitions, error logging, and specific system calls.

Uploaded by

Khyathi Kiran
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

UNIX System Programming (BCS515C) Question Bank

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

Department of CSE, Vemana IT Page 1 of 3


UNIX System Programming (BCS515C) Question Bank

12. What is a signal? Discuss any five signals? CO5 L2 6M

13. List the timer manipulation APIs in POSIX.1b. CO5 L1 3M

14. Briefly explain SIGCHLD Signal and the waitpid API? CO5 L2 6M

15. Define Signal? Explain sigaction API with demonstrating CO5 L2 8M


program. July/Aug 2022
16. What are Daemon processes? Mention and explain the coding CO5 L2 8M
rules of Daemon processes.
or
Explain Daemon characteristics and coding rules. July/Aug 2022
Or
What is Daemon processes? Explain coding rules and error
logging. Feb 2022
17. What are daemon processes? Explain with a neat diagram the error CO5 L2 8M
logging facility for a daemon process
Or
Discuss how error logging is done by daemon process with
suitable diagram. Feb 2022
18. Discuss the working of siprocmask API. Explain all parameters of CO5 L2 10M
API with program. Feb 2022
19. Explain the prototypes of following API CO5 L2 10M

i. kill ii. signal iii sigaction iv. alarm Feb 2022

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

Department of CSE, Vemana IT Page 2 of 3


UNIX System Programming (BCS515C) Question Bank

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

Department of CSE, Vemana IT Page 3 of 3

You might also like