Name of the College : Kings College Of Engineering
Department : Information Technology
Subject : Network Programming & Management
Website : kings.ac.in
Document Type : Question Bank
Download Model/Sample Question Paper : https://www.pdfquestion.in/uploads/ki…MANAGEMENT.pdf
Kings Network Programming & Management Question Paper
Unit- I
Elementary TCP Sockets :
Part A :( 2 Marks)
1. Compare TCP and UDP
2. What is the use of ARP and RARP?
3. What is IANA?
Related : Kings College Of Engineering IT1351 Telecommunication Systems Question Bank : www.pdfquestion.in/326.html
4. What is mean by well known port?
5. Compare physical, logical and port address.
6. Write a program to print its own process ID.
7. Write a program to print the process ID of parent and child.
8. Define socket. Give structure of socket.
9. Define the types of socket.
10. Explain the fields present in sockaddr_in structure.
11. Specify the fields in sockaddr_in6.
12. What are the data types used in client server
13. What is network byte order?
14. What is the purpose of inet_
15. What are the functions designed for byte order transformation?
16. How a socket is uniquely identified?
17. What is the purpose of bind and connect?
18. What is the need for listen and accept system calls?
19. Specify address conversion functions.
20. Explain the operation of fork () system call.
21. What are the functions used for byte manipulation operations?
22. What is socket abstraction?
23. Compare various socket address structure.
24. Write short notes on sendto and recvfrom system call.
25. Differentiate iterative and concurrent server.
Part –B :(16 Marks)
1. Explain in detail TCP/IP protocols. (16)
2. (a) Compare physical, logical and port address. (06)
(b) Explain byte manipulation functions (10)
3. (a) What are the data types used in client-server programs? Explain. (08)
(b) What is the purpose of inet_addr and inet_pton functions? Explain. (08)
4. (a) What is socket abstraction? Explain. (06)
(b) Compare various socket address structures. (10)
5. (a) How a socket is uniquely identified? (08)
(b)Explain address conversion functions (08)
6. Explain the following system calls. (16)
7. Explain the following system calls. (16)
8. Explain the required socket functions for implementing a UDP client / server application? (16)
9. Write a socket program to implement TCP client server? (16)
Unit- II
Application Development :
Part A : ( 2 Marks)
1. Define posix?
2. Define signal?
3. Mention the ways to send a signal?
4. Define Disposition?
5. What are the three choices for disposition?
6. Specify general format for signal function?
7. What is Handling SIGCHLD signal?
8. What is slow system call?
9. What is meant by wait?
10. What is meant by waitpid?
11. What is client termination?
12. Specify termination of server process?
13. What is the crashing of TCP server host?
14. What are the boundary conditions for crashing of TCP server host?
15. What is server shutdown?
16. What is meant by polling?
17. What is I/O multiplexing model?
18. Write any one advantage of I/O multiplexing model?
19. Write any one disadvantage of I/O multiplexing model?
20. Write any two types of I/O operation?
21. What is meant by synchronous I/O with example?
22. What is meant by Asynchronous I/O with example?
23. What is select function?
24. Describe the general format of select function?
25. Define wait forever?
26. What is Don’t wait at all?
27. What are the conditions of the descriptor to become ready?
28. What are the steps involved for socket has exception pending?
29. What is the difference between shutdown and close function?
30. What is poll function?
Part –B :
1. Explain the steps involved in crashing of server process and server host? (16)
2. What are the use of I/O multiplexing and Explain the types of I/O model in detail. (16)
3. Write a socket program to implement TCP echo client /server application? (16)
4. Explain the concept of posix signal handling? (16)
5. Write a socket program to implement TCP echo client /server application with multiplexing? (16)
6. Discuss the following scenario of server operations.
a. Crashing of server host (06)
b. Crashing and rebooting of server host (06)
c. Shutdown of server host (04)
Unit- III Socket Options, Elementary UDP Sockets :
Part A :(2 Marks)
1. What are the various ways to get and set the options that affect a socket?
2. Give the general format for getsockopt.
3. Give the general format for setsockopt.
4. What are the following socket options inherited by a connected TCP socket from the listening socket?
5. What is meant by generic socket option?
6. What is the purpose of SO_BROADCAST option?
7. Give the characteristics of SO_DEBUG.
8. What is the use of SO_DONTROUTE?
9. Write notes on SO_ERROR socket option.
10. Specify the function of SO_LINGER.
11. What is the purpose of SO_OOBINLINE?
12. What is the function of SO_REUSEPORT?
13. What are called IPV4 socket options?
14. What do you mean by IP_HDRINCL socket?.
15. What are called ICMPV6 socket options?
16. What are the options of IPV6?
17. What are the options of TCP socket?
18. What is the function of ICMP6_FILTER?
19. Define Nagle’s algorithm.
20. Define a Domain Name System.
21. What are called resource records?
22. What are the types of resource records?
23. Give the syntax of gethostname function.
24. Specify the functions of gethostbyname function.
25. Define gethostbyaddr function.
26. Give the syntax for getservbyname function
27. Specify the functions of getservbyport system call.
Part –B :
1. Write a socket program to implement UDP echo client /server application? (16)
2. What is meant by generic socket option? Explain in detail. (16)
3. Explain the following socket options. (16)
4. (a) Write a program to display the port number from a given service name. (08)
(b) Write a program to find the IP address from a given host name. (08)
5. Explain the following socket options. (16)