Saturday, June 21, 2008

Computer Network Lab Question Bank(OU)

MCA II/II Computer Network Lab

1. Write a client / server program to implement the echo server. Use connection
oriented service and implement the server as concurrent server.

2. Write a program to send an ICMP packet to a given host and get the echo
message.

3. Write a client / server program where in when the client makes a connection to
the server, the server sends the system details of the server machine along with
date and time.

4. Write a client / server program when in the client sends the roll no and the server
sends responds to the client by giving rank obtained in EAMCET . Implement the
above using RPC.

5. Using an understanding and assignment submission on the following commands.
If con fig, net stat, ping, arp, telnet, fttp, ftp, finger.

6. Write a program to demonstrate the implementation of pre forked server designed.

7. Programs to demonstrate the usage of Advanced Socket System calls like
getsocket ( ), setsocket ( ), select ( ).

8. Write a client / server program to implement the echo server. Use connection len
service and implement the server as concurrent server.

9. Write a client / server program wherein the client sends the name of a commands
to be executed at the server. The server then sends the result back to the client.
Implement the above using connection len service.

10. Ping service implementation.

11. Write a client / server program wherein the client the name of a program to be
executed at the server. The server then sends the result back to client.
Implement the above using connection oriented service and concurrent server.

12. Write a client f/ server program wherein the client sends the name of the file to the
server. the server then sends the number of lines, words and characters in the
tent file to the client. Implement the above using concurrent server using
connection oriented service.

13. Write a client / server program wherein the server implements passwords
authentication. The client sends the user name password the server checks
whether the username and password matches any of the entries in its password
file. Implement the above using connection oriented service.

14. Write a client server program wherein the client when connects to the server, the
server then sends the system data and time to the client. Implement the above
using RPC.

15. Write a client / server program wherein the client sends the name of a program to
be executed at the server. The server then sends the result back to the client.
Implement the above using RPC.

16. Write a client / server program wherein the client sends the host name and the
server returns the ip address. Implement the above using connectionless service.

17. Write a client / server program wherein the client sends the name of a file and the
server returns the contents of the file. Use connection oriented service to
implement the above. Implement the server as an iterative server.

18. Write a client / server program wherein the client sends two numbers, the server
finds its gcd and returns to the client. Use RPC to implement above.

19. A program to Demonstrate the Non-blocking (asynchronous ) Input-Output.

20. Remote file access using RPC.

21. Write a client / server program wherein the client sends a Unix shall command
(like 'ls') and to the server returns the result of execution of the command. Use
connection len service to implement the above.

22. Write client / server program wherein the client sends a Unix Comman (like 'ls')
and the server returns the result of execution of the command. Use RPC to
implement the above.

23. Write a client / server program wherein the client contacts the server for it system
time and data. The client then displays it on the screen. Use connection oriented
service and implement the server as interactive.

24. Write a program to implement the following interaction between client and server.

User supplies the filename to the client program. Client program in turn sends it to the server. the server reads the contents of a text file and then sends the contents to the client. the client there displays it on the screen. Implement concurrent server. Use connection oriented service TCP / IP.

25. Write a client / server program wherein the client sends the ip – address and
the server responds by sending the corresponding host's name. Use connection less service to implement the above.

26. Write a client / server program where in the client sends the name of a host and the server returns its ip address the server maintain host ip mapping in a text file. Use RPC to implement the above.

27. Write a client / server program to get a file from the remote server and then store it and display. Use RPC to implement the above.

28. Write client / server program wherein the client send the Roll-no of a student and the server sends rank obtained. The client then displays the rank on the screen.

29. R login client, Rlogin Server.

30. Remote program execution using RPC.

*****

No comments: