BCA 6th Semester

Network Programming 2022 Board Question Paper

Tribhuvan university logo

Tribhuvan university

Bachelor In Computer Application

Course Title: Network Programming

Code No:CACS 355

Semester:VI

2022

Full Marks:60 Pass Marks:24 Time:3 hours

Candidates are required to answer the question in their own words as far as possible.

Group B
Attempt any SIX question.
[6x5=30]
11.

What is the Client-Server software model? Explain the strengths and weaknesses of Java programming as a network programming language.  

12.

What is the use of InetAddress class? Write a program to retrieve IP and MAC addresses?

13.

Define URL class. Write a program to show the parts of the URL (Splitting URL).

14.

Define Socket. Differentiate between TCP and UDP Sockets with their applications.

15.

Define cookies. Write a program to retrieve cookie information stored in the system.

16.

Define IP Multicast. Write a program to join a computer system in a multicast group.

17.

Write Short Notes on (Any Two):
a) HTTP
b) RMI
c) Secure Socket

Group C

Attempt any TWO questions

[2x10=20]
18.

Write multithreaded TCP client and server socket programs for daytime service.

19.

Write UDP client and server socket programs in which the server identifies the number sent by a client is either even or odd and replies to the client accordingly.  

20.

How blocking I/O is different from Non-Blocking I/O? Explain the basic mechanism of handling Buffers and Channels in Java with an example.