How To Exam?

a knowledge trading engine...


Rajasthan Technical University 2009 B.Tech Mechanical Engineering Object Oriented Programming in C (mechanical Engg.) - Question Paper

Saturday, 25 May 2013 07:50Web


RTU Object Oriented Programming in C++ (mechanical Engg.)


Rajasthan tech. University
B.tech three sem (Main/back)
Year 2009

RoM No 1    Total Printed Pages :

3E1415

B.Tech. (Sem.lll) (Main/Back) Examination, January - 2009 (3ME5) Object Oriented Prog, in C++ (Mechanical Engg.)

I* PM pp


(3PI5) Object Oriented Prog, in C++ (Prod. & Indus. Engg.) (3AE5) Object Oriented Prog, in C++ (Automobile Engg.)

Time : 3 Hours]    [Total Marks : 80 [Min. Passing Marks : 24 Attempt five questions in all. Schematic diagrams must be shown wherever necessary. Any data you feel missing may suitably be assumed and stated clearly

Use of following supporting materia! is permitted during examination. (Mentioned in form No. 205)

1. _NM__2._Nil_

1 What do you mean by object oriented programming ? How it is different from structured programming language ? Explain with examples.

16

OR

1    (a) What are the three main principles of object oriented

programming ? Explain with suitable examples.

8

(b) Explain different basic concepts of object oriented programming with example.

(i)    Message passing

(ii)    Encapsulation

(iii)    Abstraction

(iv)    Polymorphism

8

2    (a) What is an operator ? List out the various types of

operators used in C++ ?

8

(b) What is function overloading ? Write a program to find Area of rectangle and area of circle using function overloading ?

8

OR

I (a) Explain call by reference and call by addren by suitable example.    *

8

(b) Write a program to find sum of values of an array.

8

3 (a) Explain friend function and friend class using suitable example.

8

(b) What is constructor and destructor ? Why we use constructor and destructor in program. Explain with example.

8 OR

3    What is Inheritance ? Why we use Inheritance ? Explain different types of Inheritance with suitable examples.

16

4    What is template function ? What is the use of template function ? Write a program to exchange (swap) 2 integer, 2 float and 2 character values using template function.

16 OR

4    (a) Explain the syntactic rules for the following functions

(i)    j stream

(ii)    Dj stream

(iii)    ij stream

' 8

(b) What is binary file ? List the merits and demerits of binary files wage in C++.

8

5    What is Link list ? How it is different from array ? Explain different types of link list with example.

16 OR

5 Write short notes on :

(i)    Stack

(ii)    Queue

(iii)    Priority queue

(iv)    Circular list

16

3Ei4i5i i iii in in hi mi mi mi iii 2    too]

f 1 *







Attachment:

( 1 Vote )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Rajasthan Technical University 2009 B.Tech Mechanical Engineering Object Oriented Programming in C (mechanical Engg.) - Question Paper