Sunday 11 May 2014

NPM - IT 2351 - NETWORK PROGRAMMING AND MANAGEMENT APRIL/MAY 2011 QUESTION PAPER



NPM - IT 2351 - NETWORK PROGRAMMING AND MANAGEMENT APRIL/MAY 2011 QUESTION PAPER

  • University : Anna University
  • Regulation : 2008
  • Subject Name : NPM
  • Subject Code : IT 2351
  • Content : Question Paper
  • Year : April/May 2014
PART B — (2 × 10 = 20 marks)

1. Give the structure of 'struct sockaddr'.
2. Distinguish between TCP sockets and UDP sockets.
3. What is the purpose of bind( ) system call?
4. How will you distinguish a server socket program from a client socket program?
5. What is meant by blocking mode of socket operation?
6. Distinguish between send( ) and write( ) system calls.
7. How are threads created in UNIX?
8. What does this command mean?: - gcc - pthread
9. Give the format of TRAP message in the SNMP protocol.
10. What is the need for SNMP proxy agents?


PART B — (5 × 16 = 80 marks)

11. (a) Explain the various socket functions required to implement a simple 'server' module. Explain with the help of a flow chart the sequence in which these functions may be used.

Or
(b) Explain the various socket functions required to implement a simple 'client' module. Explain with the help of a flow chart the sequence in which these functions may be used.


12. (a) Write a server program for GRADE-QUERY service as follows: The server awaits the request from 'multiple' clients. The request is a message consisting of (client ID, semester). The server responds to the client with the grade of the client for the requested semester.
Note: if the requesting client is an unknown client then the server does not respond.

Or
(b) What are signals and how are signals handled in UNIX? Explain any two signal handling functions in UNIX.


13. (a) Describe the socket APIs associated with resolving host names and addresses. Show their usage with sample code snippets.

Or
(b) Describe the working of Domain Name System in detail. Also explain the support provided for IPv6 in DNS.


14. (a) Describe the use of 'mutex' and 'condition variables' as synchronization mechanisms.

Or
(b) Write socket programs for a packet sniffing service.
[Hint: This scenario consists of two peer nodes exchanging messages and a sniffer node (such as a router) in-between the peer nodes. The sniffer node must receive every packet passing through it and display the message, the source node's IP and destination node's IP.]


15. (a) Explain in detail the FIVE functional areas of Network Management giving examples in each.

Or
(b) Describe the features of SNMPv1. Discuss the limitations of SNMPv1 that lead to the introduction of SNMPv2.

No comments:

Post a Comment