Tribhuvan University
Bachelor of Computer Application
Semester 6 · TU Board 2025
Course Title: Network Programming (CACS355)
Full Marks: 60Pass Marks: 24Time: 3 hours
Candidates are required to answer the question in their own words as far as possible.
Group B
Attempt any SIX question.(6 × 5 = 30)
- 2.5
Describe the scope and applications of Java Socket and Node.js in network programming platforms.
- 3.5
Explain the purpose of the NetworkInterface class and describe its factory and getter methods with examples.
- 4.5
Explain the process of opening a URL connection and reading data from the server in Java.
- 5.5
Write a Program to Send and Receive a Message using Connectionless Sockets.
- 6.5
What are the fundamental components of JAVA NIO? Difference between Blocking and Non-blocking I/O.
- 7.5
Explain the RMI architecture with the detail role.
- 8.5
Write short notes. (Any two) a) ProxySelector b) JSSE c) Web Cache
Group C
Attempt any TWO questions(2 × 10 = 20)
- 9.10
a) What is Cookie? Explain about CookieManager and HttpCookie classes. b) Discuss the purpose and use of HTTP response codes in URL connections. Provide examples of common response codes.
- 10.10
Explain how a TCP echo server using thread created with snipped code and also give their advantages.
- 11.10
What is Traceroute? Write down the working principle. Explain the Trace Route program with sample code.
— The End —