Printed Page: 1 of 2
Subject Code: KOE064
0Roll No: 0 0 0 0 0 0 0 0 0 0 0 0 0
BTECH
(SEM VI) THEORY EXAMINATION 2021-22
OBJECT ORIENTED PROGRAMMING
Time: 3 Hours Total Marks: 100
Note: Attempt all Sections. If you require any missing data, then choose suitably.
SECTION A
1. Attempt all questions in brief. 2*10 = 20
[Link] Questions Marks CO
(a) Define Object Oriented Programming. 2 1
(b) Briefly define Encapsulation. 2 1
(c) Define Classes under the Basic Structural Modeling. 2 2
(d) Discuss about the Object Diagrams. 2 2
(e) Briefly discuss about the Object Oriented Analysis. 2 3
(f) What do you mean by Physical packaging? 2 3
(g) What is the use of Scope resolution operator? 2 4
(h) Define identifiers. 2 4
(i) What do you understand by the Private and public members. 2 5
90
1
13
(j) Discuss constructors and their types. 2 5
_2
2.
P1
24
SECTION B
2E
5.
2. Attempt any three of the following: 10*3 = 30
.5
P2
[Link] Questions Marks CO
17
Q
(a) Explain in detail about the concept, its typesand application of 10 5
|1
Inheritance.
(b) Write short notes on the following: 10 2
2
(i) C++ streams
2
2:
(ii) Class Templates
:3
(c) Differentiate between Object Oriented Programming and Procedural 10 3
13
Programming? Write a program in C++ by creating a class of integers
and write a function that prints all the Prime numbers from the class.
2
(d) Describe events and states. How is a state diagram prepared? Explain 10 4
02
by suitable examples.
-2
(e) Define UML. Draw a UML diagram for the automation of training and 10 1
06
placement office of any college. Make suitable assumptions if required
and explain them clearly.
0-
|1
SECTION C
3. Attempt any one part of the following: 10*1 = 10
[Link] Questions Marks CO
(a) What is Operator overloading? Discuss with the help of an example. 10 5
(b) Explain about the Jackson Structured Development (JSD) in Object 10 2
Oriented Analysis.
QP22EP1_290 | 10-06-2022 [Link] | [Link]
Printed Page: 2 of 2
Subject Code: KOE064
0Roll No: 0 0 0 0 0 0 0 0 0 0 0 0 0
BTECH
(SEM VI) THEORY EXAMINATION 2021-22
OBJECT ORIENTED PROGRAMMING
4. Attempt any one part of the following: 10 *1 = 10
[Link] Questions Marks CO
(a) Discuss about theObject identity and Information hiding under the 10 1
Object Oriented Programming.
(b) Discuss about theconcept of Passing arguments to methods using a 10 3
suitable example.
5. Attempt any one part of the following: 10*1 = 10
[Link] Questions Marks CO
(a) What do you mean by Exceptions? Explain with suitable examples. 10 4
(b) Explain in detail about the concept, types and application of 10 5
Polymorphism.
6. Attempt any one part of the following: 10*1 = 10
[Link] Questions Marks CO
90
1
(a) Describe the concept of Use cases, Use case Diagrams and Activity 10 2
13
Diagrams in Basic Structural Modeling.
_2
2.
(b) What is the difference between link and association? Draw an object 10 1
P1
24
diagram to explain.
2E
5.
7. Attempt any one part of the following:
.5 10*1 = 10
P2
17
[Link] Questions Marks CO
Q
|1
(a) Briefly discuss thefollowing. 10 3
(i) Reusability
2
(ii) Extensibility
2
2:
(ii) Robustness
:3
(iv) Abstraction
(b) Write a program in C++ to differentiate between function overloading 10 4
13
and function overriding.
2
02
-2
06
0-
|1
QP22EP1_290 | 10-06-2022 [Link] | [Link]