Referencebooks4u
Will tell more about it shortly
15/06/2012
It's interesting that boredom seems to be the tipping point...
COMPUTER ASSIGNMENT SAMPLE QUESTIONS FOR TOMORROW
1. Write a c program that prints its input 2 words per line(Last word may be printed alone)
2. Write a program to print a histogram of the lengths of words of input.The histogram may be drawn horizontally by printing characters like *.
3. Write a function to convert temp in degree celsius to degree Fahrenheit.Make use of this function to print the conversion table of temperature from 0 to 300 degree celsisus in steps of 10.
4. Write a function reverse(s) to reverse a character string s.
5. Write a function which finds the second largest element of an array.Size of array is atleast 2.
6. Write a function to find the sum of elements of an array.
7. Use switch statement to count the no. of times digits 0 to 4 occur in the input.
8. If x is 1 and y is 2, what is the value of x&y.
9. If xis 1 and y is 2 , what is the value of x&&y.
10. If x is 3 and y is 2, what is the value of x
Click here to claim your Sponsored Listing.
Category
Website
Address
Government Model Engineering College
Kochi
682021