: BCA : CS-69
TCP/IP Programming (Set - 3)
Note: Question number 1 is compulsory.
Answer any three questions from the rest.
(a) Identify the address classes of the following IP addresses:
(b) How many networks can each IP address class A,B,C have? Also, find the number of hosts per network in each given address class.
(c) What is 3-Way handshake mechanism? Also, explain how the mechanism is used for establishing and terminating a TCP connection.
(d) What is the maximum number of fragments possible from an IP datagram?
(e) Write the five characteristics of the User Datagram Protocol?
(f) How does TCP handle the flow control problem using sliding window protocol?
(g) What is the main mechanism that TCP uses to create a reliable connection? Explain with the help of a diagram.
(a) Design a TCP client-server algorithm, where the client should prompt a user to type a line of text and send it to the server. The server should print the text, number of characters in the text and the client’s name on the screen.
(b) How does TCP handle multiplexing issue?
(a) Explain the concepts of IP subnet addressing and subnet masking with the help of an example for each.
(b) List the important characteristics of UDP. In spite of its drawbacks why it is used? Explain with the help of an example.
(c) Why does lost acknowledgement not necessarily force the re-transmission of TCP data segment?
(a) Explain the importance of the following header fields used in TCP and IP:
(i) Sequence number
(ii) Fragment offset
(iii) Urgent pointer
(iv) Header checksum
(v) Option + padding
(b) Write the differences and similarities between the TCP/IP and OSI models.
(a) List the important domain names used in Internet. How does the name resolution take place in DNS? Explain it with the help of a diagram.
(b) Explain the following terms with the help of an example for each:
(4) 2-Way handshake