(Paper) BCA : CS-69 TCP/IP Programming (Set - 4)

Paper : BCA : CS-69 TCP/IP Programming (Set - 4)
Note: Question number 1 is compulsory. Answer any three questions from the rest.

Q.1.
(a) Compare TCP/IP model with OSI model.

(b) What is the possible range of IP addresses for the different classes?

(c) A network on the Internet has a subnet mask of 255.255.240.0. What is the maximum number of hosts it can handle?

(d) Describe the functions of the two connections used in FTP.

(e) How does TCP handle multiplexing issue.

(f) How is the IPv4 header checksum calculated?

(g) What is the purpose of ICMP? Briefly describe the two broad categories of ICMP messages.

(h) What are unicast, multicast and broadcast IP addresses? Give one example of each.

Q.2.
(a) Briefly explain connection establishment and termination in 3-way handshake mechanism used by TCP.

(b) Describe the purpose of the following fields of the TCP header format:
i. Window Size
ii. Urgent pointer
iii. Sequence number
iv. Acknowledgment number
v. Destination port address

Q.3.
(a) “IP is an unreliable, best-effort, connectionless protocol.” Justify the statement.

(b) Is there any relation between the MAC address and IP address of a host? How is an IP address represented? What are t its components?

(c) How does ARP resolve an IP address to an Ethernet MAC address? Also, write how it differs from RARP?

Q.4.
(a) List the characteristics of UDP. Why is it used? What is the chief advantage of using protocol port numbers instead of process identifiers to specify the destination within a machine?

(b) What do you mean by DNS? Discuss the following issue related to DNS:
i. Name-Address resolution
ii. Distribution of name-space
iii. DNS messages

Q.5. Differentiate between the following:
(a) Class B and Class C IP addressing
(b) IPv4 and IPv6
(c) UDP and TCP
(d) BOOTP and DHCP
(e) Transport layer of OSI model and Transport layer of TCP/IP model