IT1352-NETWORK PROGRAMING AND MANAGEMENT Questions Bank 2014

Anna University, Chennai

Anna_University,_Chennai_logo

SRINIVASAN ENGINEERING COLLEGE PERAMBALUR – 621212

IT1352-NETWORK PROGRAMING AND MANAGEMENT QUESTION BANK - Part-B (16-MARKS)

UNIT I - ELEMENTARY TCP SOCKETS

1. i) Compare the implementation details of concurrent and iterative server. (8)

ii) Discuss the syntactical issues of various address conversion function. (8)

2. i) Compare the IPV4,IPV6, Unix domain and data link socket address structures. State your assumptions. (8)

ii) Write notes on byte ordering functions (8)

3. i) Explain in detail about TCP/IP protocols for internetworking and management. (10)

ii) Explain about socket, connect, bind, listen and accept functions. (6)

4. Explain TCP/IP layering in detail with neat sketch.(16).

5. Explain in detail about address conversion functions (16).


UNIT II - APPLICATION DEVELOPMENT

1. Write a TCP socket program to implement an Echo server/Echo client. (16)

2. Explain the following concept with suitable example (16)

i) Shutdown function ii) Server host crashes iii) Input output models iv) Posix signal

3. Discuss the following scenario of server operations i) Crashing of server host (6)

ii) Crashing and rebooting of server host (6)

iii) Shutdown of server host (4)

4. Explain in detail about the various I/O models in Unix operating system (16)

5. Explain in detail about

i) POSIX signal handling (8)

ii) Boundary conduction (8)


UNIT III - SOCKET OPTIONS, ELEMENTRY UDP SOCKETS

1. i) Assume both a client and server set the SO_KEEPALIVE socket option and the connectivity is maintained between the peers but them is no exchange of data. When the keepalive timer expires every 2 hours, how many TCP segments are exchanged across the connection? justify your answer with an illustration. (6)

ii) Write a program that checks all the socket option of a socket and sets the value for receiver buffer size to 520 bytes. (10)

2. i) Write notes on RES_USE_INET6 resolver option in gethostbyname and gethostbyname2 functions. (8)

ii) Discuss any four TCP socket option in detail. (8)

3. i) Discuss about IP socket option and ICMP socket options in detail with suitable example (8)

ii) Write the similarities between UDP socket, TCP socket and raw socket. (8)

4. i) Explain the purpose and usage of UDP sockets and their different functions (10)

ii) Brief the way in which a TCP client server different from UDP client server (6)

5. Briefly discuss about DNS with an example (16)

6. Briefly discuss about TCP Echo server and client (16)

7. Briefly discuss about UDP Echo server and client (16)


UNIT IV - ADVANCED SOCKETS

1. i) compare i) Fork and Thread (4)

ii) Wait and Waitpid (4)

ii) Write a ‘C’ program that can generate an ICMPv4 echo request packet and process

the received ICMPv4 echo reply. (8)

2. Write notes on

i) raw socket creation (4) ii) raw socket output (6) iii) raw socket input (6)

3. i) Explain how a TCP echo server using thread created and also give their advantages. (10)

ii) Write short notes on mutexes and condition variables.

4. i) Compare IPv4 and IPv6 (8)

ii) Explain about thread creation and thread termination with suitable example. (8)

5. Explain the trace route program with sample code and example (16)

6. Explain in detail IPv4 and IPv6 interoperability (16)


UNIT V - SIMPLE NETWORK MANAGEMENT

1. i) Explain the data types in UNIVERSAL class of ASN.1 for SNMP MIB (8)

ii) Write notes on Network configuration control (8)

2. Explain the syntax of the various SNMPv1 message formats (16)

3. Explain the architecture of SNMP entity and traditional SNMP manager, as specified in

RFC2271. (16)

4. Explain the architecture of SNMPV3 with neat diagram.

5. i) Compare SNMPV2 and SNMPV3 (6)

ii) Discuss about MIB (6)

iii) Write note on RMON (4)

No comments:

Post a Comment