Posted by
<. Lokesh Polimera .>
Important Questions
unit-1
1) Discuss the state transition diagram for TCP
2) What are the limitations of buffer size?
3) Discuss briefly abt the service provided by most of the TCP/IP implementations
4) List some internet applications along with their protocol usage.
unit-2
1) What is a socket address structure? Explain different socket address structures
2) Exp. how communication is performed b/w a tcp client and a tcp server using
socket api
3) Exp. in detail abt socket() funtion
4) write in detail abt following
a)bind b)listen() c)accept()
unit-7
1) Write abt file locking versus record locking
2) Explain abt the three types of unix file system implementation that can be
exploited to provide a type of locking
3)Draw and explain abt the "message queue structures in the kernel"
4) Write abt the semaphore adjustment on "exit". Explain abt the importance of
SEM UNDO.
5) Difference b/w pipes and message queues.
6) Explain interprocess communication. Exp it using pipes.
Posted by
<. Lokesh Polimera .>
Posted by
<. Lokesh Polimera .>
UNIT - I
1. Write difference between TCP & UDP.2. Explain use of TIME_WAIT State.3. Draw neat sketch diagram for TCP state transition diagram.4. Differentiate between iterative and concurrent server. 5. Explain TCP connection establishment (three way handshake) and TCP connection termination (four way handshake).6. Explain client server example for concurrent server.7. Explain following terms.o MSSo Piggybackingo MTU & Path MTUo Socket pairo Incarnation8. Write use of port number & Explain different types of port number.9. How communications take place if client and server are on the same Ethernet? Explain with diagram. 10. Write steps and buffers involved when an application writes to a TCP socket.UNIT - II
11. Write a server program using TCP protocol which returns Client IP address and Port number. 12. Discuss the generic socket address structure,IPV4 socket address structure,IPV6 socket address structure. 13. Identify and discuss the queues maintained by the kernel with suitable diagrams.14. Discuss the connect function and identify different error returns identified by connect function.15. If TCP client doesn’t call bind, how will the address be bound to the client socket?16. Explain value-result parameter passing mechanism with diagram.17. What are the purpose of the ntohs(), htons(), socket(), listen() and inet_pton() functions in a socket program? Give the syntax of each. 18. Explain Little-endian byte order and big-endian byte order. Write program to determine host byte order.19. Justify the need for the functions getsocketname and getsockpeername.20. Explain byte manipulation functions. Give the syntax of each.
UNIT - III
21. Explain difference between wait and waitpid.
22. Write a “C” program for TCP echo server. 23. What is signal? How kernel does handle signal? Which signal does kernel send to parent process when child process terminates?
24. Write a “C” program for TCP echo client. 25. How does server handle Zombie child process? 26. Write a “C” program for TCP server to convert a string received from client
into uppercase. 27. Write a “C” program for TCP server to reverse string received from client.28. Write steps performed when server is crashing and rebooting.
29. What are the different error returns to the process when server host crashes?30. Write steps perform by process when connection abort before accept returns.UNIT – IV
31. Differentiate between close function and shutdown function. What is the use of how to argument used in the function shutdown?32. Answer the following.o What is the difference between select () and poll ()?o Explain the functions getsockopt and setsockopt with arguments.33. With suitable diagrams differentiate the five I/O models.34. When is socket said to be ready for reading and writing data. Identify and discuss the conditions.35. Write “C” program to implement TCP echo server using select().36. Write “C” program to implement TCP echo server using poll().37. Explain any five socket option for Generic socket.38. Explain the five I/O model with suitable diagrams.39. Explain SO_LINGER SOCKET option.40. Explain nagle’s algorithm.
Posted by
Lokesh Polimera
Includes C , DBMS , Math, OS , Links etc
mcqs in computer science by timothy j williams
Gate CS Formulae
Posted by
<. Lokesh Polimera .>
Network programming (8/10/2010)
web technologies (9/10/2010)
DMWD (11/10/2010)
ACA (12/10/2010)
Mobile Computing (13/10/2010)
spm (14/10/2010)
Posted by
<. Lokesh Polimera .>
web technologies
spm
DMWD
ACA
Mobile Computing
Posted by
<. Lokesh Polimera .>
Posted by
Lokesh Polimera
Classification and prediction
Posted by
<. Lokesh Polimera .>
Posted by
<. Lokesh Polimera .>
Posted by
<. Lokesh Polimera .>