Sam Q&a
Sam Q&a
Introduction to UML
SHORT ANSWER QUESTIONS
S. No. Questions
1. Define UML.
2. Explain modeling.
3. Describe the history ofuml.
4. State the goals of UML.
5. Describe the importance of modeling.
6. Define the basic building blocks of uml.
7. Explain the things in uml.
8. Classify structural things.
9. Classify behavioral things in uml.
10. Define grouping things.
Define class.
Draw the relationship for the given objects
11.
i. Teaching assistant , student,employee
ii. Country, city, capital, ordinarycity
Define class and object.
Draw a Use Case diagram for the following
12.
objects Mechanic, Diagnose , Fix Car,
Drive Car, Owner
13. Define an Interface.
14. Define collaboration.
15. Describe component.
16. Explain about active class
17. Compare relationships.
18. Define UML diagrams.
19. Explain common mechanisms in uml.
20. What are the rules of UML.
21. Explain in detailed about stereotypes and tagged values.
22.
Explain why object oriented approach is preferable when
compared to other approaches?
23. What is an artifact?
24. What are the adornments in the UML?
25. What are the four aims of modeling?
LONG ANSWER QUESTIONS
(a) State Why is it necessary to have a variety of
diagrams ina model of asystem?
1.
(b) State Which UML diagrams give a static view and
which give a dynamic view of asystem.
2. Discuss the principles ofmodeling.
Pick the ones that are related. Justify.
i. Behavioral things,verbs
3. ii. Structural things,nouns
iii. Generalization, specialization,adjectives
iv. Associations,verbs.
4. Explain the various relationships in UML briefly.
Explain the following with UML notation
5. i. Behavioral things ii. Grouping things iii.
Annotationalthings
Define the following:
(a) use casedriven
(b) architecturecentric
(c) iterativeprocess
6. (d) Incrementalprocess
(e) stakeholder
(f) artifact
(g) usecase
(h) Activeclass
7. Explain model? What are the aims of modeling?
8. Explain briefly about the various diagrams in UML.
(a) Enumerate any sixartifacts.
9.
(b) Explain the extensibility mechanisms inUML.
10. Enumerate the object orientedmodeling.
Explain the various views considered in modeling a
11. system‟s
Architecture?
Enumerate the UML approach to software development
12. life cycle?
Explain the various phases.
Enumerate the steps to model different views of a
13.
system.
14. Explain the UML approach to SDLC.
Explain briefly the classification of things with UML
15.
notation
Write about structural things of UML vocabulary.
16.
Give UML notation.
Explain briefly about following terms:
a) Stereotypes
17. b) Tagged Values
c) Constraints
18. What is UML? Where can the UML to be used?
19.
Draw the architecture of a software-intensive system
and explain.
20. Illustrate the conceptual model of UML in detail.
UNIT – II
Basic Structural Modeling, Advanced Structural Modeling
SHORT ANSWER QUESTIONS
S.N
Questions
o.
1. Define classes.
2. Explain about name.
3. Describe an attribute.
4. Define responsibilities.
5. Define modeling vocabulary of system.
6. Define distribution of responsibilities in a system.
7. Define dependency.
Define generalization.
Draw the relationship for the given objects
8.
i. Pen, Roller Pen, Ball Pen , Top
ii. Car, Engine, Transmission
9. Explain association.
10. Discuss about aggregation.
11. List the simple dependencies.
12. Demonstrate the modeling of single inheritance.
13. Discuss modeling structural relationships.
14. Define note.
15. Define stereotypes.
16. List tagged values.
17. Explain constraints.
18. Illustrate how to model comment.
19. Illustrate how to model different views of a system.
20. Explain modeling of new semantics.
21. Define common uses of class diagrams.
22. State common properties in class diagram
Create new classes called „lamp‟, „bulb‟ and „switch‟ in
23. the logical view browser with the help of the relationships
in UML
24. State the interfaces.
25. Name the roles and multiplicity for „Person ,
Organization‟
26. Define classifiers.
27. Define package. Explain concepts of package.
28. What is navigation?
29. Explain the levels of visibility.
30. Distinguish between interface and class.
31. Draw the Object diagram for „Window, Console Window,
Event‟
LONG ANSWER QUESTIONS
Define relationship. Explain the four adornments that
1. apply to an
Association
a) Enumerate the steps to modeling structured
relationships.
2. b) Draw the Class diagram for Motor, Steering Motor,
Main Motor
Define the following:
i.1.System
3. ii. Model
iii. subsystem
iv. Use case
4. Contrast is-a relationship with has-a relationship.
5. Define modeling non software things and primitive type.
6. Enumerate modeling simple dependencies.
a) Interpret relation between interfaces, types androles.
7. b) Enumerate modeling new buildingblocks.
a) Enumerate the steps to model different views of
8. asystem.
b) Enumerate modeling comment‟s and newsemantics
a) Enumerate the steps to model complexviews.
9. b) Enumerate modeling newproperties.
a) Enumerate the steps to model structural
10. relationships.
b) Enumerate modeling seams in asystem.
11. Enumerate modeling static and dynamic type.
a) Enumerate modeling group of elements.
12. b) Enumerate object diagram.
13. Contrast simple aggregation with composite aggregation.
14. Enumerate modeling different levels of abstraction.
Explain forward and reverse engineering in case of class
15. diagrams
a) Enumerate the steps to model the vocabulary of a
16. system.
b) Explain the UML‟s Structural Diagrams briefly
a) Illustrate modeling of collaboration.
17. b) Discuss modeling a logical database schema.
a) Discuss modeling object structure.
18. b) Contrast object diagram with class diagram.
a) Explain about generalization with an example.
19. b) Describe interfaces, types and roles with examples.
a) What are the five constraints applied to association
20. relationships. Explain briefly.
b)What is visibility of an element owned by a package?
Draw and explain the class diagram for an ATM bank
21. system.
a) Discuss common modelingtechniques of class diagram.
22. b) Explain about structural diagrams.
a) Briefly explain the four adornments that apply to all
23. association.
b) Enumerate the steps to model webs of relationships.
UNIT – III
Basic Behavioral Modeling-I, Basic Behavioral Modeling – II
SHORT ANSWER QUESTIONS
S.
Questions
No.
1. Define interactions.
2. Explain about context.
3. Describe about association.
4. Discuss about self.
5. Explain about global.
6. Discuss about local scope.
7. Define parameter.
8. Explain messages in uml.
9. Discuss about sequencing.
10. Discuss about procedural sequence.
11. Explain about flat sequence.
12. Discuss How to model flow of control.
Explain collaboration diagrams.
Draw the relationship for the given objects
13.
i)Student, UG Student, PG Student, Tutor
ii) Party, Person, Organization
14. Discuss how to forward engineer sequence diagrams.
15. Discuss how to reverse engineer collaboration diagrams.
16. State new link.
17. Explain about destroyed.
18. Describe about transient in detail.
19. Illustrate the common properties of interaction
diagrams.
20. Define Use case.
21. Interpret the relationship between Use cases and actors.
22. Demonstrate the need of Use case diagram.
23. Demonstrate an Actor.
24. Demonstrate the relationship between use cases and test
cases.
25. Demonstrate an Activity Diagram.
26. Define object flow.
27. Give the graphical representation of messages, links and
sequencing of interactions.
28. Distinguish between action state and activity state.
LONG ANSWER QUESTIONS
a) Explain How to model flow of control by organization.
1. b) Explain types of requirements should not be
documented in use
Cases.
a) Describe interaction diagrams. What are their contents
and
2. common properties.
b) Define semantic equivalence between two kinds of
interaction
diagrams.
a) Enumerate the steps to model flows of control by time
3. ordering.
b) Explain forward engineering and reverse engineering
of interaction diagrams.
Design a sequence diagrams that specifies the flow of
4. control
involved in initiating a simple, two-party phone call.
Design a collaboration diagram that specifies the flow of
5. control
involved in registering a new student at a school.
Consider the use case “withdraw amount” related to
6. ATM transaction modeling. Draw both the interaction
diagrams for the
use case. Explain briefly.
Discuss the properties and common uses of sequence
7. diagrams and
collaboration diagrams.
8. Discuss components of a activity diagram.
9. Describe Messages and Links.
10. Describe Sequencing in Interaction diagrams.
11. Design a use case diagram to model the behavior of a
cellular phone. Explain briefly.
Discuss the contexts, common properties and common
12. uses of use
case diagrams.
13. Explain the significance of context in modeling use cases.
Demonstrate the various adornments to ends of links
14. denoted as standard stereotypes? Explain about objects and
roles.
a) Explain the use of forward engineering and reverse
15. engineering use casediagrams.
b) Contrast action with activity.
Design a use case diagram that depicts the context of a
16. credit card
validation system. Explain briefly.
a) Design the UML diagram to model the requirements of
17. asystem.
b) Discuss various parts of a transition. Explainbriefly.
a) A retail system will interact with customers who place