Roll no....................
Total No. of Questions: 07]
Paper ID [MB681]
MBA(Sem.-3rd
& 4th )
PROGRAMMING IN
C/C++ (MB-681)
TIME: 03 Hours
Instruction to Candidates:
1)
Section – A is
Compulsory.
2)
Attempt any Four
questions form Section – B.
Section - A
1.
a. What
is type conversion ?
b. How
is a user defined identifier different form a reserve word?
c. What
are standard manipulators used in C++?
d. What
is the purpose of comma operator?
e. Can
an array name be used as an argument to a function? Explain.
f. What
is meant by address operator?
g. What
is the advantage of using a union in C++?
h. What
do you mean by a default constructor?
i.
What is an inline
substitution?
j.
What do you mean by
operator overloading?
Section-B
2.
a. What
do you mean by recursion? Write a recursive program in C++ to print Fibonacci
series Upto nth number.
b. Write
a program in C++ to find sum of digits of a number.
3.
a. Write
a program in C++ to read a line and find out the number of vowels and
consonants present in the given line.
b. Write
a program in C++ to compare the two given strings using a pointer.
4.
a. What
is meant by a union? Differentiate between a structure data type and a union.
b. What
is a nested class? How is a nested class declared and defined in C++?
5.
a. List
merits and demerits of copy constructor.
b. What
is a container class? List the pros and cons of declaring container classes.
6.
a. Write
a program in C++ using operator overloading to find a factorial of a given
number.
b. Explain
various techniques of defining a pure virtual function.
7. Write
short notes on the following:
a. Early
binding and late binding.
b. Multiple
inheritance.
0 comments:
Post a Comment
North India Campus