Printed Page: 1 of 2
Subject Code: BCS054
0Roll No: 0 0 0 0 0 0 0 0 0 0 0 0 0
BTECH
(SEM V) THEORY EXAMINATION 2024-25
OBJECT ORIENTED SYSTEM DESIGN WITH C++
TIME: 3 HRS M.MARKS: 70
Note: Attempt all Sections. In case of any missing data; choose suitably.
SECTION A
1. Attempt all questions in brief. 2 x 07 = 14
Q no. Question CO Level
a. Describe the significance of modeling in software engineering. 1 K2, K4
b. Define the conceptual model of UML. 1 K2, K4
c. Create a package diagram for a modular library management system. 2 K2, K3
d. Explain how use case diagrams help in capturing system requirements. 2 K2, K3
e. Describe the role of inheritance adjustment in design optimization. 3 K2, K3,
K4
f. Demonstrate the use of enumerations and constants. 4 K2, K3
g. Explain the use of the this pointer in C++. 5 K2, K3
2
SECTION B
13
2. Attempt any three of the following: 90 07 x 3 = 21
a. Explain the concept of encapsulation and information hiding. How do 1 K2, K4
2.
_2
these principles ensure system security and maintainability? Provide a
24
P1
UML example to demonstrate these principles.
5.
b. Draw an interaction diagram for a customer service chatbot system. 2 K2, K3
5D
.5
Include time-based interactions and describe how they facilitate system
17
understanding.
P2
c. Explain the process of object-oriented analysis and design with a 3 K2, K3,
|1
Q
detailed example of a ride-hailing application. Include the steps from K4
requirement gathering to design optimization.
AM
d. Create a C++ program that uses a callback mechanism. Explain how 4 K2, K3
callbacks are implemented in C++ using function pointers or lambda
3
expressions.
:2
e. Write a C++ program to implement operator overloading for matrix 5 K2, K3
02
addition and subtraction. Include detailed comments on the
implementation.
9:
25
SECTION C
3. Attempt any one part of the following: 07 x 1 = 07
20
a. Compare and contrast object-oriented modeling with structured 1 K2, K4
n-
modeling. Provide a detailed example of a banking system modeled
Ja
using both approaches.
b. Discuss the importance of architecture in object-oriented modeling. 1 K2, K4
5-
Design a UML architecture diagram for a cloud-based file-sharing
|2
system.
4. Attempt any one part of the following: 07 x 1 = 07
a. Develop a UML class diagram for a hospital management system. 2 K2, K3
Explain the rationale behind your design choices.
1|Page
QP25DP1_290 | 25-Jan-2025 9:02:23 AM | 117.55.242.132
Printed Page: 2 of 2
Subject Code: BCS054
0Roll No: 0 0 0 0 0 0 0 0 0 0 0 0 0
BTECH
(SEM V) THEORY EXAMINATION 2024-25
OBJECT ORIENTED SYSTEM DESIGN WITH C++
TIME: 3 HRS M.MARKS: 70
b. Explain the concept of polymorphism in collaboration diagrams. Design 2 K2, K3
a collaboration diagram for an online learning platform to show
polymorphism in accessing different types of course materials.
5. Attempt any one part of the following: 07 x 1 = 07
a. Write a C++ program to demonstrate the concept of combining three 3 K2, K3,
models (class, state, and interaction) in the design of a smart home K4
system.
b. Compare and contrast SA/SD and object-oriented analysis and design. 3 K2, K3,
Use a case study of an online bookstore to highlight the differences. K4
6. Attempt any one part of the following: 07 x 1 = 07
a. Write a C++ program to demonstrate the use of inline functions. 4 K2, K3
Compare their performance with macros in terms of memory usage and
execution speed.
2
b. Create a program in C++ that uses function overloading to calculate the 4 K2, K3
13
90
volume of a cube, cylinder, and sphere. Provide detailed commentary
2.
_2
on the code.
24
P1
7. Attempt any one part of the following: 07 x 1 = 07
5.
5D
a. Explain the concept of static data members and functions. Write a C++ 5 K2, K3
.5
program to track the number of objects created for a class.
17
P2
b. Develop a C++ program to implement hybrid inheritance. Explain how 5 K2, K3
ambiguity is resolved using virtual base classes. |1
Q
AM
3
:2
02
9:
25
20
n-
Ja
5-
|2
2|Page
QP25DP1_290 | 25-Jan-2025 9:02:23 AM | 117.55.242.132