BCA / B.Tech 4 min read

BCA || C++ Programming Paper 2015 Paper || MDSU Exam Paper

BCA || C++ Programming Paper 2015 Paper || MDSU Exam Paper


Part-A

Q.1 What is keyword?
Q.2 What is extraction and also write the symbol?
Q.3 What do you mean by expression?
Q.4 What is recursion?
Q.5 Explain is opps Concept?
Q.6 What is Pointer?
Q.7 What is the difference between variable and constants?
Q.8 Define Implicit calling
Q.9 What do you mean by the term 'container clans'?
10. How to declare a destructor ?

Part-B

Q.11 What are the rules for naming an identifier?
Q.12 What is the difference between copy constructor and an overloaded assignment operator?
Q.13 How to implement is-A and has-A class relation-ships?
Q.14 How to take input of an array in 1 line in C++? Explain with the help of example.
Q.15 Write a program to print factorial of given number.

Part-C


Q.16 What do you mean by constructor? Explain of constructor and also explain it with the suitable program.

OR

What do you mean by class and objects? Explain With suitable examples and also describe the C nested classes.

Q.17 What is the difference between overloading and overriding? Explain with suitable example,

OR

What is the difference between virtual and pure virtual function? Explain with suitable example and also describe the ambiguity error with it.

Q.18 Write short notes on any two of the following:

(i) Friend function
(ii) Inline member function
(iii) Static member function

OR

Write short notes on any two of the following:

(i) Dynamic memory allocation
(ii) Operator overloading
(iii) Stream state member function
(iv) Types of inheritance