BCS-031 Programming in C++ Solved Assignment 2020-21

70.00 25.00

Course Code : BCS-031
Course Title : Programming in C++
Assignment Code): BCA(3)/031/Assignment/2020-2021
Last Date of Submission : 31st October, 2020 (For July, 2020 Session)

: 15th April, 2021 (For January, 2021 Session)

(a) What is Object Oriented Programming? Explain concept of Object, Class and Inheritance with example of each.

(b) Explain different operators available in C++ programming language.

(c) Explain the use of followings in C++ programming with an example program for each.
(a) for
(b) ?:
(c) ::
(d) while

Q2.(a) What is access specifire ? Explain uses different types of access specifiers in C++ with the help of example programs.

(b) Explain the following in detail, in context of C++ programming.
i. Fried function
ii. Encapsulation and data hiding
iii. Abstract Class

Q3. (a) What is inheritance? Explain advantages of inheritance. What are different types of inheritance in C++. Explain order of constructor calling in multilevel inheritance with the help of example program.

(b) What is polymorphism? Explain different types of polymorphism in C++ with the help of example programs.

Q4.  (a)Write a C++ program to overload ‘+’ operator to add two murices. Make necessary assumptions require.

(b) Explain use of different stream manipulators in C++?

(c) Write a C++ program to explain exceptions handling in C++.

Q5. (a) What is function template and class template? Write appropriate statements to create a template class for Queue data structure in C++.

(b) What is function overriding, explain with examples. Also explain advantages of function overriding.

(c) Write C++ program to create an Account class to manage saving bank account activities. Make necessary assumptions.


There are no reviews yet.

Be the first to review “BCS-031 Programming in C++ Solved Assignment 2020-21”

Your email address will not be published. Required fields are marked *

× Need Help?