How To Exam?

a knowledge trading engine...


Punjab University 2008-3rd Sem B.E Information Technology OBJECT ORIENTED PROGRAMMING - Question Paper

Tuesday, 07 May 2013 11:40Web


BE third SEMESTER
OBJECT ORIENTED PROGRAMMING

Sr .No *29 60

2118

B*E*( I#T#) 3rd Semester

IT* 314* Object Oriented programming

Time allowed* 3 Hours    Max* Marks t 100

Notes Attempt five questions in all, selecting atleast two from each Part*

Eart-I

a)    How Is ooat-oriented programming different from structured programming? Consider a suitable example to support your answer*


b)    Explain the various control structures available in C++ with examples and diagrams*    . '    (10#10) What is an inline function? what are its advantages? Discuss two different ways to make a function inline*


Can you make all functions inline? Justify your answer#

frX Explain the concept of objects and classes in C++* How do you declare a class and an object in C++? Explain by means of suitable examples*    (1G#10)


I*a) What is polymorphism? How is run-time polymorphism supported in c++? Explain wit& suitable example*

b)hat is function overloading? How does compiler resolve the invocation of the overloaded functions?    (10,10)


Explain the following with examples in the context of

C++! (10.10)

\r*


\ a) Constructors and destructors

J6) Garbage collection and dynamic memory allocation*

ZaxJasSL    ' 1 ---

s'

Yk&$ Give the rules for different types of class derivation    supported in C++* Give one example of multiple

inheritance by developing a computer program in C++.

. b) What is an abstract class? How is it implemented in

C++? .Explain with an example*    (10,10)


a) what is exception halnding feature in C++? Write a suitable program to demonstrate the use of multiple catch handlers * yf Explain the use of a friend class in C++ with the

help of suitable example*    (10,10)

VU* a) What is genericity? How is it supported in C++?

Design a template class to sort N elements* b) write a C++ program to duplicate a file* (10,10) VIII* write shosr t notes on i

a)    Object-Or ient ed Ama lysis and Hesign (oad)

b)    Concept of pointers and use of this* pointer.(10 * 10)

*******







Attachment:

( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Punjab University 2008-3rd Sem B.E Information Technology OBJECT ORIENTED PROGRAMMING - Question Paper