|
|
|
C++ OBJECT ORIENTED PROGRAMMING |
|
|
PRACTICAL QUESTION FOR MCA-P2 (LAB2) PGDCA-P2 (LAB-2) BCA-P3 (LAB-3) |
|
| 1 | Write a C++ program to calculate average marks scored by a student for 3 subjects. |
| 2 | Write a C++ program to find the area and perimeter of a circle and rectangle. |
| 3 | Write a C++ program to swap two numbers |
| 4 | Write a C++ program to find largest of three numbers |
| 5 | Write a C++ program to find the maximum number among three numbers |
| 6 | Write a C++ program to generate fibonacci |
| 7 |
Write a C++ program to perform string manipulation |
| 8 | Find the length of a string. Compare two string, concatenate two string, Reverse a string, copy a string to another location. |
| 9 |
Write a C++ program to find quotient and remainder of 2 numbers |
| 10 | Write a C++ program to manipulate the class account using classes and function. A user should be able to perform the following functions. a) deposit money. b) withdraw money, c) calculate the interest. D) check the Total balance in his account. |
| 11 |
Write a C++ program to generate prime number between 1 and 50 |
| 12 | Write a C++ program to perform matrix addition and multiplication. |
| 13 | Write a C++ program to check whether the give matrix is a spare matrix or not |
| 14 |
Write a C++ program to calculate total sales and average sales made by a salesman |
| 15 |
Write a C++ program to overload unary minus operator |
| 16 | Write a C++ program to for construction in derived class to produce the report a employee in a company. |
| 17 | Write a C++ program to display the student detail using pointers |
| 18 | Write a C++ program to convert ASII value to its equivalent character. |
| 19 | Write a C++ program to overload a function to calculate volume of cube, cylinder and rectangular box. |
| 20 |
Write a C++ program to create a class template to find the maximum of two numbers. |