CACS355 Network Programming

Network Programming TU Board 2024 question paper

10 questionsSit this paper (timed)

Tribhuvan University

Bachelor of Computer Application

Semester 6 · TU Board 2024

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 process of reading the Header using URL Connection.

    5
  2. 3.

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

    5
  3. 4.

    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.

    5
  4. 5.

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

    5
  5. 6.

    Explain central abstractions of Java NIO.

    5
  6. 7.

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

    5
  7. 8.

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

    5

Group C

Attempt any TWO questions(2 × 10 = 20)

  1. 9.

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

    10
  2. 10.

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

    10
  3. 11.

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

    10

— The End —