Object Oriented Analysis and Design Question Bank
Object Oriented Analysis and Design Question Bank
Object Oriented Analysis and Design Question Bank
in JNTU World
ld
or
W
1. GROUP - A (SHORT ANSWER QUESTIONS)
Level
UNIT I
1. Define UML. Knowledge 1
2. Explain modelling. Understand 2
3. Describe the history of uml. Knowledge 2
4. List out the method wars. Knowledge 1
5. State the goals of UML. Knowledge 2
JN
ld
Basic Structural Modelling ,Advanced Structural Modelling
1. Define classes . Knowledge 4
2. Explain about name . Understand 5
3. Describe an attribute. Knowledge 5
4. Define responsibilities. Knowledge 3
or
5. Define modelling vocabulary of system. Knowledge 3
6. Define distribution of responsibilities in a system. K nowledge 4
7. Define dependency. Knowledge 4
8. Define generalization. Knowledge 4
b)Draw the relationship for the given objects & Apply
i. i.Pen, Roller Pen, Ball Pen , Top
W
ii.Car, Engine, Transmission
9. Explain association. Understand 4
10. Discuss about aggregation. Understand 5
11. List the simple dependencies. Knowledge 4
12. Demonstrate the modeling of single inheritance. Apply 4
13. Discuss modelling structural relationships. Understand 5
14. Define note. Knowledge 5
TU
ld
1. Define interactions. Knowledge 9
2. Explain about context. Understand 8
3. Describe about association. Understand 8
4. Discuss about self. Understand 8
5. Explain about global. Understand 9
or
6. Discuss about local scope. Understand 8
7. Define parameter. Knowledge 9
8. Explain messages in uml. Understand 8
9. Discuss about sequencing. Understand 9
10. Discuss about procedural sequence. Understand 9
11. Explain about flat sequence. Understand 8
W
12. Discuss How to model flow of control. Understand 8
13. Explain collaboration diagrams. Understand 9
Draw the relationship for the given objects & Apply
i)Student, UG Student, GStudent, Tutor
ii) Party, Person, Organization
14. Discuss how to forward engineers sequence diagrams. Understand 8
15. Discuss how to reverse engineer collaboration diagrams. Understand 9
TU
ld
5. Demonstrate exceptions in behavioural modelling. Understand 13
6. State the events modelled by uml. Knowledge 13
7. Discuss Event trigger. Understand 12
8. State Guard condition. Knowledge 13
9. Define state Machine. Knowledge 12
or
10. Illustrate the steps to model the distribution of objects. Apply 13
UNIT-7 Architectural Modelling
1. Define Node. Knowledge 14
2. Demonstrate how nodes are organized. Understand 15
3. Explain the steps required to model processors and devices. Understand 14
4. Discuss the contents of component diagrams. Understand 15
W
5. State common uses of component diagrams. Knowledge 14
6. Compare components and classes. U nderstand 14
7. State how component and interface are related. Knowledge 15
8. Discuss the properties of components. Understand 14
9. Discuss the standard stereotypes UML defines. Understand 15
10. Describe the steps to enumerate executable release. Understand 14
TU
ld
aggregation.
4 Consider a computer-based system that plays chess with a user. Evaluate 1
Which UML diagrams would be helpful in designing the system.
5 Explain the antisymmetric and transitive properties of aggregation. Understand 1
6 Pick the ones that are related. Justify. Evaluate 2
i. Behavioral things, verbs
or
ii. Structural things, nouns
iii. Generalization, specialization, adjectives
iv. Associations, verbs.
7 Explain the following briefly. Understand 2
i. class/object dichotomy
ii. interface Vs. implementation
8 Explain the various relationships in UML briefly. Understand 1
9 (a) Explain the following with UML notation Understand 2
W
i. behavioural things ii. Grouping things iii. Annotational things
10 Define the following: Knowledge 1
(a) use case driven
(b) architecture centric
(c) iterative process
(d) Incremental process
(e) stakeholder
(f) artifact
TU
architecture? Explain.
17 Enumerate the UML approach to software development life cycle? Knowledge 2
Explain the various phases.
18 Contrast the following: Understand 1
i. Actors Vs. Stakeholders
ii. Use case Vs. Algorithm.
19 Define software architecture. Explain the 4+1 view model of Knowledge 2
systems architecture.
20 Define using relationship. Give UML notation Knowledge 2
UNIT II
Basic Structural Modelling ,Advanced Structural Modelling
1 (a) Explain any three features used in creating abstractions. Understand 3
(b) Enumerate the steps to model the vocabulary of a system.
ld
iv. Use case
7 Illustrate distribution of responsibilities in a system. Apply 5
8 State modeling different levels of abstraction. Knowledge 5
9 ( a) Explain the UMLs behaviour diagrams. Understand 5
(b) Contrast is-a relationship with has-a relationship.
10 Explain the following relationships with UML notation Understand 4
or
i. Using
ii. Realization
iii. Simple aggregation
iv. Composite aggregation
11 Contrast interface inheritance with class inheritance. Understand 4
12 Define modelling non software things and primitive type. Knowledge 5
13 Enumerate modelling simple dependencies. Understand 4
W
14 a) Interpret relation between interfaces, types and roles. Understand 5
b) Enumerate modelling new building blocks.
15 a) Enumerate the steps to model different views of a system. Knowledge 4
b) Enumerate modelling comments and new semantics
16 a) Enumerate the steps to model complex views. Knowledge 4
b) Enumerate modelling new properties.
17 a) Define idiom. Enumerate the steps to model structural Knowledge 5
relationships.
TU
ld
1 Describe interaction diagrams. What are their contents and Understand 8
common properties.
2 Define semantic equivalence between two kinds of interaction Knowledge 9
diagrams.
3 Enumerate the steps to model flows of control by time ordering. Knowledge 9
4 Design a sequence diagrams that specifies the flow of control Create 8
involved in initiating a simple, two-party phone call.
or
5 Design a collaboration diagram that specifies the flow of control Create 8
involved in registering a new student at a school.
6 Explain the sequence diagram and collaboration diagram and draw Understand 9
an example diagram for each one.
7 Consider the use case withdraw amount related to ATM Evaluate 8
transaction modeling. Draw both the interaction diagrams for the
use case. Explain briefly.
W
8 Discuss the properties and common uses of sequence diagrams and Understand 9
collaboration diagrams.
9 Explain the sequence diagram and collaboration diagram and draw Understand 8
an example diagram for each one.
10 Discuss a collaboration diagram that specifies the flow of control Understand 9
involved in registering a new student at a school.
11 Explain forward engineering and reverse engineering of interaction Understand 8
diagrams.
12 Describe Messages and Links. Understand 9
TU
ld
a UML diagram and explain.
2 Consider an object diagram that models the distribution of certain Evaluate 13
objects In a real-time system. Draw the diagram and explain
briefly.
3 (a) Enumerate the steps to model a family of signals. Knowledge 13
(b) Enumerate the steps to model interposes communication.
4 Design a UML diagram which models IPC in a distributed Create 12
or
reservation system with processes spread across four nodes. Briefly
explain.
5 State the sketch of a state machine for the controller in a home Knowledge 12
security system, which is responsible for monitoring various
sensors around the perimeter of the house. Briefly explain.
6 Illustrate modeling lifetime of an object and modeling exceptions Apply 12
with UML diagram.
W
7 a) Enumerate the steps to model multiple flows of control . Understand 13
b) Enumerate the steps to model distribution of objects.
8 a) Define event and signal. Explain the four kinds of events Knowledge 13
modelled by UML.
b) Enumerate the steps to model reactive objects and objects that
migrate.
9 Contrast action with activity. Define state and event. What are the Apply 13
various parts of a state? Explain briefly.
10 Explain the four kinds of events modelled by UML. Understand 13
TU
UNIT VII
Architectural Modeling
1 (a) Enumerate the steps to model adaptable systems. Illustrate Knowledge 14
with a UML diagram.
(b)Explain the common uses of component diagrams.
2 a) Illustrate modeling source code and executable release. Create 14
b) Illustrate modeling physical database and adaptable systems.
JN
ld
1 Design class diagram for library Application . Create 16
2 Design object diagram for library Application. Create 16
3 Design use cases diagram for library Application. Create 16
4 Design sequence diagram for library Application. Create 16
5 Design collaboration diagram for library Application. Create 16
or
6 Design activity diagram for library Application. Create 16
7 Design statechart diagram for library Application. Create 16
8 Design component diagram for library Application. Create 16
9 Design deployment diagram for library Application. Create 16
10 Design Class diagram with common mechanisms for library Create 16
Application.
W
3. GROUP-III (ANALYTICAL QUESTIONS)
Introduction to UML
1 Explain Software Development Life Cycle (SDLC)? What are the Understand 1
phases (stages) of it? Which phase requires maximum efforts? Also
explain why domain analysis i.e. domain class model, domain state
model and domain interaction model is important.
2 Illustrate out evolution of UML. Apply 2
3 Explain Method wars. Understand 2
4 Define a domain model. Knowledge 1
5 Explain the critical ability of object oriented systems. Understand 2
6 Explain the 3 ways to apply UML. Understand 2
JN
ld
7 Explain business entity and service class . Understand 3
8 Briefly explain the four adornments that apply to all association. Understand 5
9 Enumerate the steps to model webs of relationships. Knowledge 3
UNIT III
Class and Object Diagrams
1 Prepare object diagram showing at least 10 relationships among Apply 6
or
the following object classes. Include associations and qualified
associations, aggregations, generalizations, and multiplicity. You
may add additional objects. Also show attributes and operations.
School, playground, principal, school board, classroom, book,
student, teacher, canteen, restroom, computer, desk, chair.
2 Model the relationship between a car (that has an engine and a Create 7
colour) and its owners (having a name) in a UML class diagram. A
car can have several owners over time, but only one or none owner
W
at a time. Do not forget cardinalities, role names, attributes and
their types
3 Draw class diagram for ATM. Create 7
4 Draw class diagram for Library Management system. Create 6
5 Draw object diagram for ATM. Create 7
6 Draw object diagram for Library Management system. Create 6
7 Explain composite structure diagram. Understand 6
8 Discuss reflexive association in class diagram. Understand 7
TU
PIN and the account number and sends it over to the bank. The
bank verifies the encrypted Account and PIN number. If the PIN
number is correct, the ATM displays Enter amount, draws money
from the bank account and pays out the amount.
2 Design sequence diagram for ATM. Create 9
3 Design collaboration diagram for ATM. Create 9
4 Design sequence diagram for Library Management system. Create 8
5 Design collaboration diagram for Library Management system. Create 9
6 Compare class and sequence diagram. Apply 8
7 Design sequence diagram for online shopping. Create 8
UNIT V
Basic Behavioral Modelling II
1 Describe activity diagram for restaurant. Knowledge 10
2 Describe activity diagram for hotel canteen. Knowledge 11
ld
6 Describe statechart diagram for online shopping. Understand 12
UNIT - VII
Architectural Modelling
1 Describe component diagram for restaurant. Knowledge 14
2 Describe deployment diagram for restaurant. Knowledge 15
3 Describe component diagram for library. Knowledge 14
4 Describe deployment diagram for atm. 15
or
Knowledge
5 Describe component diagram for library . Knowledge 14
6 Describe deployment diagram for atm. Knowledge 15
7 Explain how uml flows in actual project. Understand 14
UNIT - VIII
The Unified Library application
1 Demonstrate classes in class diagram Understand 16
2 Demonstrate actors and use cases in sequence diagram Understand 16
W
3 Demonstrate components in library system Understand 16
4 Discuss nodes in library management system Understand 16
5 Explain active object in library system Understand 16
6 Explain systems used in deployment diagram of library system Understand 16
TU
JN