Programs List

List of Practicals for OOPS using C++ Lab

1. Write a program using C++ to create Rectangle Class having suitable data members and functions.
2. Write a program using C++ to create Cuboid Class with suitable data members and functions and Rectangle as its parent class.
3. Write a program using C++ to create Stack Class having suitable data members and functions.
4. Write a program using C++ to demonstrate use of different types of constructors.
5. Write a program using C++ to demonstrate function overloading.
6. Write a program using C++ to demonstrate function overriding.
7. Write a program using C++ to compute sum of two Complex numbers.
8. Write a program using C++ to compute sum of two Rational numbers.












Programming Problems for Practice 
1. Program to Calculate sum of 2 numbers.
2. Program to Calculate simple interest.
3. Program to convert Celsius to Fahrenheit.
4. Program to compute average of three numbers.
5. Program to check a given number is even or odd.
6. Program to find greater among three numbers.
7. Program to compute area of circle.
8. Program to compute area of rectangle.
9. Program to compute volume and surface area of a cube.
10.Program to compute gross salary, basic salary is entered by user and gross salary is sum of basic salary, HRA(30% of basic), and TA(10% of basic).
11. C Program to Calculate Area of Equilateral Triangle.
12. C Program to reverse a given number.
13. Calculate sum of 5 subjects and Find percentage.
14. C program to compute roots Quadratic Equation.
15. Swap of two no’s without using third variable.
16. Generate the Fibonacci Series starting from any two numbers.
17. Print First 10 Natural Numbers.
18. Find Factorial of Number Using Recursion.
19. Check Whether Given Number is Palindrome or Not.
20. Check Whether Number is Prime or not.
21. Write a c program to convert the string from upper case to lower case.
22. Write a c program to convert the string from lower case to upper case.
23. Program to Convert Binary to Decimal.
24. Program for Decimal to Hexadecimal Conversion.
25. Program for Decimal number to Octal Conversion.
26. Program to Convert Decimal number into Binary.
27. Program to implement Stack Operations Using Array.
28. C Program to delete duplicate elements in an array.
29. C Program to calculate Addition of All Elements in Array.
30. C program to find Smallest Element in Array in C Programming.
31. C Program to find Largest Element in Array in C Programming.
32. C Program to reversing an Array Elements in C Programming.
33. Merging of Two arrays in C Programming.
34. Write a c program for linear search.
35. Write a c program for binary search.
36. Write a C function that computes that total sum of a elements of a 2D array?
37. Write a C function that searches for value key in a 2D array of size 6X5. The function should return true if found false otherwise.
38. Write a C program to demonstrate use of toupper, tolower, pow, sqrt, fabs, floor, ceil functions.
39. Write down a recursive function fab to computes Fibonacci of the nth number. Assume fab(1)=0 & fav(2)=1.
40. Write a C program that prints below shape using nested loop?
                  *  
                * *  
              * * *
            * * * *
41. Write a C Program to find sum of two matrices.
42. Write a C Program to find subtraction of two matrices.
43. Write a C Program to multiplication.
44. Write a program to calculate sum of first 25 odd numbers.
45. Write a C Program to find transpose of a matrix.
46. Write a C function that computes that maximum of a specific row R in a 2D array of size 6X5.
47. Write a program to convert a given decimal numbers into its binary equivalent?
48. Write a function to concatenate two strings and using that a program to read three Strings and use the function to concatenate them and print it.
49. Write C Program that counts the particular word in the given string. For example in the string " the string is the set of charterers" , Number of occurance of "the" is:2.
50. Write C Program to generate two random numbers between 1 to 100.
51. Write C Program to for linear search.
52. Write a program to calculate sum of first 25 even numbers.
53. Write C Program to for binary search.
54. Write C Program to for bubble Sort.
55. Write a c program to develop a game “Lucky Seven”. (sum of rolling two dices is compared against user choice of 7, below 7 or above 7 and if it matches user choice user wins else user looses).
56. Write a program to List all the arithmetic and relational operators along with there example expression with output.
57. Write a program to calculate sum of first 25 prime numbers.
58. Write a program to calculate factorial using function.
59. Write C Program to for selection Sort.
60. Write a C function that computes that maximum of a specific row R in a 2D array of size 6X5.
61. Write a program to calculate factorial using recursion.
62. Write a program to display Fibonacci series upto n using function.
63. Write C Program to for insertion Sort.
64. Write a C function that computes that total sum of of a specific col C in a 2D array of size 6X5.
65. Write a program to display Fibonacci series upto n using recursion.
66. Write a program to calculate sum of series 1+1/4 + 1/9 +……….+1/n^2.
67. Write a program to demonstrate pre-increment and post-increment operation.
68. Write a program to demonstrate use of global variable.
69. Write a program to demonstrate use of static variable.
70. Write a function that can produce sum of first n natural numbers.
71. Write C Program to compute the surface area and volume of a cube.
72. Write a program to calculate sum of series 1/4 + 4/9 + 9/16 +……….+ (n-1)^2 / n^2.
73. Write a program to count number of even numbers in an array.
74. Write a program to display all the ascii characters on the screen.
75. Write a program to read a file and count number of words in the file.
76. Write a program using structure to compute sum of two Complex numbers.
77.Write a program using structure to compute sum of two Rational numbers.


Visit My Blog: http://vinay-kumar-saini.blogspot.in/

No comments:

Post a Comment