IGNOU MBA Assignment, Solved IGNOU MBA Assignments

BCS-061 (P) TCP/IP Programming June 2011 – Question Paper

SET – 1

1. Write down UNIX commands for the following operations :

(a) To kill a running process using its process number.

(b) To count the number of users who are currently logged in.

2. Write and run a client and a server program using C – language in UNIX with the following specification :
• UDP client should send two strings to a UDP server.
• UDP server will concatenate both the strings and send to the client. The client program prints the result.

SET – 2

1. RUN the following UNIX commands and write/show its output :

(a) Finger (b) ns lookup

2. Write and run a client and a server program. Using C language in UNIX, with the following specifications :
• A TCP client program will send a range of number (e.g. 1 to 10) to the server.
• TCP server accept the number range from client and send back the sum of the number range. Client will print the result.

SET – 3

1. Write the following UNIX commands for the following operations :

(a) To check the connection working condition between the two hops, it should also provide the TTL.
(b) To find the IP address of a machine and its marking.

2. Write and run a client and a server program using C language in UNIX as per following specifications :

• A UDP client will send a alphabetic character to the server.
• Server will send back the ASCII value of that character to the server. The client program prints the results.

SET – 4

1. RUN the following UNIX commands and write/show its output :
(a) IP Config (b) Ping

2. Write and run a client and a server program using C language in UNIX, with the following specifications :
• ATCP client program will send a random number to the server.
• TCP server accept the number from that client and check whether this number is prime number or not. Server will send the status of the number to the client. The client will print the status of the number.