Pre-Board examination question paper set for Network Programming from the year 2025.
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
2. Write different important methods for a URL class. Differentiate between URI and URL.
3. What is the use of the InetAddress class? Write a program for determining whether an IP address is IPv4 or IPv6.
4. List all the HTTP methods. Explain any three with suitable examples.
5. What is a client socket? Explain the socket option for the client and its uses. Write a program for getting a socket's information.
6. Define UDP. Write the code for a UDP client and UDP server for sending packets.
7. Explain network programming features and scope. Write a program for server and client communication.
8. What is SSL? Write its four sub-protocols. Write the methods to create the secure client and socket.
Group C
9. Explain all components of the URL and methods to display them. Write a program to print all components of a URL.
10. What is a Secure Socket? Write the methods to create a secure client and server socket.
11. Define RMI. Explain the architecture and working of RMI for client and server with a visual diagram and write a program as well.