AKTU OOPS Previous Year Questions
AKTU OOPS Previous Year Questions
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
2
h. Describe the concept of typecasting in C++.
13
_2
i. Discuss operator overloading in C++.
2.
P1
24
3E
5.
.5
SECTION B
P2
|1
a. Explain different types of diagrams in UML along with example of each.
0
d. Explain the difference between call by value and call by reference in C++, with the
3
SECTION C
7-
|1
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.
2
13
a. Illustrate the types of inheritance in C++. Give an example of each.
_2
2.
P1
24
3E
5.
.5
P2
17
Q
|1
0
:2
: 52
08
3
02
-2
06
7-
|1
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
j. Define constructor and destructor with example. 2 CO5
SECTION B
2. Attempt any three of the following: 3 x 10 = 30
Q no. Question Marks CO
a. What do you understand by Object-Oriented Technology? Discuss the 10 CO1
pros and cons of object-oriented technology with suitable example.
b. What is Data Abstraction? How it is different from encapsulation? 10 CO2
Explain with proper example.
c. Prepare a DFD for computing the volume and surface area of a cone. 10 CO3
Inputs are height and the radius of the base of the cone. Outputs are
volume and surface area. Discuss some ways of specifying operations.
d. Discuss the term Link and Association by taking suitable example. Also, 10 CO4
define multiplicity.
e. What is Late Binding & Early Binding? Which technique is used to 10 CO5
implement Early and Late binding in Polymorphism? Explain in brief
with example.
SECTION C
3. Attempt any one part of the following:
Q no. Question Marks CO
a. What do you understand by a static member function of a class? Discuss 10 CO1
their characteristics Give an example where you can justify the use of
static member functions.
b. Why Object-Oriented Programming (OOP) is so important for software 10 CO
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
Printed Page: 2 of 2
Subject Code: KCS054
0Roll No: 0 0 0 0 0 0 0 0 0 0 0 0 0
2|Page
Printed Pages:02 Sub Code:KCS054
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
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?
SECTION –B
2. Attempt any three parts of the following: 10X3=30
a. What is a Constructor? Write down the different characteristics of a constructor. Write a
program in C++ for constructor overloading .
b. What is an inline function? Why do we use inline functions in our program? Write a
program in C++ for inline function.
c. Explain object oriented programming. What are the main advantages of object oriented
programming over procedural programming? Write a program in C++ by creating a class
integer and write a function that prints all the prime numbers from the class.
d. Explain all basic concepts of object oriented programming
e. What is an inheritance? Explain the different types of it .Write a program in C++ for
multiple inheritance.
SECTION-C
3. Attempt any one part of the following: 10X1=10
(a) What is polymorphism? Differentiate between runtime polymorphism and compile time
polymorphism.
(b) What is operator overloading? Write a program in C++ for binary operator overloading.
BTECH
(SEM VI) THEORY EXAMINATION 2021-22
OBJECT ORIENTED PROGRAMMING
SECTION A
SECTION B
SECTION C
3. Attempt any one part of the following: 10*1 = 10
Q.no 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.
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