WWW Manaresults Co in
WWW Manaresults Co in
PART- A
(25 Marks)
PART-B
(50 Marks)
www.ManaResults.co.in
6.a) Differentiate between fork( ) and vfork( ).
b) Write the syntax of six versions of exec functions and also explain how these functions
differ from each other. [5+5]
OR
7. Write a c program that accepts two small numbers as arguments and then sums the two
numbers in a child process. The sum should be returned by child to the parent as its exit
status and the parent should print the sum? [10]
8. Write a program and explain how to transfer a large amount of data between two
processes using Message queues. [10]
OR
9. Explain the following concepts about pipes:
a) Pipes between two process
b) Pipes among three process in a shell. [5+5]
10. Explain with a program how to copy file data from server to client using shared memory.
[10]
OR
11.a) Explain briefly about the following socket APIs with clear syntax:
i) socket( ) ii) bind( ) iii) listen( ) iv) accept( ) v) connect( )
b) Compare various IPC mechanisms. [5+5]
---ooOoo---
www.ManaResults.co.in