How To Exam?

a knowledge trading engine...


Kurukshetra University 2009 B.Tech Computer Science and Engineering Object oriented programming in c++ - Question Paper

Wednesday, 03 July 2013 12:30Web

BT-/JX
Object-Oriented programming in C++
Time:Three Hours
maximum marks:100
NOTE:Attempt 5 questions,selecting at lowest 1 ques. from every unit.
UNIT-1

Q.1 (a) elaborate the benefits of OOPS over procedure oriented?
(b
what is the relationship ranging from an object and class ?explain suitable example.
(c) What is dynamic memory allocation and discuss its advantages over static memory alllocation?

Q.2 (a) When will you make a function IN-line ?Explain.
(b)When do you declare a member of class static?Explain.

UNIT-2

Q.3 (a) Create a class Rational which represents a numerical value by 2 double values numerator and denominator .Include the subsequent public member functions:
(i) Constructor with no argument
(ii) Constructor with 2 arguments
(iii) overload'>>' operator to enable input through C in

(b)Write a program to implement the concept of virtual base class.

Q.4 (a) What do you mean by pure virtual function ?how they are various from normal functions?
(b) What is containership ?How does it differ from inheritance?

UNIT-3

Q.5(a) Write a program that create a binary file by studying data from the terminal for the students consist of roll no,name & marks.

(b) What is file mode ? define different file mode choices available.

Q.6 (a) How exceptions are handled in C++.
(b) What do you mean by an exceptional stack unwinding?

UNIT-4

Q.7 (a) Differentiate b/w function template & class template
(b) Write a function template & class template.

Q.8 Write notes on :
(a)Object modelling technique.
(b)Abstract class
(c) Virtual destructor
(d) Manipulators



( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Kurukshetra University 2009 B.Tech Computer Science and Engineering Object oriented programming in c++ - Question Paper