PURBANCHAL UNIVERSITY
Time-bound Home Exam 2020
Bachelor in Information Technology (B.I.T.)/Seventh Semester/Final
Time: 03:00 hrs. (+2 Hrs. for Submission) Full Marks: 80 /Pass Marks: 32
BIT474C0: Network Programming (New Course)
Instructions:
Dear Students!
• This model of examination is for you as the end of your current semester. This examination allows you
to write answer from your own place of residence. Follow the following instructions without fail.
• Do not write your name in the answer-sheet(s).
• All the answer-sheets should be sent to college through your approved email in which you have
received your question paper.
• Do not write questions in the answer-sheet but mention clearly the question number.
• All the scan/photos of answer-sheets should be clearly visible. Any blur scan/photo will not be
considered for evaluation. Responsibility lies with the students to make sure that scan/photos of the
answer-sheet are of readable quality.
• Leave 1 inch margin on each side of the answer-sheet.
• Clearly mention your Roll no, subject, program, semester, page number at the right-top of each page as
instructed by the Office of the Examination Management.
• Make sure that you send your answer-sheets within the given time. Any email received after the given
time will not be acceptable.
• You are strictly advised to write with your own handwriting and that you are not using any unfair
means to answer the questions.
• Do not consult during the examination period to any other person in answering the questions.
• Do not post any pictures of taking examination or your answer-sheets in any social-media. Found that
may be taken action from University.
Figure in the margin indicate full marks.
Group A
Answer TWO questions. 2×12=24
1. Draw the TCP Client/Server functional diagram and describe each unit briefly.
2. What is daemon? Why daemon inetd is known as super server? Write the steps of daemonization.
2+4+6
3. Write UDP chat program and explain each unit.
Group B
Answer SEVEN questions. 7×8=56
4. What is System Call? Differentiate between pipe() and FIFO(). AND SIGNALS. 2+6
5. Why TCP connection establishment is called TCP three-way handshaking? Why TCP TIME—WAIT
State is necessary? How TCP terminate the connection? Explain in detail. 3+2+3
6. Write the socked address structure for UNIX domain socket and generic socket.
7. What is I/O multiplexing? Differentiate between signal driven I/O and Asynchronous I/O model.
8. Describe IPv4 and TCP socket options. 4+4
9. What is Domain Name System (DNS)? Why DNS is necessary? Explain the working mechanism of
DNS. 1+2+5
10. Differentiate Multicasting Vs Broadcasting on a LAN. Explain unicast, anycast, broadcast and
multicast in brief. 4+4
11. Why raw socket is important and where is it used? What are the inputs and outputs to raw socket?
2+6