Tribhuvan University
Bachelor of Computer Application
Semester 6 · TU Board 2022
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
What is the Client-Server software model? Explain the strengths and weaknesses of Java programming as a network programming language.
Answer comingAlso asked in 2021
- 3.5
What is the use of InetAddress class? Write a program to retrieve IP and MAC addresses?
- 4.5
Define URL class. Write a program to show the parts of the URL (Splitting URL).
- 5.5
Define Socket. Differentiate between TCP and UDP Sockets with their applications.
- 6.5
Define cookies. Write a program to retrieve cookie information stored in the system.
- 7.5
Define IP Multicast. Write a program to join a computer system in a multicast group.
- 8.5
Write Short Notes on (Any Two): a) HTTP b) RMI c) Secure Socket
Answer comingAlso asked in 2021
Group C
Attempt any TWO questions(2 × 10 = 20)
- 9.10
Write multithreaded TCP client and server socket programs for daytime service.
- 10.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.
- 11.10
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.
— The End —