Sat. Dec 21st, 2024

BCS-031 Solved Assignment 2021-22

BCS-031 Solved Assignment 2021-22

Subject Name Programming in C++
Assignment Code BCS-031
Session 2021-2022 (July – January)
File Type PDF
Number of Pages 55
Price Rs. 40

To get the PDF click on the button below.

Pay Now

 

Note:

  1. After the successful payment you will receive download link via an email very shortly.
  2. You can also place your order over WhatsApp (+91-7980608289).

Programming in C++ (BCS-031) 2021-2022 (July-January)

Note : This assignment has five questions carrying a total of 80 marks. Answer all the questions. Rest 20 marks are for viva-voce. You may use illustrations and diagrams to enhance explanations. Please go through the guidelines regarding assignments given in the Programme Guide for the format of presentation. Wherever required, you may write C++ program and take its output as part of solution.

Question 1:
(a) What is Object Oriented Programming (OOP) approach? Explain advantages of OOP. (6 Marks)

(b) Briefly explain different operators of C++. (6 Marks)

(c) Explain use of followings in C++ programming, with an example program for each. (4 Marks)

(a) for loop
(b) while loop

Question 2:
(a) What is a class? Explain how a class is created in C++, with the help of an example. (5 Marks)

(b) Explain the following in detail, in context of C++ programming. (6 Marks)

i. Access specifies
ii. Friend Function

(c) Write a C++ program to explain how an object can be passed as a parameter to a function. (5 Marks)

BCS-031 Solved Assignment 2021-22

IGNOU BCA 3rd Sem Solved Assignment 2021-22

IGNOU BCA 3rd Sem Assignment 2021-22 Question PDF Download 

Question 3:
(a) What are containers? Explain use of List container class, with the help of an example. (5 Marks)

(b) What is inheritance? What are different types of inheritance? Explain how multiple inheritance is implemented in C++, with the help of a program. (5 Marks)

(c) Write a C++ program to overload ‘+’ operator in such a way that it return the sum of lengths of two strings (Note: if S1 and S2 are two strings then S1+S2 or S2 + S1 should give the sum of lengths of S1 and S2). (6 Marks)

BCS-031 Solved Assignment 2021-22

BCS-031 Solved Assignment 2021-22

IGNOU BCA 3rd Sem Solved Assignment 2021-22

IGNOU BCA 3rd Sem Assignment 2021-22 Question PDF Download 

 

Leave a Reply

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

Insert math as
Block
Inline
Additional settings
Formula color
Text color
#333333
Type math using LaTeX
Preview
\({}\)
Nothing to preview
Insert
error: Content is protected !!