0% found this document useful (0 votes)
9 views

CS8581 4

The document provides instructions for a practical exam on computer networks. It lists 20 questions covering topics like UDP, TCP, DNS, SNMP, routing algorithms, and network simulation. The questions involve writing programs to simulate various network protocols and analyzing network performance using simulation tools.

Uploaded by

vadivu
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

CS8581 4

The document provides instructions for a practical exam on computer networks. It lists 20 questions covering topics like UDP, TCP, DNS, SNMP, routing algorithms, and network simulation. The questions involve writing programs to simulate various network protocols and analyzing network performance using simulation tools.

Uploaded by

vadivu
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Page 1 of 4

B.E / B.Tech./B.Arch. PRACTICAL END SEMESTER EXAMINATIONS, NOVEMBER / DECEMBER 2019

Fifth Semester

CS8581 - NETWORKs LABORATORY

(Regulations 2017)

Time : 3 Hours Answer any one Question Max. Marks 100

1. a) Write a program to make the UDP server to receive a request, to process the request, (50)
and to send back the response.

b) Simulation of error correction code (like CRC). (40)

2. a) Write a program to make the UDP client to be able to send any request created by the (50)
client program.

b) Write a program to implement ARP. (40)

3. a) Write a program to make the TCP server to receive a request, to process the request, (50)
and to send back the response.

b) Write a program to implement RARP. (40)

4. a) Write a program to make the TCP client to be able to send any request created by the (50)
client program.

b) Examine the throughput performance of sliding window with varying packet sizes, (40)
error rates and Round Trip Times.

5. Write a program to make the UDP server to receive a request, to process the request, and to (90)
send back the response. The client program needs to read the request string from a file and
store the response string in another file. The name of the file needs to be passed as the
argument to the main method of the client program. The server program needs to accept the
request string, change all lowercase letters to uppercase letters, and return the result.

6. Write a program to make the UDP server to receive a request, to process the request, and to (90)
Page 2 of 4

send back the response to client. The server program needs to accept the request string,
change all lowercase letters to uppercase letters, and return the result.

7. a) Write a program to make the UDP server to receive a request, to process the request, (50)
and to send back the response.

b) Implement token ring network and examine the performance using simulator. (40)

8 Write a program to make the TCP server to receive a request, to process the request, and to (90)
send back the response. The server program needs to accept the request string, change all
lowercase letters to uppercase letters, and return the result.

9 Write a program to make the TCP client to be able to send any request created by the client (90)
program. The client program needs to read the request string from a file and store the
response string in another file. The name of the file needs to be passed as the argument to
the main method of the client program.

10. Write a program to make the TCP server to receive a request, to process the request, and to (90)
send back the response. The server program needs to accept the request string, change all
lowercase letters to uppercase letters, and return the result.

11 Write a program to make the UDP server to receive a request, to process the request, and to (90)
send back the response. Allow the client to provide the pathname of a short file stored on
the server host. The server needs to send the contents of the short file as a string of
characters. The client stores the file at the client host.

12. Write a program to make the TCP server to receive a request, to process the request, and to (90)
send back the response. Allow the client to provide the pathname of a short file stored on
the server host. The server needs to send the contents of the short file as a string of
characters. The client stores the file at the client host.

13. a) Write a program to simulate a local DNS client and server. The server
Page 3 of 4

has a short table made of two columns, domain name and IP address. The

client can send two types of requests: normal and reverse. The normal (50)

request is a string in the format “N:domain name”; the reverse request is in the format
“R:IP address”. The server responds with either the IP address, the domain name, or
the message “Not found.”

b) Analyze the UDP performance using Simulation tool. (40)

14 a) Write a HTTP web client program to download a web page using TCP sockets. (50)

b) Implement a small network with five nodes (n0,n1,n2,n3,n4) forming a star topology (40)
with n4 as centre. Simulate the transfer of packets from node n0 to n3 through n4 for
10 seconds.

15. a) Write a program to implement of shortest path routing algorithm (50)

b) Design any two topology and study the performance in terms of traffic patterns (40)

using simulator.

16. a) Write a code simulating ARP protocols. (50)

b) Use a network simulator to capture and investigate some packets exchanged at the (40)
network layer.

17. a) Write a code simulating RARP protocols. (50)

b) Simulate of Congestion Control Algorithms using NS. (40)

18. a) Write a program to implement DNS using TCP socket (50)

b) Analyze the TCP performance using Simulation tool. (40)

19. a) Write a program to implement SNMP using UDP socket (50)


Page 4 of 4

b) Analyze the UDP performance using Simulation tool. (40)

20. a) Write a program to implement Echo client and echo server using TCP . (50)

b) Simulate Distance Vector routing algorithm using network simulator (40)

Viva – 10 marks

You might also like