Tribhuvan University
Bachelor of Computer Application
Semester 6 · TU Board 2021
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
Define Client-Server software model. Explain the features of Java as a Network programming language.
Answer comingAlso asked in 2022
- 3.5
What is the use of the NetworkInterface Class? Explain the basic features of the NetworkInterface class.
- 4.5
Explain HTTP methods with examples.
- 5.5
Write a program to display the socket information [address, port, local address, local port].
- 6.5
Write a server-side program for a daytime service using socket.
- 7.5
Define Non-blocking I/O. Differentiate between blocking and non-blocking socket communication in Java.
- 8.5
Write Short Notes on (Any Two): a) Secure Communication b) Multicast Sockets c) RMI Server
Answer comingAlso asked in 2022
Group C
Attempt any TWO questions(2 × 10 = 20)
- 9.10
What is the procedure for constructing and connecting Server sockets? Explain the Server Socket options with examples.
- 10.10
Write a program to perform a basic two-way communication between client and server.
- 11.10
What are the features of DatagramPacket and DatagramSocket Class? Write a program to create a simple UDP client.
— The End —