: BCA : CS-69
TCP/IP Programming (Set - 2)
Note: Question number 1 is compulsory.
Answer any three questions from the rest.
(a) Explain how data transmission occurs from one computer to another. Explain the main activities to be conducted at the TCP levels and IP levels in sending packets to the destination computer.
(b) Identify the address classes of the following IP addresses:
(c) How does TCP handle out and retransmission? Explain the need for multiplexing at the transport layer.
(d) How many networks can each IP address class A,B and C have? Also, find the number of hosts per network in each given address class.
(e) Write any three differences between the OSI reference model and the TCP/IP model.
(f) Explain the meaning of the following IP addresses:
(i) Network ID 1111…………..1111
iii) 000………00 Host Id
(a) Design UDP client and Server algorithms, where the client should prompt a user to type a line of text and send it to the server. The server should listen to the clients concurrently and print the text with the client’s name on the screen.
(b) How does FTP work? Explain the connection establishment’s procedure between a client and a server.
(a) Explain the concepts of IP subnet addressing and subnet masking, with the help of an example for each.
(b) Explain any three fields in the Ethernet frame format. Also explain how the Ethernet frame format is related to the IP and TCP header.
(a) Explain the importance of the following IP header fields in network communication:
(i) Time to Live
(ii) Fragment Offset
(iii) Type of Service
(iv) Header Checksum
(b) How does name resolutions take place in DNS? Explain this with the help of a suitable example.
(a) How does TCP handle the flow control problem? Also, write any four advantages to TCP over UDP.
(b) Define the following terms:
(1) Sliding Window