Deck 5: Structural Modeling
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/94
Play
Full screen (f)
Deck 5: Structural Modeling
1
A class diagram is a(n) _____ model.
A) static
B) dynamic
C) evolving
D) obsolete
E) none of the above
A) static
B) dynamic
C) evolving
D) obsolete
E) none of the above
A
2
Which of the following would not be an appropriate class name?
A) student
B) patient
C) John
D) customer
E) doctor
A) student
B) patient
C) John
D) customer
E) doctor
C
3
Which of the following will be converted to methods in later phases of the SDLC?
A) attributes
B) operations
C) classes
D) objects
E) abstract classes
A) attributes
B) operations
C) classes
D) objects
E) abstract classes
B
4
An _____ of an analysis class represents a piece of information that is relevant to the description of the class.
A) instance
B) object
C) attribute
D) operation
E) relationship
A) instance
B) object
C) attribute
D) operation
E) relationship
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
5
A(n) _____ of an analysis class is where the behavior of the class is defined.
A) operation
B) attribute
C) class
D) object
E) abstract class
A) operation
B) attribute
C) class
D) object
E) abstract class
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
6
"A-kind-of" relationships represent _____ relationships.
A) generalization
B) association
C) aggregation
D) subsetting
E) vague
A) generalization
B) association
C) aggregation
D) subsetting
E) vague
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
7
CRC cards are used to document the responsibilities and collaborations of a(n) _____.
A) class
B) relationship
C) object
D) attribute
E) operation
A) class
B) relationship
C) object
D) attribute
E) operation
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
8
Which of the following would most likely not be an example of an attribute?
A) employee name
B) customer address
C) stock number
D) ISBN number
E) cancel appointment
A) employee name
B) customer address
C) stock number
D) ISBN number
E) cancel appointment
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
9
If a "student signs up for a class," which type of relationship would you use to model the relationship between the two?
A) generalization
B) association
C) aggregation
D) subsetting
E) vague
A) generalization
B) association
C) aggregation
D) subsetting
E) vague
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
10
Which of the following is part of a CRC card?
A) class name
B) type
C) description
D) responsibilities
E) all of the above
A) class name
B) type
C) description
D) responsibilities
E) all of the above
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
11
A(n) _____ formalizes the interactions between a client and server object.
A) relationship
B) contract
C) abstract object
D) concrete object
E) abstraction
A) relationship
B) contract
C) abstract object
D) concrete object
E) abstraction
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
12
A public attribute is shown in a class diagram with the symbol _____ before the name.
A) -
B) #
C) *
D) +
E) /
A) -
B) #
C) *
D) +
E) /
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
13
Service is another name for _____.
A) attribute
B) class
C) abstract class
D) operation
E) object
A) attribute
B) class
C) abstract class
D) operation
E) object
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
14
Which of the following types of attributes is not proper in an analysis class?
A) integers
B) strings
C) doubles
D) compound
E) date
A) integers
B) strings
C) doubles
D) compound
E) date
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
15
A collaboration consists of _____.
A) two instances of a class talking with each other
B) two instances of a class knowing the value of each others attributes
C) a set of classes that share common operations
D) a set of classes that are all related to one another
E) a set of classes involved in a use case
A) two instances of a class talking with each other
B) two instances of a class knowing the value of each others attributes
C) a set of classes that share common operations
D) a set of classes that are all related to one another
E) a set of classes involved in a use case
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
16
A _____ object is the instance of a class that receives a request from another object.
A) client
B) server
C) contract
D) provider
E) CRC
A) client
B) server
C) contract
D) provider
E) CRC
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
17
"A-part-of" or "has-parts" relationships represent _____ relationships.
A) generalization
B) association
C) aggregation
D) subsetting
E) vague
A) generalization
B) association
C) aggregation
D) subsetting
E) vague
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
18
A mechanism for developing CRC cards is for the user or analyst to role-play as if they are an instance of the class. This process is called _____.
A) acting
B) anthropomorphism
C) interviewing
D) anamorphous
E) observation
A) acting
B) anthropomorphism
C) interviewing
D) anamorphous
E) observation
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
19
A _____ object is an instance of a class that sends a request to an instance of another class for an operation to be executed.
A) client
B) server
C) contract
D) requester
E) CRC
A) client
B) server
C) contract
D) requester
E) CRC
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
20
Which of the following are used to create objects?
A) concrete objects
B) abstract objects
C) concrete classes
D) abstract classes
E) concrete instances
A) concrete objects
B) abstract objects
C) concrete classes
D) abstract classes
E) concrete instances
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
21
A structural model is a formal way of representing the business activities in a business system.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
22
Role-playing an instance of a class is a good way to develop CRC cards.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
23
One of rules for verifying the structural model is to check that the object type of the attributes listed on the back of the CRC card and with the attributes in the attribute list of the class on a class diagram implies _______________from the class to the class of the object type.
A) an inheritance
B) an aggregation
C) a dependence
D) an association
E) a communication
A) an inheritance
B) an aggregation
C) a dependence
D) an association
E) a communication
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
24
Association relationships are used for the relationship between instances of two classes when the relationship is not specific enough to be considered a generalization or an aggregation relationship.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
25
This chapter suggested three representations that could be used for structural modeling: CRC cards, class diagrams, and ___________________.
A) object diagrams
B) use case diagrams
C) activity diagrams
D) use case description
E) business models
A) object diagrams
B) use case diagrams
C) activity diagrams
D) use case description
E) business models
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
26
Many different approaches have been suggested to aid the analyst in identifying a set of candidate objects for the structural model. The four most common approaches are textual analysis, brainstorming, common object lists, and _______________.
A) use cases
B) business models
C) patterns
D) nouns
E) verbs
A) use cases
B) business models
C) patterns
D) nouns
E) verbs
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
27
A common object list is a list of objects that are common to business domains.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
28
A class diagram is a dynamic model that shows how the classes and relationships change over time.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
29
Patterns can be reused in the development of object-oriented systems.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
30
Abstract classes are used to create objects.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
31
One way to identify objects for the class diagram is to scan the use case descriptions for ___________________.
A) relationships
B) object lists
C) patterns
D) nouns
E) verbs
A) relationships
B) object lists
C) patterns
D) nouns
E) verbs
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
32
Aggregation relationships can be useful for both aggregation and decomposition.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
33
The responsibilities of a class can be divided into knowing and doing types.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
34
A contract formalizes the interactions between one client object and other client objects.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
35
The symbol for a class in a class diagram contains the name of the class, a list of the attributes, and a list of operations.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
36
CRC cards are used to capture all of the relevant information associated with a class.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
37
Views are often used to provide the user a complete picture of the class diagram.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
38
It is possible for the multiplicity of a relationship to be "zero or more."
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
39
Object diagram is just another name for class diagram; they both show the same information.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
40
Text analysis is one of the four approaches to aid the analysis in identifying a set of candidate objects for the structural model. Textual analysis is an analysis of the text in the ___________________.
A) business models
B) use case descriptions
C) class diagrams
D) activity diagrams
E) use case diagrams
A) business models
B) use case descriptions
C) class diagrams
D) activity diagrams
E) use case diagrams
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
41
The default visibility for an attribute in a class diagram is public.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
42
Patterns are useful for identifying classes, attributes, operations, and relationships in certain business domains.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
43
*..1 is a valid multiplicity on a relationship in a class diagram.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
44
Books have been written that list useful patterns for a wide variety of business domains.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
45
The update operation makes information about the state of an object available to other objects without altering the object.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
46
A derived attribute that is stored is shown on a class diagram with the symbol # before the name.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
47
The main building blocks of a class diagram are the relationships between entities
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
48
The multiplicity one-or-more on a relationship is signified by the notation 1..M.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
49
A constructor operation creates a new instance of a class?
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
50
Part of the process of creating CRC cards is role-playing them, where individuals perform the operations for the class on the card.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
51
Operations of a class are listed in the bottom compartment of the class symbol.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
52
The multiplicity zero or more is signified by the notation 0..*.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
53
When classes share a many-to-many relationship, it is common to create a(n) associattion class that has its own attributes and methods.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
54
The query operation will change the value of one or more of an object's attributes.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
55
Age is an example of a derived attribute in a class since it can be computed from the date-of-birth attribute and the current date.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
56
The default visibility of an operation in a class diagram is public.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
57
A class symbol has the attributes listed in the top compartment.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
58
Textual analysis is the review of corporate documents to identify potential objects, attributes, operations, and relationships.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
59
The symbol - before the name of an attribute on a class diagram represents a private attribute.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
60
In the symbol for a class, the name goes in the bottom compartment.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
61
The set of rules used for verifying and validating the structural model is to check the consistency between CRC cards and class diagrams of the structural model.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
62
CRC cards, class diagrams, and object diagrams are three representations could be used for structural modeling.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
63
The symbol below represents an aggregation on a class diagram.


Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
64
One of the rules used for verifying and validating the structural model is to check that every CRC card should be associated with a class on the class diagram, and vice-versa.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
65
The four most common approaches have been suggested to aid the analyst in identifying a set of candidate objects for the structural model are textual analysis, brainstorming, common object lists, and design patterns.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
66
One of the rules used for verifying and validating the structural model is to check that the object type of the attributes listed on the back of the CRC card and with the attributes in the attribute list of the class on a class diagram implies an aggregation from the class to the class of the object type.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
67
Textual analysis to aid the analyst in identifying a set of candidate objects for the structural model is an analysis of the text in the business model.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
68
In the textual analysis of a use case, the use case name suggests possible classes while the verbs suggest possible operations.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
69
A pattern is a group of collaborating classes that solve a recurring problem.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
70
Define what a structural model is. Why should a systems analyst create one? Why is the creation of a structural model iterative?
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
71
An analyst has discovered two classes where one appears to be a superclass and the other a subclass. What type of relationship is used to model this association on a structural model? What is the notation that is used? Draw an example of how this would be illustrated on a class diagram.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
72
A(n) object diagram may be created to make a class diagram easier to read by grouping classes together.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
73
Common object lists technique identifies candidate objects for a structural model by analyzing the text in the use-case descriptions.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
74
Define the following terms: class, attribute, and operation. Give examples of each.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
75
In textual analysis of a use case, a doing verb implies an operation.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
76
The symbol below represents an aggregation on a class diagram.


Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
77
A view is used to simplify a class diagram by subsetting the information available on the diagram for viewing.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
78
One of the rules used for verifying and validating the structural model is to check that the responsibilities listed on the front of the CRC card must be included as attributes in a class on a class diagram, and vice versa.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
79
Common object lists technique identifies candidate objects for a structural model by analyzing a list of objects that are common to the business domain.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck
80
A diamond at the end of a relationship in a class diagram represents the many side of the relationship.
Unlock Deck
Unlock for access to all 94 flashcards in this deck.
Unlock Deck
k this deck