You are on page 1of 1

CN LAb Test

CSE-09

SET 1

1. Write a program in C using tcp to perform where the client will send an array of numbers to the
server, the server will sort them in descending and send to the client, the client will display all the sorted
numbers.

SET 2

Write a program in C using tcp to perform where the client will send an array of numbers to the server,
the server will store all +ve even in an array and send to the client, the client display the numbers.

SET 3

Write a program in C using tcp perform where the client will send an array of numbers to the server, the
server will find average all +ve odd numbers and send to the client, the client display average, if no +ve
odd numbers then appropriate massage will display.

SET 4

Write a program in C using tcp to perform where the client will send an array of numbers to the server,
the server will count –ve odd numbers and send to the client, the client display number of –ve odd
numbers.

SET 5

Write a program in C to perform where the client will send an array of numbers and a particular number
to the server, the server will find the position of the particular numbers and send the position to the
client, the client display the position.

You might also like