NALANDA OPEN UNIVERSITY QUESTION (2017) BCA, Part-III, Paper-XVI (TCP/IP PROGRAMMING)

NALANDA OPEN UNIVERSITY QUESTION (2017) BCA, Part-III, Paper-XVI (TCP/IP PROGRAMMING)
NALANDA OPEN UNIVERSITY QUESTION (2017) BCA, Part-III, Paper-XVI (TCP/IP PROGRAMMING)

                                                                            2017
                                                                   Time: 3 hours
                                                                   Full marks: 80
                                        Answer any five questions. All questions carry equal marks.

1. How many networks can each IP address class A,B ,C and D have ? Also, find the number of hosts per network in each given address class. Given the following IP addresses, find the network address (beginning addresses): (i) 25.27.10.90     (ii) 140.15.25.80.

2. Give any two examples of how computer can be connected together. Write a UDP client and a server algorithm where the client should prompt a user to type a line of a text and send it to the server.

3. Explain how OSI model different from TCP/IP model. How does TCP manage out-of-order and corrupted segments? Explain with the help of an illustration/ diagram.

4. What is the purpose of designing ICMP? What are the different query messages in ICMP for network monitoring and management?

5. What is the value of HLEN (IP Header field) when the header size is 20 bytes? What is the value of HLEN when the maximum size of a header is 60 bytes? How does the link state routing protocol work?

6. Explain the sequence of system calls in UDP and TCP client-server architecture. Describe the two flags in IP header which deals with datagram fragmentation. How does TELNET work? Explain.

7.(a) Explain the following TCP header fields with the help of examples:
        (i) Sequence number
        (ii) Achnowledgement number
    (b) Differentiate between POP and IMAP.

8. What are the differences between TCP and UDP? Explain the meaning of the following system calls: (i) read ( )  (ii) recv ( )  (iii) inet ( )  (iv) close ( ) .

9. Discuss any two types of sockets. How does the sliding protocol control the flow of packets in the network? Explain with the help of a diagram.

10.  Explain the concept of byte- ordering used in network programming with an example. Write the purpose of the following Unix commands  : (i) Ping (ii) Hostname (iii) Who  (iv) IP config


Comments

Popular posts from this blog

MCA MAGADH UNIVERSITY QUESTION (2015-2018) (Semester-iii) Database Management Systems

MCA MAGADH UNIVERSITY QUESTION (2010-2013) (Fifth Semester) Artificial Intelligence and Application

BCA MAGADH UNIVERSITY QUESTION (2011)