IT1351 : Important question for network programming and Management | Important 16 mark question and 2 mark question for NETWORK PROGRAMING AND MANAGEM

UNIT IELEMENTARY TCP SOCKETS Part-A (2-MARKS)
1. Define TCP and UDP.
2. Explain IP.3. Define the three states of TCP Connection establishment and termination.4. Define socket and List out its types.5. Explain Socket Address structure.6. Explain IPv4 address structure.
7. What are the four functions to pass socket address structure from kernel to the process?8. What are the 2 ways to store 2 bytes in memory?9. What is byte ordering function?10. What are elementary socket functions?11. What are concurrent servers?12. What address conversion functions explain

13. What are the three types of socket function?
14. Explain iterative server.
15. Define server? What are the types of server?
NETWORK PROGRAMING AND MANAGEMENT : IT1351
Part-B (16-MARKS)
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 DEVELOPMET
Part-A (2-MARKS)
1. Explain TCP Echo server and client.
2. Define signal?
3. Explain signal function.
4. What is wait and Waitpid function?
5. What is the difference between wait and Waitpid function
6. Explain crashing of server host
7. Explain Shutdown of server host
8. Explain the syntax of signal function.
9. Explain I/O multiplexing.
10. What are the scenarios used in I/O multiplexing applications.
11. What are the 5 basic I/O models available in UNIX?
12. State where POSIX function is used.
13. Define the two terms used in POSIX.
14. What are the possibilities of select function?
15. What are the three select descriptor arguments?
16. Difference between close function and shutdown function.
17. Difference between select function and pselect function.
18. Define poll function.
19. Difference between poll function and select function.
20. What are the three conditions handled with the socket.
21. What are the three classes of data identified by poll?

Part-B (16-MARKS)
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
Part-A (2-MARKS)
1. What are various ways to get and set the options that affect a socket?
2. Explain Elementary UDP sockets.
3. Explain UDP server and UDP client.
4. What are the two functions used in Elementary UDP
5. Difference between main function and dg_echo function.
6. What are the four steps used in client processing loop.
7. Difference between server function dg_echo and client function dg_cli.
8. Define DNS
9. Define Resource Records
10. What are the types which affect the RRS?
11. Define Resolvers and Name servers.
12. Explain Gethostbyname function
13. State the role of pointer queries in DNS.
14. What are the three ways to set RES_USE_INET6?
15. Explain gethostbyaddr function.
16. What are uname function
17. Explain gethostname function.
18. Explain getservbyname and getservbyport functions.
19. Explain IPv4 socket option.
20. Explain ICMPv4 socket option.
21. Explain IPv6 socket option.

Part-B (16-MARKS)
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
Part-A (2-MARKS)
1. Explain IPv4 and IPv6 server.
2. What are Address Testing macros
3. Explain the implementations of threads.
4. What are the advantages and disadvantages of threads?
5. What are the basic function of thread creation and termination?
6. Define thread?
7. List out the unique values maintained by a thread.
8. What are the common thread interfaces?
9. Explain thread function.
10. Define multithreading
11. Mention the purpose of ping program.
12. Explain traceroute program
13. Define mutexes
14. Explain basic thread functions.
15. Explain raw sockets.
16. Define proto structure.
17. Differentiate ping and traceroute program.



Part-B (16-MARKS)
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
Part-A (2-MARKS)
1. Define SNMP.
2. What are the key elements of TCP/IP network management?
3. Define MIB
4. Define message agent
5. Define SMI
6. What are the four nodes under the internet node in SMI document
7. Explain private MIBs.
8. What are the limitations of MIBs?
9. What are the limitations of SNMP
10. Define RMON
11. What are the design goals of RMON
12. Explain RMON MIB
13. What are the advantages of SNMPv2
14. Explain SNMPv3
15. What are the disadvantages of SNMPv1/v2
16. Where does RMON used in network.

Part-B (16-MARKS)
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)

Post a Comment

0 Comments