CACS355 Network Programming

Network Programming TU Board 2021 question paper

10 questionsSit this paper (timed)

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)

  1. 2.

    Define Client-Server software model. Explain the features of Java as a Network programming language.

    5
  2. 3.

    What is the use of the NetworkInterface Class? Explain the basic features of the NetworkInterface class.

    5
  3. 4.

    Explain HTTP methods with examples.

    5
  4. 5.

    Write a program to display the socket information [address, port, local address, local port].

    5
  5. 6.

    Write a server-side program for a daytime service using socket.

    5
  6. 7.

    Define Non-blocking I/O. Differentiate between blocking and non-blocking socket communication in Java.

    5
  7. 8.

    Write Short Notes on (Any Two): a) Secure Communication b) Multicast Sockets c) RMI Server

    5

Group C

Attempt any TWO questions(2 × 10 = 20)

  1. 9.

    What is the procedure for constructing and connecting Server sockets? Explain the Server Socket options with examples.

    10
  2. 10.

    Write a program to perform a basic two-way communication between client and server.

    10
  3. 11.

    What are the features of DatagramPacket and DatagramSocket Class? Write a program to create a simple UDP client.

    10

— The End —