1. Institute of Technical Education & Research, SOA Deemed to be University
SPECIAL EXAMINATION, 2018
OBJECT ORIENTED PROGRAMMING STRUCTURE
(CS205T)
Programme: B.Tech Semester: 4th
Full Marks: 60 Time: 3 Hours
Subject/Course Learning Outcome *Taxonomy
Level
Ques.
Nos.
Marks
Ability to understand basic C++
programming concepts based on object
oriented programming system.
L3 1 6
Ability to design programs using C++ to
solve real life problems.
L2 10 6
Ability to understand object-oriented
features i.e. function overloading in C++.
L2 2 6
Ability to understand object-oriented
features i.e. inheritance in C++.
L2 3 6
Ability to understand object-oriented
features i.e. polymorphism in C++.
L3 6,8 12
Ability to use template classes, exception
handling mechanism and the STL library
in C++.
L4 7,9 12
Ability to write object-oriented programs
of moderate complexity and understand the
design patterns in C++.
L2 4,5 12
*Bloom’s taxonomy levels: Knowledge (L1), Comprehension (L2), Application (L3), Analysis
(L4), Evaluation (L5), Creation (L6)
Answer all questions. Each question carries equal mark.
1. (a) State the difference between Object Oriented Programming
Structure and Procedure Oriented Programming Structure.
2
(b) Diffenciate between Class and Object. 2
(c) List the header file that handles I/O opeartions in c++. 2
2. (a) Discuss function prototyping, with an example. Also write its
advantage.
2
Page 4of 4 ` page 1 of 4
2. (b) Explain inline functions. 2
(c) What is function overloading give example? 2
3. (a) What are the different types of inheritance in OOPs? 2
(b) Explain public, private and protected access specifiers and
show their visibility when they are inherited as public, private
and protected.
2
(c) Explain function Overridding with programming example. 2
4. (a) What is Constructor? Explain types of Constructor with
example.
2
(b) What is copy constructor? When it is used implicitly for what
purpose?
2
(c) Why destructor can not be overloaded? 2
5. (a) What are static data members? Explain with an example what
the use of static data members is.
2
(b) Discus how memory is allocated for a static data member . 2
(c) Create a class, which keep track of the number of its instances.
Use static data member, constructors and destructors to
maintain updated information about the active objects.
2
6. (a) Define operator overloading? Explain how to overload unary
operator and binary operator.
2
(b) Design a program to overload a plus (==) operator. 2
(c) Which operators cannot be overloaded? 2
7. (a) What is generic programming? How is it implemented in C++? 2
(b) Explain Generic function with example. 2
(c) Design a function template to swap two numbers.
8. (a) What do you mean by polymorphism ? 2
(b) What is a virtual function? Write rules for virtual function.
Explain wit example.
2
(c) Explain pure virtual function through a programming example. 2
9. (a) What is an exception? How an exception is different than error
in C++?
2
(b) Design a program that illustrate the application of multiple
catch statement.
2
(c) What do you mean Universal exception handler? 2
10 (a) What is a friend function? What are the merits and demerits of
using the friend function?
2
(b) Explain friend class with a programming example. 2
(c) Design a program to add two time objects and store the result
in the third object using friend function.
2
*End of Questions*
Page 2 of 4 page 3 of 4