Documente Academic
Documente Profesional
Documente Cultură
UNIT-III
5. a) Distinguish between multiple inheritance, multilevel
inheritance, hierarchical inheritance and hybrid inheritance.
b) What is meant by copy constructor? How is it useful
in C++?
8
4
OR
12
6
6
OR
6
6
UNIT-V
9. a) Describe the key words provided by C++ for implementing
exception handling.
b) Define a function template that reverses an array of elements.
The function must use two arguments the type of array
(generic) and size of the array (int).
OR
6
6
[12456/II S/108]
[EURCS 206]
UNIT-I
1. Write a program in C++ to read a small positive integer n and to
print all possible truth values that can be assigned to n Boolean
variables. If n is 3, output should be 23 = 8 lines and each line
should contain possible truth value (TRUE, FALSE) of each of
the 3 Boolean variables.
12
OR
4
4
4
UNIT-II
3. a) What is meant by function overloading? Is it different from
operator overloading? Explain.
b) Explain the parameter passing mechanisms in C++.
c) Describe the constructs in C++ to reflect encapsulation.
4
4
4
OR
UNIT-III
5. a) Distinguish between multiple inheritance, multilevel
inheritance, hierarchical inheritance and hybrid inheritance.
b) What is meant by copy constructor? How is it useful
in C++?
8
4
OR
12
6
6
OR
6
6
UNIT-V
9. a) Describe the key words provided by C++ for implementing
exception handling.
b) Define a function template that reverses an array of elements.
The function must use two arguments the type of array
(generic) and size of the array (int).
OR
6
6
[12456/II S/108]
[EURCS 206]
UNIT-I
1. Write a program in C++ to read a small positive integer n and to
print all possible truth values that can be assigned to n Boolean
variables. If n is 3, output should be 23 = 8 lines and each line
should contain possible truth value (TRUE, FALSE) of each of
the 3 Boolean variables.
12
OR
4
4
4
UNIT-II
3. a) What is meant by function overloading? Is it different from
operator overloading? Explain.
b) Explain the parameter passing mechanisms in C++.
c) Describe the constructs in C++ to reflect encapsulation.
4
4
4
OR