The document outlines a list of C++ programming assignments for the 3rd semester BCA students at St. Hopkins College, Bangalore. It includes tasks related to class creation, operator overloading, function overloading, and various data structures like stacks and queues. Additionally, it specifies two programs from each part that were not covered in the curriculum.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
19 views3 pages
BCA 3rd Semester C++ Practicals List
The document outlines a list of C++ programming assignments for the 3rd semester BCA students at St. Hopkins College, Bangalore. It includes tasks related to class creation, operator overloading, function overloading, and various data structures like stacks and queues. Additionally, it specifies two programs from each part that were not covered in the curriculum.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3
St.
Hopkins college Bangalore BCA 3rd semester C++ Programs list
Part A 1.Write a C++ Program to define a STUDENT class with USN, Name and Marks in 3 tests of subject. Declare an array of 1O STUDENT objects. Using appropriate functions, find the average of two better marks for each student. Print the USN, Name and average marks. 2.Write a C++ Program to Deposit amount and withdraw options in bank transactions for saving and current account and display the total balance using friend functions. 3. Write a C++ Program to find the area of right angle, equilateral and scalene triangle using function overloading. 4. Write a C++ program to create a class called COMPLEX and implement the following overloading functions ADD that return a COMPLEX number. i. ADD (a, s2) - where a is an integer (real part) and s2 is a complex number. ii. ADD (s1, s2) - where s1 and s2 are complex numbers. 5. Write a C++ Program to compare two strings by overloading = = operator. 6. Write a C++ Program to perform addition of two matrices by overloading + operator. 7. Write a C++ Program to sort elements using bubble sort. 8. Write a C++ Program to perform stack operations for Integers, Decimal, Characters using class templates. 9. Write a C++ Program to calculate area and perimeter of rectangle using concept of inheritance. 10. Write a C++ Program to calculate area and volume of various figures using function overriding. Two programs not learned from part A 4. Write a C++ program to create a class called COMPLEX and implement the following overloading functions ADD that return a COMPLEX number. i. ADD (a, s2) - where a is an integer (real part) and s2 is a complex number. ii. ADD (s1, s2) - where s1 and s2 are complex numbers.
8. Write a C++ Program to perform stack operations for Integers, Decimal,
Characters using class templates.
Part B
1.Write a program to prepare a shopping list.
2.Write a program to perform banking transaction. 3.Write a program to swap two numbers using friend function. 4.Write a program to calculate area and circumference of circle using inline function. 5.Write a program to perform multiplication of two matrices using operator overloading 6.Write a program to implement operations on a queue 7.Write a program to create a student report using inheritance 8.Write a program to find area and volume of figures using function overloading. 9.Write a program to show returning current object, accessing member data of current object and returning values of object using this pointer. 10.Write a program to sort elements using templates.
Two programs not learned from part B
2.Write a program to perform banking transaction. 6.Write a program to implement operations on a queue