Oosdpyq
Oosdpyq
Oosdpyq
B. TECH.
(SEM V) THEORY EXAMINATION 2020-21
OBJECT-ORIENTED SYSTEM DESIGN
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
Q no. Question Marks CO
a. Define Object identify with example. 2 CO1
b. List the features of Object-oriented paradigms. 2 CO1
c. Define and Differentiate Link and Association with example. 2 CO2
d. Define and Differentiate Generalization and Inheritance with example. 2 CO2
e. How it is different from multiple inheritance and modelled by using 2 CO3
nested generalization?
f. Define and differentiate Procedural and OOP with example. 2 CO3
g. Write a program to demonstrate the all the keywords used in Exception 2 CO4
Handling.
h. Define friend functions with example. 2 CO4
i. Define and differentiate virtual and pure virtual functions with example. 2 CO5
P
j. Define constructor and destructor with example. 0Q 2 CO5
SECTION B
1
13
2. Attempt any three of the following: 3 x 10 = 30
29
2.
0E
24
P2
5.
b. What is Data Abstraction? How it is different from encapsulation? 10 CO2
_Q
.5
Explain with proper example. 17
c. Prepare a DFD for computing the volume and surface area of a cone. 10 CO3
TU
Inputs are height and the radius of the base of the cone. Outputs are
|1
AK
d. Discuss the term Link and Association by taking suitable example. Also, 10 CO4
:5
define multiplicity.
13
e. What is Late Binding & Early Binding? Which technique is used to 10 CO5
:
with example.
SECTION C
1
02
their characteristics Give an example where you can justify the use of
M
industries or in real life? Explain with example. Discuss the pros and
cons of object-oriented technology with suitable example.
4. Attempt any one part of the following:
Q no. Question Marks CO
a. What is use case driven OOA? How is it different from OOD? Explain 10 CO
OOA process with the help of a diagram in the unified approach.
b. List the properties of a state chart diagram. Draw a state chart for a coin 10 CO
vending machine present at a railway station.
1|Page
AKTU_QP20E290QP | 03-Mar-2021 09:13:53 | 117.55.242.131
Printed Page: 2 of 2
Subject Code: KCS054
0Roll No: 0 0 0 0 0 0 0 0 0 0 0 0 0
P
how ambiguity is avoided in a single inheritance using scope resolution
0Q
operators.
1
13
b. What is Pointer in C++? Define const pointers. What is the usage of the 10 CO5
29
2.
0E
24
P2
5.
_Q
.5
17
TU
|1
AK
3
:5
13
:
09
1
02
-2
ar
M
3-
|0
2|Page
AKTU_QP20E290QP | 03-Mar-2021 09:13:53 | 117.55.242.131
Printed Page: 1 of 2
Subject Code: KCS054
0Roll No: 0 0 0 0 0 0 0 0 0 0 0 0 0
B.TECH
(SEM V) THEORY EXAMINATION 2021-22
OBJECT ORIENTED SYSTEM DESIGN
SECTION-A
1. Attempt all questions in brief. 2X10=20
a. Differentiate between link and association.
b. What is an abstract class? Is it possible that an abstract class is inherited by another class?
c. Draw a state diagram for electric bulb.
d. When do we use the protected visibility specifier to a class member?
e. When will you make a function inline? Why?
f. Define Destructor. Why do we use a destructor in a program?
g. What is the use of Scope resolution operator?
h. What is a Candidate key?
i. What is the use of friend function in C++?
j. What is information hiding?
1
SECTION –B
90
13
2. Attempt any three parts of the following: 10X3=30
_2
2.
program in C++ for constructor overloading .
1P
24
b. What is an inline function? Why do we use inline functions in our program? Write a
program in C++ for inline function.
2O
5.
c. Explain object oriented programming. What are the main advantages of object oriented
.5
P2
e. What is an inheritance? Explain the different types of it .Write a program in C++ for
multiple inheritance.
14
4:
:2
SECTION-C
3. Attempt any one part of the following: 10X1=10
09
(a) What is polymorphism? Differentiate between runtime polymorphism and compile time
polymorphism.
2
02
(b) What is operator overloading? Write a program in C++ for binary operator overloading.
n -2
(a) A farmer wants to cross the river in a boat along with a bag of grass, a goat and a lion. Only one
things can be carried in the boat at a time. If the goat is left alone with the grass the grass will be
5-
eaten. If the goat is left along with the lion, the goat will be eaten.
|0
(i) Prepare a scenario in which everything is safely transported across the river.
(ii) Prepare the event trace diagram for the above problem.
(b) Define the term multiplicity and quantification with suitable examples.
1
90
13
_2
2.
1P
24
2O
5.
.5
P2
17
Q
|1
14
4:
:2
09
2
02
n -2
Ja
5-
|0
B.TECH.
(SEM V) THEORY EXAMINATION 2022-23
OBJECT ORIENTED SYSTEM DESIGN
Time: 3 Hours Total Marks: 100
Note: Attempt all Sections. If you require any missing data, then choose suitably.
SECTION A
2
90
(i) Explain this pointer.
13
(j) Give a brief description about function overriding.
_2
2.
P1
24
SECTION B
5.
3D
.5
P2
(b) Discuss the purpose of UseCase Diagram and explain its different notations.
|1
(c) Discuss the following:
(i) Robustness,
7
:3
(ii) Extensibility,
(iii) Reusability.
27
SECTION C
01
2
90
13
_2
2.
P1
24
5.
3D
.5
P2
17
Q
|1
7
:3
: 27
13
3
02
-2
01
6-
|1