BCA 6th Semester

Network Programming 2023 Board Question Paper

Tribhuvan university logo

Tribhuvan university

Bachelor In Computer Application

Course Title: Network Programming

Code No:CACS 355

Semester:VI

2023

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 the client-server model of a network application. Explain the design considerations for a network application.

12.

Write a program to show the IP and MAC address of the system and also check if the IP address is IPv4 or IPv6.

13.

Define URL Connection Class? Write a program to read header using header-specific methods.

14.

Write the functions of Socket. Explain the configuration options of a TCP client socket.

15.

Define a secure socket. Write a program to create a secure client socket.

16.

Define Buffer. Explain buffer handling methods.

17.

Write short notes on (any two):
a) HTTP methods
b) Datagram Packet
c) Multicast Socket

Group C

Attempt any TWO questions

[2x10=20]
18.

a) Differentiate between URL and URI class with their applications. b) Write any program to illustrate the application of RMI.

19.

Write a TCP multithreaded server and client socket program to check the number sent by the client is either prime or composite.

20.

Write a program to create a UDP server and client which converts the date from the client in BS to AD format. [Assume that the difference between BS and AD is 56 years, 08 months, 17 days]