CACS355 Network Programming

Network Programming TU Board 2025 question paper

10 questionsSit this paper (timed)

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)

  1. 2.

    Describe the scope and applications of Java Socket and Node.js in network programming platforms.

    5
  2. 3.

    Explain the purpose of the NetworkInterface class and describe its factory and getter methods with examples.

    5
  3. 4.

    Explain the process of opening a URL connection and reading data from the server in Java.

    5
  4. 5.

    Write a Program to Send and Receive a Message using Connectionless Sockets.

    5
  5. 6.

    What are the fundamental components of JAVA NIO? Difference between Blocking and Non-blocking I/O.

    5
  6. 7.

    Explain the RMI architecture with the detail role.

    5
  7. 8.

    Write short notes. (Any two) a) ProxySelector b) JSSE c) Web Cache

    5

Group C

Attempt any TWO questions(2 × 10 = 20)

  1. 9.

    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
  2. 10.

    Explain how a TCP echo server using thread created with snipped code and also give their advantages.

    10
  3. 11.

    What is Traceroute? Write down the working principle. Explain the Trace Route program with sample code.

    10

— The End —