2021-22

BCSL-032 C++ Programming Lab Solved Assignment 2021-22 for BCA 3rd Semester

30.00

Course Code : BCSL-032
Course Title : C++ Programming Lab
Assignment Number (Code) : BCA (3)/ L-032/Assignment/2021-22
Last Date of Submission : 31st October, 2021(for July 2021 session)
15th April, 2022 (for January 2022 session)

Description

Course Code : BCSL-032
Course Title : C++ Programming Lab
Assignment Number : BCA (3)/ L-032/Assignment/2021-22
Maximum Marks : 50
Weightage : 25%
Last Date of Submission : 31st October, 2021(for July 2021 session)
15th April, 2022 (for January 2022 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.

Question 1(a):
Write a C++ program to demonstrate us of all the arithmetic and logical operators in C++. (10 Marks)

Question 1(b):
Write a C++ program to create shape class which is having abstract method area(). Derive classes circle and rectangle from shape class. Override area method in circle and rectangle class to find the area of the respective shape. Make necessary assumptions id any. (10 Marks)

Question 2(a):
Write a C++ program to demonstrate exception handling by writing a program for matrix addition, which add two matrices and display the resultant matrix. Matrix addition function should notify if the order of the matrix is invalid for addition, using exception. (10 Marks)

Question 2(b): Write C++ program to read the contents from a given file and display in on console. (10 Marks)

All questions are solved in this assignment solution.


Keywords: BCSL-032, BCSL032, BCSL 032, BCSL32, BCSL-32, BCSL 32, IGNOU Assignment Solution Guide, Answer Key PDF,

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.