Skip to main content


BCS-031 Solved Assignment 2017-18 For IGNOU BCA/MCA

Course Code : BCS-031
Course Title : Programming In C++
Assignment Number : BCA(3)/031/Assignment/17-18
Last Dates for Submission: 15th October, 2017 (For July 2017 Session)
                                               : 15th April, 2018 (For January 2018 Session)
Questions Solved In Assignment:
1. (a) What is Object Oriented Programming (OOP) approach? Explain how
OOP is better than structured programming.
(b) Explain use of different operators of C++ , with the help of examples. (6 Marks)
(c) Explain use of followings in C++ programming, with an example
program for each.
(a) Nested if
(b) While loop

2. (a) Define class. Explain how an object is created in C++ ,with the help of
an example. Also explain how destructor is defined in C++.
(b) Explain the following in detail, in context of C++ programming.
i. Access specifiers
ii. Virtual Function
iii. Friend Function
(c) Explain how an object is passed as a parameter to a function, with the
help of a program.

3. (a) What is constructor? Explain how it is overloaded, with the help of a
C++ program.
(b) What is inheritance? What are different types of inheritance? Explain
how multiple inheritance is implemented in C++, with the help of a
(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).

4. (a) What is stream manipulator? Explain use of setw( ) and setprecision( ) as
stream manipulator.
(b) What is template? Write appropriate statements to create a template class
for Queue data structure in C++.
(c) What are containers? Explain use of List container class, with the help of
an example.

5. (a) What is exception? How exceptions are handled in C++? Write program
to handle stack overflow as exception.
(b) What is function overloading? Explain with an example.
(c) Write C++ program to create a file and store your contact details in it.



Popular This Week

IGNOU BA (BDP) Solved Assignments For All Subjects 2017-18 Session


Download Assignment IGNOU BDP Solved Assignment for 2018 (FREE)BSHF-101 Foundation Course in Humanities and Social SciencesQUESTIONS SOLVED IN ASSIGNMENT:Discuss the different aspects of the non-cooperation movement. Discuss some of the sources of thinking that went in to formulating a strategy for development immediately after independence? What do you understand by the term 'renaissance'? How did the Indian economy adapt to globalisation? Comment. Comment on the main environmental challenges we are facing today?What do you understand by the term 'Fundamental Duties' as given in our constitution? SCQ: Write short notes on any two in about 100 word s each: BharatnatyamSwara in Indian musicDownload Assignment

FST-01 Solved Assignment For IGNOU BDP 2018 Session

IGNOU BDP Solved Assignment for 2018 (FREE)FST-01 Foundation Course In Science and Technology SOLVED ASSIGNMENT IGNOU BA (BDP) Solved Assignment For 2017-18FST-01 Foundation Course In Science and TechnologyQuestions Solved In Assignment:Download For 2017 Download For 2018 IGNOU BDP (BA) SOLVED ASSIGNMENTS FOR ALL COURSES


Download Assignment IGNOU BDP Solved Assignment for 2018 (FREE)FEG-1 BEGF-101 Foundation Course In EnglishQUESTIONS SOLVED IN ASSIGNMENT:Read the following passage and answer the questions that follow: A new study has found that the giant panda’s distinct black - and - white markings have two functions: camouflage and communication. The scientists who earlier uncovered why zebras have black - and - white strips, took the colouration question to giant pandas in the latest study. “Understanding why the giant panda has such striking colouration has been a long - standing problem in biology that has been difficult to tackle because virtually no other mammal has this appearance, making analogies difficult , ” said Tim Caro, a professor at the University of California, Davis in the U.S. “The breakthrough in the study was treating each part of the body as an independent area,” said Mr. Caro. This enabled the team to compare different regions of fur across the giant panda’s body to the dark a…

BEGE-101/EEG-01 Solved Assignment For IGNOU BDP 2017-18

IGNOU BDP Solved Assignment for 2018 (FREE)BEGE-101/EEG-01 Elective Course In English SOLVED ASSIGNMENT Read the following poem carefully and answer the following questions. Amalkanti (Nirendranath Chakrabarti) Amalkanti is a friend of mine, we were together at school. He often came late to class and never knew his lessons. When asked to conjugate a verb, he looked out of the window in such puzzlement that we all felt sorry for him. Some of us wanted to be teachers, some doctors, some lawyers. Amalkanti didn't want to be any of these. He wanted to be sunlight — the timid sunlight of late afternoon, when it stops raining and the crows call again, the sunlight that clings like a s mile to the leaves of the jaam and the jaamrul. Some of us have become teachers, some doctors, some lawyers. Amalkanti couldn't become sunlight. He works in a poorly lit room for a printer. He drops in now and then to see me, chats about this and th at over a cup of tea, then gets up to go. I see him of…