BCA 6th Semester

Network Programming 2021 Board Question Paper

Tribhuvan university logo

Tribhuvan university

Bachelor In Computer Application

Course Title: Network Programming

Code No:CACS 355

Semester:VI

2021

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.

Define Client-Server software model. Explain the features of Java as a Network programming language.

12.

What is the use of the NetworkInterface Class? Explain the basic features of the NetworkInterface class.

13.

Explain HTTP methods with examples.

14.

Write a program to display the socket information [address, port, local address, local port].

15.

Write a server-side program for a daytime service using socket.

16.

Define Non-blocking I/O. Differentiate between blocking and non-blocking socket communication in Java.

17.

Write Short Notes on (Any Two):
a) Secure Communication
b) Multicast Sockets
c) RMI Server

Group C

Attempt any TWO questions

[2x10=20]
18.

What is the procedure for constructing and connecting Server sockets? Explain the Server Socket options with examples.

19.

Write a program to perform a basic two-way communication between client and server.

20.

What are the features of DatagramPacket and DatagramSocket Class? Write a program to create a simple UDP client.