0% found this document useful (0 votes)
291 views2 pages

Object Oriented Programming Koe 064

The document is an exam paper for an Object Oriented Programming course. It contains 7 sections with multiple choice and long answer questions. The questions cover topics like [1] the differences between objects and classes, abstract classes and interfaces, and relationships in class diagrams. [2] UML diagram types, modeling techniques, abstraction, encapsulation, polymorphism and call by value vs reference. [3] Constructors in C++ and operator overloading. Students are required to answer questions on concepts like object-oriented modeling, inheritance, virtual functions and inline functions in C++.

Uploaded by

Mayank Gupta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
291 views2 pages

Object Oriented Programming Koe 064

The document is an exam paper for an Object Oriented Programming course. It contains 7 sections with multiple choice and long answer questions. The questions cover topics like [1] the differences between objects and classes, abstract classes and interfaces, and relationships in class diagrams. [2] UML diagram types, modeling techniques, abstraction, encapsulation, polymorphism and call by value vs reference. [3] Constructors in C++ and operator overloading. Students are required to answer questions on concepts like object-oriented modeling, inheritance, virtual functions and inline functions in C++.

Uploaded by

Mayank Gupta
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Printed Pages: 02 Sub Code:KOE-064

Paper Id: 236485 Roll No.

B.TECH.
(SEM VI) THEORY EXAMINATION 2022-23
OBJECT ORIENTED PROGRAMMING
Time: 3 Hours Total Marks: 100
Note: 1. Attempt all Sections. If require any missing data; then choose suitably.

SECTION A

1. Attempt all questions in brief. 2 x 10 = 20

a. Differentiate between Object and Class.


b. Describe the difference between Abstract Classes and Interfaces.
c. List down the different types of Relationships in Class diagrams.
d. Explain the terms Association, Aggregation, and Composition relationships.
e. List down the different phases of Object-Oriented Analysis.
f. Differentiate between Procedural and Object-Oriented language features.
g. What is the namespace in C++? Explain its significance.
90

2
h. Describe the concept of typecasting in C++.

13
_2
i. Discuss operator overloading in C++.

2.
P1

j. Differentiate between private and public members of a class in C++.

24
3E

5.
.5
SECTION B
P2

2. Attempt any three of the following: 17 10x3=30


Q

|1
a. Explain different types of diagrams in UML along with example of each.
0

b. Explain the different modelling techniques used in Class/Object diagrams.


:2
52

c. Define Abstraction and Encapsulation and explain their significance in Object-


Oriented Programming.
:
08

d. Explain the difference between call by value and call by reference in C++, with the
3

help of suitable example.


02

e. Explain the concept of constructors in C++. Discuss different types of constructors.


-2

Give example of each.


06

SECTION C
7-
|1

3. Attempt any one part of the following: 10x1=10

a. Explain Object-Oriented Modelling, and Differentiate it with modelling techniques.


Explain your answer with proper reasoning.
b. Define Polymorphism and give an example of its implementation in object-oriented
Programming.

QP23EP1_290 | 17-06-2023 08:52:20 | 117.55.242.132


4. Attempt any one part of the following: 10x1=10
a. Explain the reason of Polymorphism being depicted in collaboration diagrams.

b. Discuss the callback mechanism, and its representation in sequence diagrams?

5. Attempt any one part of the following: 10x1=10

a. Explain the advantages and disadvantages of SA/SD and JSD in comparison to


Object-Oriented Analysis and Design?
b. Explain the process of combining three Models (Class, Use Case, and Interaction) in
to object-oriented analysis and design.

6. Attempt any one part of the following: 10x1=10

a. Discuss an inline function in C++. Explain its significance along with example.

b. Explain the difference between static and virtual functions in C++ with the help of
example.

7. Attempt any one part of the following: 10x1=10


90

2
13
a. Illustrate the types of inheritance in C++. Give an example of each.
_2

2.
P1

b. Explain pure virtual function in C++.Explain its usefulness with an example.

24
3E

5.
.5
P2

17
Q

|1
0
:2
: 52
08
3
02
-2
06
7-
|1

QP23EP1_290 | 17-06-2023 08:52:20 | 117.55.242.132

You might also like