Skip to main content

BCS-031 SOLVED ASSIGNMENT 2017-18 FOR IGNOU BCA

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
program.
(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.







« BCA 3rd SEMESTER SOLVED ASSIGNMENTS

Comments

Most Viewed This Month

MCS-013 SOLVED ASSIGNMENT FOR IGNOU BCA AND MCA 2017-18 SESSION

IGNOU BCA MCA SOLVED ASSIGNMENT 2017-18
MCS-013 Discrete Mathematics

QUESTIONS SOLVED IN ASSIGNMENT:
Question 1 (a) Explain different logical connectives with the help of examples.
(b) Make truth table for followings:
i) p→(q ~ r) (~p ~r)   
ii) p→(r ~ q)   (~p ~q) 
(d) Explain logical equivalence with the help of example.

Question 2
(a) Write down suitable mathematical statement that can be represented by the following symbolic properties.
i) ( x) ( y) ( z) P   
ii) ( x) ( y) ( z) P   
(c) What is indirect method of proof? Example with example.
(d) What is relation? Explain equivalence relation with the help of an example.

Question 3
(b) Find dual of Boolean Expression for Q, in the figure given below.
Figure 1: Logic Circuit
(c) Explain De Morgan’s laws in relation to Boolean Algebra.
(d) What is principle of mathematical induction? Explain with the help of an example.

Question 4
(a) How many different committees can be formed of 12 professionals, each cont…

MCS-012 SOLVED ASSIGNMENT 2017-18 FOR IGNOU BCA AND MCA

IGNOU BCA and MCA Solved AssignmentMCS-012 Solved Assignment 2017-18Computer Organization and Assembly Language ProgrammingQUESTIONS SOLVED IN ASSIGNMENT:(Covers Block 1)What are the differences between signed 1’s complement notation and signed 2’s complement notation for representation of negative fixed point numbers? Find the range of numbers that can be represented in both these notation, if the size of the notations is 8 bits (including sign bit). Explain the difference in the range of the two notations. Perform the following arithmetic operations using signed 2’s complement 8-bit representation. (Please note that the numbers given below are in decimal notation) Subtract 30 from –98Add 69 and 59 Please indicate the overflow if it occurs. How have you identified the overflow? Perform the following conversion of numbers: Decimal (9999)10 to binary and hexadecimalHexadecimal (FEDC9410)H into Octal.ASCII string “MCS-012Course” into UTF 8Octal (234567)O into Decimal …

BCS-040 SOLVED ASSIGNMENT FOR IGNOU BCA 4th SEMESTER 2017-18 SESSION

IGNOU BCA SOLVED ASSIGNMENT 2017-18
BCS-040 Statistics Techniques

QUESTIONS SOLVED IN ASSIGNMENT:
1. In a study on the Per capita Income for a particular year in a city, the following weekly
observations were made.
Per Capita Income (Rs.) -(1K=1000)
14K-15K 15K-16K 16K-17K 17K-18K 18K-19K 19K-20K
Number of Weeks 5 10 20 9 6 2
Draw a histogram and a frequency polygon on the same scale
2. Do you find any correlation between ages and playing habits of the students, whose distribution
according to age groups is given in the following table
Age of groups(Years) 15-16 16-17 17-18 18-19 19-20 20-21
Number of Students 200 270 340 360 400 300
Number of Regular players 150 152 170 180 180 120
3. Data are given below shows statistics viz. standard deviation & average marks secured by
students, in the examination of subject A and B
SUBJECT A SUBJECT B
MEAN MARKS 36 85
STANDARD DEVIATION 11 8
Assuming the Coefficient of correlation between A and B = ±0.66
Perform the following tasks:
i) Determi…

IGNOU BCA 4th SEMESTER SOLVED ASSIGNMENTS FOR ALL SUBJECTS 2017-18 SESSION

IGNOU BCA 4th SEMESTER SOLVED ASSIGNMENTS FOR ALL SUBJECTS 2017-18 SESSION

Download IGNOU BCA Solved Assignments For 4th SemesterCOURSE CODECOURSE NAMEDIRECT LINKBCS-040Statistical TechniquesDOWNLOADBCS-041Fundamentals of Computer NetworksDOWNLOADBCS-042Introduction to Algorithm DesignDOWNLOADMCS-024Object Oriented Technologies and Java ProgrammingDOWNLOADBCSL-043Java Programming LabDOWNLOADBCSL-044Statistical Techniques LabDOWNLOADBCSL-045 Algorithm Design Lab DOWNLOADMCSL-016Internet Concepts and Web Design LabDOWNLOAD