|Course Code :||BCSL-032|
|Course Title :||C++ Programming Lab|
|Assignment Number :||BCA(3)/BCSL-032/Assignment/2019-20|
|Maximum Marks :||50|
|Last Date of Submission :||15th October, 2019 (for July 2019 session)
15th April, 2020 (for January 2020 session)
|Solution Type :||Softcopy (PDF File)|
This assignment has two questions. Answer both the questions. These questions carry 40 marks. Rest 10 marks are for viva-voce. Write C++ program and take its output as part of solution. Please go through the guidelines regarding the assignments given in the programme guide for the format of presentation.
- (a) Write a C++ program which take C++ Programming course marks of 10 students and find the average marks.
(b) Write a C++ program to create class named Account to perform basic operations like display balance, cash withdrawal and cash deposit of a bank account. Derive Saving_ Account class from Account class and override the methods of Account class as per need Make necessary assumptions wherever required.
- (a) Write C++ program for addition of two matrices by overloading ‘+’ operator. Make necessary assumptions wherever required.
(b) Write a C++ program to demonstrate exception handling by using matrixmultiplication operation. Matrix multiplication function should notify if the order of the matrix is invalid, using exception.
All questions are solved in this assignment solution.