I BCom (CS) FoC C - Language Lab Question Bank
Computer Lab - Practical Question Bank
FACULTY OF COMMERCE, OSMANIA UNIVERSITY
----------------------------------------------------------------------------------
B.Com (Computers & Computer
Applications) I year W.E.F.2009-10
FUNDAMENTALS OF ‘C’
Time: 60 Minutes Record : 10
Skill
Test : 20
Total
Marks : 30
1. Write a C program to find the largest of 3 numbers.
2. Write a C program to find the sum of the first 15 even
numbers and calculate the square of the sum.
3. Write a C program to find the total and average of the
marks given in an array.
4. Write a C program whether the given number is
Armstrong number or not.
5. Write a C program whether the given number is Perfect
number or not.
6. Write a C program for matrix multiplication.
7. Write a C program for matrix addition
8. Write a C program for matrix subtraction
9. Write a C program to find the exponential series of
1 + X + X2/2! + X3/3! + ………..+Xn/n!
10. Write a C program to find the maximum of 3 numbers
using functions
11. Calculate
grades of N students from 3 tests using arrays.
12. Write a
C program to Trace a matrix
13. Write a C program to find string palindrome without
using String functions
14. Write a C
program to demonstrate Structures using student information.
15. Write a C
program to calculate the Fibonacci series of a given number.
16. Write a C
program to transpose the given matrix.
17. Write a C
program for demonstrating Tower
of Hanoi using Recursion
18. Write a C
program to accept a numbers and generate Square root, cube and exponential
values.
19. Write a C
program to reverse the given number and check if the number is palindrome.
20. Write a C
program to demonstrate the unions using employee information.
21. Write a C
program for counting the number of words, lines, special characters in a given
text.
22. Write a C
program to find the Square root of a given number.
23. Write a C
program to find the area and circumference of a circle.
24. Write a C
program to find the area & perimeter of a rectangle.
25. Write a C
program to convert the given decimal number to binary, Octal and Hexadecimal.
26. Write a C
program to convert the given temperature from Centigrade to Fahrenheit.
27. Write a C
program to swap 2 numbers using 3rd variable.
28. Write a C
program to swap 2 numbers without using 3rd variable.
29. Write a C
program to add, subtract, multiply and divide two numbers using functions.
30. Write a C
program to generate prime numbers till the given number.
31. Write a C
program to generate the Pascal Triangle as
1
1 1
1 2 1
1 3 3 1
1 4 6 6 1
32. Write a C
program to display the given amount in word format.
Eg: Rs. 245/- as Two hundred Forty five
33. Write a C
program to sort the data.
34. Write a C
program to search the given number in an array using binary search.
35. Write a C
program to calculate the student total and average marks of the given subjects
using structures.
36. Write a C
program to demonstrate the string functions.
37. Write a C
program to find the roots of the quadratic equation.
38. Write a C
program to find the number of days in a month using enumerated data types.
39. Write a C
program to demonstrate Math functions.
40. Write a C
program to calculate factorial using recursive function.
41. Write a C
program to convert from one base to another base in the number system.
42. Write a C
program to generate Fibonacci numbers using recursion.
43. Write a C
program to generate a multiplication table.
44. Write a C
program to find the sum of N natural numbers.
45. Write a C
program to find the GCD of two integer
values.
46. Write a C
program to evaluate the polynomial shown
as
3X2
+ 5X2 + 6 if x=5
47. Write a C
program to determine if the year is a leap
year.
48. Write a C
program to demonstrate passing structures to functions.
49. Write a C
program to demonstrate call by value and call by reference.
50. Write a C
program to calculate the total and average of marks using function.
No comments:
Post a Comment