Professional Documents
Culture Documents
S J C Institute of Technology, Chickballapur Sub Name: UNIX System Programming (10CS62)
S J C Institute of Technology, Chickballapur Sub Name: UNIX System Programming (10CS62)
1. Explain the six different forms of exec API. Write a program that execs a program echo
all to display all the command line and environment variables.
2. What is fork and vfork? Explain with an example program for each.
3. What do you mean by pipes? List out their limitations. Write a C program that sends
Hello world message to child process through the pipes.
4. What are Message Queues? Write the structure of the Message queue and explain each
member in detail.
5. What are FIFOs? With a neat diagram, explain the Client-Server communication using
FIFOs and write C/C++ implementation.
6. What are the different system calls available to create and manipulate Semaphores?
Explain.
7. Explain popen and pclose functions with prototypes and write a program to demonstrate
popen and pclose functions.
8. Explain with a neat diagram, how STREAM PIPES can be used to implement client
server model.
9. What are stream pipes? Explain passing of file descriptors.
10. Explain the concept of shared memory with an example of C/C++ program.
11. Write a short notes on
a) Co-process
b) Client server properties
c) Message queue APIs
d) Client server connection functions