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


Course Code : BCS-031
Course Title : Programming in C++
Assignment Number : BCA(3)/031/Assignment/2019-20
Maximum Marks : 100
Weightage : 25%
Last Date of Submission : 15th October, 2019 (For July 2019 Session)
15th April, 2020 (For January 2020 Session)


Add to cart
Buy Now
SKU: BCS-031 Categories:

BCS-031 Programming in C++

Title Name

BCS-031 Solved Assignment 2019-2020

Service TypeSolved Assignment (Soft copy/PDF)
Language ENGLISH
SemesterBCA(Revised Syllabus)/ASSIGN/SEMESTER-III
Short Name BCS-031
Assignment CodeBCA (3)/031/Assignment/2019-20
ProductAssignment of BCA 2020 (IGNOU)
PriceRs. 30

Last Date of Submission

15th October, 2019 (For July, 2019 Session)
15th April, 2020 (For January, 2020 Session)

(a) Differentiate between Object Oriented Programming approach and Structured Programming
Approach. Also explain advantages of Object Oriented Programming over Structured
Programming. (5)
(b) Explain different data types available in C++ programming language. (5)
(c) Explain the use of followings in C++ programming with an example program for each.(6)
(a) if
(b) while
(c) switch
(a) What is constructor? Define the class Account with all the basic attributes of a saving bank
account. Define the default constructor, parameterised constructor in Account class. Define
member functions display_balance(),for displaying the balance of account and
cash_withdrawal( ) to withdraw some amount from account. Use appropriate access control
specifiers in this program. (7)
(b) Explain the following in detail, in context of C++ programming. (9)
i. Access Specifiers
ii. Virtual Function
iii. Abstract Class
(a) What is inheritance? Explain different types of inheritance supported by C++ with the help of
example programs. (6)
(b) Write a C++ program to overload ‘+’ operator to find the sum of length of two given strings.
(Note: if S1 and S2 are two strings then S1+S2 should give the sum of lengths of S1 and
S2). (10)
(a) What is stream manipulator? Explain use of setw( ) and setprecision( ) as stream
manipulator. (4)
(b) Write a C++ program to read the contents of a file and display it on console. (5)
(c) What is an exception? Explain advantages of exceptions handling .Write a program in C++
to perform simple arithmetic operations with proper exceptions handling. (7)
(a) What is template? Write appropriate statements to create a template class for Stack data
structure in C++. (5)
(b) What is polymorphism? Explain different types of polymorphism with examples. (6)
(c) Write C++ program to demonstrate implementation of friend function. Also explain
advantages of friend function. (5)

BCS-031, BCS-31, BCS 031, BCS 31, BCS031, BCS31, BCS


There are no reviews yet.

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

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