How To Exam?

a knowledge trading engine...


Rajasthan Technical University 2010-3rd Sem B.Tech Computer Science and Engineering : ( - ) Object Oriented Programming - Question Paper

Friday, 24 May 2013 11:35Web

B.tech III Semester (Main) Examination, February 2010
(Common for Comp. Engg. & IT)
Object Oriented Programming

Unit I

1. discuss structure as a user described data kind in 'C' with the help of suitable example.[Marks 16]

OR
1.
A) discuss subsequent with their syntax:
i) Pointer to structure
ii) Parsing structure to function
iii) Array of structure.
[Marks 4,4,4]
B) What is the difference ranging from structured programming and object oriented programming? [Marks 4]


Unit II

2.
A) What is constructor? How many kinds of constructors are in C++? define with the help of a suitable example. [Marks 10]

B) describe following:
i) Reference variables in C++
ii) static member function.
iv) This pointer. [Marks 2*3=6]

OR

2.
A) what is friend function? Write a program to swap private data of 2 classes. [Marks 8]

B) Differentiate followings:
i) objects and classes
ii) data abstraction and encapsulation
iii) inline function and macro
iv) Constructor and destructor. [Marks 2*4=8]


Unit III

3. What is operator overloading? How many arguments are needed to overload unary and binary operators. Respectively? describe a class string. Use overloaded == operator to compare 2 strings. [Marks 2+2+12=16]

OR

3.
a) What is kind conversion in C++? How it is achieved in user described data types? [Marks 8]
b) What is function overloading? discuss with the help of a suitable example. [Marks 8]


Unit IV

4. What is inheritance? elaborate the different forms of inheritance? discuss every with the help of examples. [Marks 16]

OR

4. What is polymorphism? How is it achieved at compile time and runtime? discuss both with the help of example. [Marks 16]

Unit V

5. What is generic programming? How is it implemented in C++? Write a program to implement sorting using templates. [Marks 16]

OR

5. Write short notes on : (any two)
a) Exception handling
b) Virtual Base class
c) Multiple inheritance. [Marks 2*8=16]


( 2 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Rajasthan Technical University 2010-3rd Sem B.Tech Computer Science and Engineering : ( - ) Object Oriented Programming - Question Paper