Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

||JAI SRI GURUDEV||

S J C INSTITUTE OF TECHNOLOGY, CHICKBALLAPUR


DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING
Sub Name: UNIX system programming (10CS62)
SEM: 6th TUTORIAL-III DATE: 24/05/2017

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

You might also like