Question 1: UML allows objects and operations to be stereotyped for the purposes
ID: 3796392 • Letter: Q
Question
Question 1:
UML allows objects and operations to be stereotyped for the purposes of creating an extended vocabulary for the specific problem domain of interest.
True
False
Question 2:
What are the output artifacts from the design part of the software development cycle - i.e. in creating a solution from the problem domain - choose the ones you think apply
UML Component diagram(s)
UML Use case diagram(s)
UML Deployment diagram
Network diagram
UML class diagram(s)
f.
Pie-chart diagram(s)
g.
UML sequence diagram(s)
h.
CRC Cards(s)
i.
Carpet-plot diagram(s)
j.
UML State machine diagram(s)
Question 3:
In UML a line connecting 2 class boxes with a diamond shape at one end of the line is the nomenclature for what type of relationship between those classes
a. Aggregation (or composition)
b. Inheritance
c. Generalization
d. Infatuation
Question 4:
Generic programming is a favored way of programming in C++ however, given the choice a compiler will preferentially link in and use a non-template function over a template function of the same name.
True
False
Question 5:
How can we identify potential classes and operations in an OO design exercise if we have a textual description of the problem space given to us?
a. Analyze the text and seek out nouns for potential objects and verbs for potential responsibilities or actions.
b. Analyze the text and seek out prepositions for objects and verbs for actions
c. Analyze the text and seek out adverbs for objects and adjectives for actions
d. Ignore the textual description and just make up stuff you like doing
a.UML Component diagram(s)
b.UML Use case diagram(s)
c.UML Deployment diagram
d.Network diagram
e.UML class diagram(s)
f.
Pie-chart diagram(s)
g.
UML sequence diagram(s)
h.
CRC Cards(s)
i.
Carpet-plot diagram(s)
j.
UML State machine diagram(s)
Explanation / Answer
Question 1:
True, because A stereotype is an extension of the vocabulary of the UML,which will allow you to create new kinds of building blocks similar to existing ones but specific to your problem.
Question 2:
a, b, c, e, f, h
Question 3:
Aggregation
Question 4:
True, Because whn you create a function in c++ and if that function name is same as the function already exists in the library classes then your function will be linked and executed, irrespestive of it;s property.
Question 5:
a) Analyze the text and seek out nouns for potential objects and verbs for potential responsibilities or actions., Because noune is either the name of the person place or thing and adverbs are best to provide properties of a noune (object).
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.