Official TU BCA 2023 board examination paper for Network Programming.

Tribhuvan University
Faculty of Humanities & Social Sciences
OFFICE OF THE DEAN
2025
Bachelor in Computer Applications

Paper detail Value
Course Network Programming
Code No. CACS355
Semester VIth
Full marks 60
Pass marks 24
Time 3 hours

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

Group B

\n\n

2. Define the client-server model of a network application. Explain the design considerations for a network application.

\n\n

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

\n\n

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

\n\n

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

\n\n

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

\n\n

7. Define Buffer. Explain buffer handling methods.

\n\n

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

\n\n

Group C

\n\n

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

\n\n

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

\n\n

11. 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]