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 a Java program using TCP that enables chatting between client and server.
3. Describe any 5 InetAddress object methods to find IP address types.
4. What is RMI? Discuss the architecture of RMI.
5. What is the InetAddress class? Explain the IPv4 Socket Address Structure and IPv6 Socket Address Structure.
6. What are the core components of Java NIO? Explain any two.
7. What is a Port? Create a simple port scanner program to check the open ports for the specified host name.
8. What is a Cookie? Explain CookieHandler, CookieManager, CookiePolicy, CookieStore, and HttpCookie classes.
Group C
9. Write briefly about the lack of flow control with UDP. List the differences between TCP and UDP.
10. Create multi-user programs in Java that show a server for a simple chat system, where the server relays messages to other users and notifies users whenever a new client enters or an existing client leaves.
11. What is Socket programming? How can sockets be used to write client-server applications using a connection-oriented technique?