Deck 8: 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/99
Play
Full screen (f)
Deck 8: Structural Modeling
1
Structural modeling helps to find the ________ of an object-oriented information system.
A) basic building blocks
B) boundaries
C) scope
D) requirements
A) basic building blocks
B) boundaries
C) scope
D) requirements
basic building blocks
2
Structural modeling is needed to support a system's ________.
A) structure
B) behavior
C) expansion
D) boundary
A) structure
B) behavior
C) expansion
D) boundary
behavior
3
Monolithic structures are ________.
A) difficult to build
B) expensive to maintain
C) inflexible
D) all of the above
A) difficult to build
B) expensive to maintain
C) inflexible
D) all of the above
all of the above
4
A flexible and reliable information system needs ________ that satisfy the specific requirements of the structural modeling.
A) programmers
B) analysts
C) building blocks
D) resources
A) programmers
B) analysts
C) building blocks
D) resources
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
5
Which of the following may be the aim of a structural modeling?
A) understanding an existing structure
B) building an entirely new structure
C) changing an existing structure
D) any of the above
A) understanding an existing structure
B) building an entirely new structure
C) changing an existing structure
D) any of the above
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
6
In the virtual world of software, a class is ________ of an object.
A) representative
B) a template
C) an abstraction
D) none of the above
A) representative
B) a template
C) an abstraction
D) none of the above
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
7
In the virtual world of software, a class is ________ to create an object
A) a template
B) an excuse
C) the reason
D) conceptualized
A) a template
B) an excuse
C) the reason
D) conceptualized
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
8
A class is ________.
A) an abstraction of objects
B) a template for creating objects
C) a building block of modeling
D) all of the above
A) an abstraction of objects
B) a template for creating objects
C) a building block of modeling
D) all of the above
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
9
The "________" analogy holds true for classes as well as objects.
A) black box
B) white box
C) either A or B
D) neither A nor B
A) black box
B) white box
C) either A or B
D) neither A nor B
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
10
Encapsulation results in two spaces: ________.
A) inside and outside
B) public and private
C) upside and downside
D) both A & B
A) inside and outside
B) public and private
C) upside and downside
D) both A & B
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
11
The interface of an object is the ________ that it offers to the outside world.
A) attributes
B) services
C) classes
D) none of the above
A) attributes
B) services
C) classes
D) none of the above
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
12
The interface of an object is defined by two factors: ________ it offers and ________ the offerings are presented to other entities.
A) what, how
B) when, where
C) what, where
D) when, how
A) what, how
B) when, where
C) what, where
D) when, how
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
13
An object's interface is a ________ between the object and the entities that use it.
A) bridge
B) class
C) contract
D) gap
A) bridge
B) class
C) contract
D) gap
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
14
Class name must be a ________.
A) noun
B) noun phrase
C) either A or B
D) neither A nor B
A) noun
B) noun phrase
C) either A or B
D) neither A nor B
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
15
Which of the following is a correct name for a class in UML notation?
A) medicalServices
B) MedicalService
C) medical service
D) AmedicalService
A) medicalServices
B) MedicalService
C) medical service
D) AmedicalService
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
16
To discover business objects, we must start by mining the ________.
A) flow of use cases
B) scope of the system
C) goal of the system
D) name of the system
A) flow of use cases
B) scope of the system
C) goal of the system
D) name of the system
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
17
To discover class candidates we should ________.
A) identify nouns that serve as grammatical objects
B) identify verbs
C) neither A nor B
D) both A & B
A) identify nouns that serve as grammatical objects
B) identify verbs
C) neither A nor B
D) both A & B
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
18
The operation of an object represents ________.
A) what the object does
B) what an object knows
C) neither A nor B
D) either A or B
A) what the object does
B) what an object knows
C) neither A nor B
D) either A or B
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
19
The attributes of an object represents ________.
A) what an object knows
B) what an object does
C) either A or B
D) both A & B
A) what an object knows
B) what an object does
C) either A or B
D) both A & B
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
20
"dateOfBirth" is a correct name for ________.
A) an attribute
B) a operation
C) an object
D) a class
A) an attribute
B) a operation
C) an object
D) a class
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
21
"Addresses" is a name for ________.
A) a composite class
B) an abstract class
C) a collection class
D) a sub-class
A) a composite class
B) an abstract class
C) a collection class
D) a sub-class
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
22
A ________ carries out the responsibilities of another class.
A) collaborator class
B) concrete class
C) sub-class
D) none of above
A) collaborator class
B) concrete class
C) sub-class
D) none of above
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
23
Association is a ________ relationship that defines the link between objects of one class with the objects of another class.
A) logical
B) structural
C) physical
D) either A or C
A) logical
B) structural
C) physical
D) either A or C
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
24
________ is a relationship that defines the connection between objects of one class with the objects of another class.
A) A constraint
B) A class diagram
C) An association
D) An exclusion
A) A constraint
B) A class diagram
C) An association
D) An exclusion
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
25
Class diagram is all about classes and their ________.
A) attributes
B) operations
C) interrelationships
D) none of the above
A) attributes
B) operations
C) interrelationships
D) none of the above
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
26
Multiplicity specifies how many ________ of one class can associate with instances of another class.
A) instances
B) attributes
C) operations
D) types
A) instances
B) attributes
C) operations
D) types
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
27
"A Patient is covered by an Insurance Policy" is an example of ________.
A) aggregation
B) generalization
C) inheritance
D) association
A) aggregation
B) generalization
C) inheritance
D) association
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
28
Multiplicity can be expressed as ________.
A) one number
B) a set of numbers
C) a range of numbers
D) any of the above
A) one number
B) a set of numbers
C) a range of numbers
D) any of the above
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
29
"A student must register for at least 6 credits per semester but cannot enroll in more than 18" is an example of ________.
A) multiplicity
B) composition
C) constraint
D) multiplicity constraint
A) multiplicity
B) composition
C) constraint
D) multiplicity constraint
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
30
Aggregation represents the relationship of a(n) ________.
A) whole to a part
B) object to a class
C) whole to a whole
D) part to a part
A) whole to a part
B) object to a class
C) whole to a whole
D) part to a part
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
31
If an aggregate relationship is very strong, it is called ________.
A) collaboration
B) composition
C) collection
D) condition
A) collaboration
B) composition
C) collection
D) condition
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
32
Collection objects are a special kind of ________.
A) aggregation
B) composition
C) either A or B
D) classification
A) aggregation
B) composition
C) either A or B
D) classification
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
33
In design and implementation, aggregation is called ________.
A) tight coupling
B) loose coupling
C) binding
D) composition
A) tight coupling
B) loose coupling
C) binding
D) composition
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
34
In design and implementation, composition is called ________.
A) tight coupling
B) loose coupling
C) aggregation
D) special case
A) tight coupling
B) loose coupling
C) aggregation
D) special case
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
35
"A fulltime student must take at least 12 credits per semester" is an example of ________.
A) a constraint
B) an association
C) an aggregation
D) generalization
A) a constraint
B) an association
C) an aggregation
D) generalization
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
36
Generalization is abstracting common elements shared by a set of classes into a(n) ________.
A) subclass
B) superclass
C) aggregation
D) composition
A) subclass
B) superclass
C) aggregation
D) composition
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
37
Specialization is creating a ________ from an existing class by defining elements that are too specific for the parent class.
A) subclass
B) superclass
C) either A or B
D) neither A or B
A) subclass
B) superclass
C) either A or B
D) neither A or B
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
38
"A car class embodies properties common to SUV, sedan, and compact classes" is an example of ________.
A) specialization
B) generalization
C) either A or B
D) neither A or B
A) specialization
B) generalization
C) either A or B
D) neither A or B
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
39
Generalization and specialization are often dictated by ________.
A) the goal of the system
B) the programmer
C) business needs
D) the analyst
A) the goal of the system
B) the programmer
C) business needs
D) the analyst
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
40
Usually you need ________ to clarify class relationships from different, but overlapping viewpoints.
A) multiple class diagrams
B) a single class diagram
C) overlapping class diagrams
D) abstract classes
A) multiple class diagrams
B) a single class diagram
C) overlapping class diagrams
D) abstract classes
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
41
A class name must express or imply action.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
42
The interface of an object, once formalized and made available for use, can be easily changed.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
43
A composite object is the same as a collection object.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
44
A class diagram is the most widely used tool in modeling for object-oriented development.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
45
An information system is built from the inside out.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
46
Objects are the elementary particles of an information system.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
47
The first structural model of an information system is around business concepts defined as classes and their connections.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
48
We refer to use cases to discover business classes.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
49
In planning for building an information system, we design the logical relationship before arriving at the physical specifications.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
50
When we develop an information system, choosing the right building block and the right viewpoint at the right time is critical.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
51
A structural model can have only one combination of scope, texture, and view.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
52
In the virtual world of software, a class is either an abstraction of an object or a template to create it.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
53
Objects are the smallest units of an information system.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
54
Conceptual modeling is primarily concerned with discovering classes as the building blocks of the information system.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
55
An information system object does not interact with outside entities to provide services.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
56
In object-oriented terminology, encapsulation means that the data and processes that make up an object are visible.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
57
Encapsulation can by no means enable the object to enforce business rules.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
58
If a business rule is implemented within a relevant class, then the rest of the system does not have to know about the rule.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
59
The interface of an object is defined by two factors: what it offers and how the offerings are presented to other entities.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
60
An object's interface is a contract between the object and the entities that use it.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
61
The interface of an object does not have to be structured in a predictable manner.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
62
"ThePatient" is a perfect name for a class.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
63
An object knows its attributes.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
64
Classes define the containers of data, while their contents are provided by objects.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
65
A Plane class does not fly; a plane object does.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
66
A public attribute or operation is invisible to all entities.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
67
A private attribute or operation cannot be (directly) accessed by outside entities.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
68
Composite objects can be nested in a hierarchy.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
69
A collection object is a special case of a composite object.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
70
A collection class is exempt from the rule that class names must be singular.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
71
The services that a class defines and an object provides to the outside world are termed the "responsibilities" of the class or the object.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
72
The results of use case parsing must be considered as final class definitions.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
73
"dateOfBirth" is a correct name for a class.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
74
Profit is a derived attribute.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
75
We can make a class out of a complex attribute.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
76
Association describes how instances of one class cooperate with instances of another class.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
77
A class diagram shows a set of classes and their interrelationships.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
78
A class diagram does not have to have a viewpoint.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
79
EntertaimentSystem is an aggregate of TelevisionSet and SoundSystem.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck
80
In structural modeling, constraints don't apply to associations.
Unlock Deck
Unlock for access to all 99 flashcards in this deck.
Unlock Deck
k this deck