BCA 6th Semester

Network Programming 2024 Board Question Paper

Tribhuvan university logo

Tribhuvan university

Bachelor In Computer Application

Course Title: Network Programming

Code No:CACS 355

Semester:VI

2024

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.

Describe the process of reading the Header using URL Connection.

12.

Explain about X-www-form URI Encoder and URI Decoder with an example.

13.

What is the significance to control HTTP Keep-Alive system properties. Write a Program for a cookie policy that blocks all .gov cookies but allows others.

14.

What is Java Secure Sockets Extension? Write a program for creating secure sockets with tufoshss.edu.np.

15.

Explain central abstractions of Java NIO.

16.

Describe about UDP Socket Option and Write a Program for Scanning Local UDP Ports from 1024 port to up.

17.

Define Multicast Group, and briefly explain the process of working with Multicast Sockets?

Group C

Attempt any TWO questions

[2x10=20]
18.

Explain the factory method with an example. Write a program to download a webpage.

19.

What are the key differences between Socket and Server Socket? Create a simple console chat application using TCP socket.

20.

a) Write a program to calculate the area of a triangle using RMI. [6] b) Write a program to list out all the interfaces.