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)
- 2.5
Describe the process of reading the Header using URL Connection.
Answer comingAlso asked in 2023
- 3.5
Explain about X-www-form URI Encoder and URI Decoder with an example.
- 4.5
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.5
What is Java Secure Sockets Extension? Write a program for creating secure sockets with tufoshss.edu.np.
- 6.5
Explain central abstractions of Java NIO.
- 7.5
Describe about UDP Socket Option and Write a Program for Scanning Local UDP Ports from 1024 port to up.
- 8.5
Define Multicast Group, and briefly explain the process of working with Multicast Sockets?
Group C
Attempt any TWO questions(2 × 10 = 20)
- 9.10
Explain the factory method with an example. Write a program to download a webpage.
- 10.10
What are the key differences between Socket and Server Socket? Create a simple console chat application using TCP socket.
- 11.10
a) Write a program to calculate the area of a triangle using RMI. b) Write a program to list out all the interfaces.
— The End —