CHAITANYA INSTITUTE OF ENGINEERING & TECHNOLOGY
NH – 5, CHAITANYA NAGAR, RAJAHMUNDRY - 533 294
Department of computer science and Engineering
NETWORK PROGRAMMING UNIT WISE IMPORTANT QUESTIONS
(common for both CSE&IT)
UNIT-1
1 .Write briefly about the TCP and UDP Connection establishment and termination ,format and Buffer
sizes.****
2. Discuss in detail on standard internet services.***
3. Describe the OSI reference model and UNIX Standards.**
4. Discuss in detail about protocol usage by common internet applications.*
5. Explain briefly byte order convention functions.*
6. What are the limitations on the size of the IP datagram? Also explain how they effect the data
transmitted by an application.
UNIT-2
1.Explain in detail about the following functions*****
a) socket
b) connect
c) bind
d) accept
e )fork
f) exec
g) poll &select
2.Give the IP v4 and IPV6 socket address structures and explain the significance of each field.***
3. Explain with diagrams the following I/O models provided by UNIX:
1)Blocking I/O model
2)Non blocking I/O model
4. Explain how multiple clients are handled by a concurrent server.
5 .Explain elementary TCP sockets in detail.
6. Describe byte ordering and manipulation function and its related functions?**
UNIT-3
1. Explain in detail about TCP ECHO server functions.***
2. Explain with examples Normal startup and termination.**
3. Discuss in detail about crashing, rebooting and shut down of server host.****
4. Discuss in detail about handling SIGCHILD signal and give difference between wait and waitpid? **
UNIT-4
1. Discuss different I/O models in detail?
2. Explain in detail about TCP Echo server**
3. Briefly discuss about the following functions:*****
a) select function
b) Batch input
c) shutdown function
d) poll function
e)getsockopt and setsockopt functions
4. Explain in detail about Socket states and Generic socket option IPV6 .*****
UNIT-5
1. Describe UDP Echo server function and lost datagram with example.***
2. Write briefly about Lack of flow control with UDP.*****
3. Discuss in detail about determining outgoing interface with UDP
4. Write dg-echo function in detail and write dg-cli function that verifies returned socket address.***
UNIT-6
1. Explain in detail about gethostbyname and uname and reentrant functions.*****
2. Give typical arrangement of clients resolvers and nameservers.***
3 .Describe in detail about obsolete IPV6 address lookup functions.**
4. Explain in detail network related information in detail.
UNIT-7
1. Compare file locking VS record locking.explain in detail about pipes with client server example.****
2. Explain about FIFO’S streams with messages.**
3 .Explain about Message ques and semaphores.****
4 .Give description on name spaces for IPC*
UNIT-8
1. Explain about Terminal line disciplines.
2. Discuss about the following****
a) Pseudo-Terminals
b) Terminal modes
c) Control Terminals
3. Discuss about the following*****
a) rlogin Overview
b) RPC Transparency Issues