Computing
Laboratory Assignments |
CO102 |
1. Write a C program to find area of different geometrical figures.
2. Write a C program for conversion of temperature in Celsius to Fahrenheit and vice versa.
3. Write a C program to check if a number is odd or even.
4. Write a C program to check if a year is leap year or not.
5. Write a C program to calculate grade of a student in a semester in Tezpur University.
6. Write a C program to find sum of natural numbers from 1 to some maximum number n.
7. Write a C program to find factorial of a number.
8. Write a C program to find permutation P (n, r).
9. Write a C program to find combination P (n, r).
10. Write a C program to generate first n numbers of Fibonacci series.
11. Write a C program to find sum of digits of a number.
12. Write a C program to reverse a number.
13. Write a C program to check if a number is an Armstrong number or not.
14. Write a C program to check if a number is a palindrome number or not.
15. Write a C program to check if a given number is a prime number or not.
16. Write a C program to print all prime numbers within a given range.
17. Write a C program to generate all twin prime numbers within a range.
18. Write a C program to print all Armstrong numbers within a given range.
19. Write a menu driven C program using do loop and switch case statement to check if a given number is i) prime number ii) even number or iii) palindrome number.
20. Write a C program to generate the following patterns.
i) * ii) * iii) *
*** *** ***
***** ***** *****
21. Write C programs using function to solve above question no.7 to 18.
22. Write a recursive program to find factorial of a number.
23. Write a menu driven C program to i) insert an element in to a linear array ii) delete an existing element from a linear array.
24. Write a C program to delete all duplicate elements from a linear array.
25. Write a menu driven C program to i) reverse a linear array of integer ii) find sum of the integer elements present in the array.
26. Write a C program to find sum of two matrices.
27. Write a C program to subtract one matrix from another.
28. Write a C program to dynamically allocate memory for linear array of n integers, store some elements in it and find sum of these numbers.
29. Write a menu driven C program (without using predefines string functions) to i) reverse a string ii) copy a string into another string iii) compare a string with another string and iv) find length of a string.
30. Write a menu driven C program (using predefines string functions) to check if a string is palindrome or not.
31. Write a C program using structure to generate result sheet of your group students.
32. Write a C program using structure to generate pay slip of employees of an organization.
33. Write a C program to implement a stack.
34. Write a C program to implement a linear queue.
35. Write a C program to implement a single linked list.