Assignment List (cs593)
Assignment List (cs593)
1. Write a C++ program to find the GCD of a given number using recursion.
2. Write a C++ program to reverse the 1-D array.
3. Write a C++ program to find maximum and minimum element from array elements and also find
its position.
4. Write a C++ program to add two 2-D arrays.
5. Write a C++ program to count the no of vowels in a given string.
6. Write a C++ program to implement linear search using pointer.
7. Write a C++ program to implement binary search using class and object.
8. Write a C++ program to implement bubble sort using class and object.
9. Write a C++ program to implement insertion sort using class and object.
10. Write a C++ program to print the Fibonacci series up to n term using constructor.
11. Write a C++ program to implement stack/ queue using constructor.
12. Write a C++ program to implement copy constructor.
13. Write a C++ program to implement overloading constructor.
14. Write a C++ program to implement multiple inheritance.
15. Write a C++ program to implement multilevel inheritance.
16. Write a C++ program to implement single inheritance.
17. Write a C++ program to implement hierarchical inheritance.
18. Write a C++ program to implement friend function.
19. Write a C++ program to implement inline function.
20. Write a C++ program to implement binary operator overloading.
21. Write a C++ program to find the area of rectangle, circle and square using function overloading.
22. Write a C++ program to implement derived class handling, abstract class, virtual class.
23. A simple class called Point, with all necessary functions
24. Accessing Private Data Members in C++. This is a flaw in the language
25. Convert a number into words
26. Implementing Queue as a Class
27. Implementation of a list using a linked list with pointers
28. Program illustrating function overloading
29. To find if the given number is an Armstrong number or not
30. To perform operations on complex number using operator
31. A generic stack class
32. Write a program of matrix capable of doing several works with two matrices.
33. Program to perform various operation on a vector using operator overloading
34. Write a program to print HELLO WORLD on screen
35. Write a program to display the following output using a single cout statement.
Subject Marks
Mathematics 90
Computer 77
Chemistry 69
36. Write a program which accept temperature in Farenheit and print it in centigrade.
37. Write a program which accept principle, rate and time from user and print the simple
interest.
38. Write a program which accepts a character and display its ASCII value.
39.
I)Write a program to check whether the given number is positive or negative (using ? : ternary
operator )
II)Write a program to check whether the given number is even or odd (using ? : ternary operator )
2
2
2
3
2
4