You are on page 1of 1

www.jntuworld.

com

Code No: A2502 Jawaharlal Nehru Technological University Hyderabad M.Tech I-Semester Supplementary Examinations September-2009 UNIX NETWORK PROGRAMMING (Software Engineering) Time : 3 Hours Answer Any Five Questions All Questions Carry Equal Marks ---1. (a) Explain about the following commands and quote at least two relevant examples for each (i) telnet (ii) ftp (iii) rlogin (iv) arp (b)Write a shell script to test whether the given number is prime or not 2. (a) Discuss about the directory handling system calls? (b) Write a program to print filename, size and number of links for each file in the present working directory using directory handling system calls. 3. (a) Define signal? What is the purpose of the signals in UNIX environment? Explain how to handle signals and how to send signals using the keyboard? (b) Write simple signal handler that catches either of the two user defined signals and prints the signal number 4. What is the use of locking? What are the different types of unix locking system calls available? Explain how the link and create system calls are used for locking? 5. (a) What are the different APIs available for messages? Explain with the help of syntax and examples (b) Write about kernel data structures for the message queues? 6. (a) Explain the system calls used for shared memory? (b)Write a program to show how a shared memory can be allocated, attached and detached? 7. Explain about connectionless and connection oriented protocol with client server example using socket system calls? 8. (a) Draw the RPC model and explain what are the steps normally take place in a remote procedure call? (b) What are the issues need to be considered to make RPC transparent to the application? Explain each? Max.Marks: 60

T N

W U
*****

R O

D L

www.jntuworld.com

You might also like