Official TU BCA 2022 board examination paper for Network Programming.
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
\n\n
2. What is the Client-Server software model? Explain the strengths and weaknesses of Java programming as a network programming language.
\n\n
3. What is the use of InetAddress class? Write a program to retrieve IP and MAC addresses?
\n\n
4. Define URL class. Write a program to show the parts of the URL (Splitting URL).
\n\n
5. Define Socket. Differentiate between TCP and UDP Sockets with their applications.
\n\n
6. Define cookies. Write a program to retrieve cookie information stored in the system.
\n\n
7. Define IP Multicast. Write a program to join a computer system in a multicast group.
\n\n
8. Write Short Notes on (Any Two): a) HTTP b) RMI c) Secure Socket
\n\n
Group C
\n\n
9. Write multithreaded TCP client and server socket programs for daytime service.
\n\n
10. Write UDP client and server socket programs in which the server identifies the number sent by a client is either even or odd and replies to the client accordingly.
\n\n
11. How blocking I/O is different from Non-Blocking I/O? Explain the basic mechanism of handling Buffers and Channels in Java with an example.