Course: B.Tech (Semester V) Subject: Object-Oriented System Design
Subject Code: KCS-054 Duration: 3 Hours
Maximum Marks: 100
Instructions: Attempt all sections. Assume suitable data where missing.
Section A — Short Answer Questions (2 × 10 = 20 Marks)
Answer all questions briefly:
Define data encapsulation with an example.
Define generosity (likely meant “generality” or “genericity”).
List the features of Component Diagram.
Explain the existence of swimlanes in an activity diagram.
List the features of object-oriented language.
Describe the term enum.
Define friend function with example.
Explain the use of typecasting.
Explain this pointer.
Give a brief description of function overriding.
Section B — Descriptive Questions (10 × 3 = 30 Marks)
Attempt any three:
Explain the architecture of UML.
Discuss the purpose of Use Case Diagram and explain its notations.
Discuss the following with respect to Object-Oriented Design:
Robustness
Extensibility
Reusability
Explain the difference between Macro and Inline function.
Describe constructors in C++ with types and example program.
Section C — Long Answer / Analytical Questions (10 × 5 = 50 Marks)
Attempt one part of each:
Q3.
(a) Explain principles and importance of modelling, or
(b) Discuss the conceptual model of UML.
Q4.
(a) Demonstrate relationships in class diagram with notations and a diagram, or
(b) Draw a collaboration diagram for a hotel room reservation system.
Q5.
(a) Discuss JSD (Jackson System Development) and SA/SD (Structured Analysis/Design), or
(b) Compare Object-Oriented Programming vs Procedural Programming.
Q6.
(a) Discuss virtual and pure virtual functions with a C++ program, or
(b) Briefly explain: Virtual function
Friend function Inline function
Q7.
(a) Explain polymorphism and implement it in C++, or
(b) Write a C++ program for multiple inheritance.