Deck 2: The Concept of Object Orientation
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/98
Play
Full screen (f)
Deck 2: The Concept of Object Orientation
1
When using an object-oriented approach to software development we create models using ________, their relationships, and their interactions.
A) programs
B) system analysts
C) objects
D) project mangers
A) programs
B) system analysts
C) objects
D) project mangers
objects
2
Object-oriented analysis and design, coupled with ________, is used as the most effective technique to build software and information systems.
A) object-oriented technology
B) implementation
C) requirement
D) maintenance
A) object-oriented technology
B) implementation
C) requirement
D) maintenance
object-oriented technology
3
An object is ________.
A) something that is perceived as an entity and referred to by name
B) something perceptible by one or more of the senses
C) something intelligible or perceptible by the mind
D) all of the above
A) something that is perceived as an entity and referred to by name
B) something perceptible by one or more of the senses
C) something intelligible or perceptible by the mind
D) all of the above
all of the above
4
An object is a thing and can be ________.
A) animate or inanimate
B) human or non-human
C) tangible or non-tangible
D) any of the above
A) animate or inanimate
B) human or non-human
C) tangible or non-tangible
D) any of the above
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
5
The identity of an object is identified by its ________.
A) name
B) presence
C) value
D) none of the above
A) name
B) presence
C) value
D) none of the above
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
6
Attributes of an object constitute what an object ________, while operations describe what it ________.
A) does, is
B) is, does
C) has, predicts
D) suggests, presents
A) does, is
B) is, does
C) has, predicts
D) suggests, presents
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
7
Features, properties, or characteristics of an object are represented by its ________.
A) values
B) identity
C) attributes
D) name
A) values
B) identity
C) attributes
D) name
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
8
Attributes are usually paired with ________.
A) values
B) features
C) identity
D) name
A) values
B) features
C) identity
D) name
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
9
Consider the two phrases describing a telephone: has a microphone and can connect to the telephone network. These two phrases are ________ and ________, respectively.
A) attribute, operation
B) operation, attribute
C) state, attribute
D) state, operation
A) attribute, operation
B) operation, attribute
C) state, attribute
D) state, operation
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
10
An object is the subject of a sentence with an active voice, and the ________ expresses an operation.
A) action
B) subject
C) verb
D) voice
A) action
B) subject
C) verb
D) voice
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
11
A "student becomes a graduate" describes the ________ of object "student."
A) state
B) attribute
C) name
D) identity
A) state
B) attribute
C) name
D) identity
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
12
________ is the condition of an object at a certain stage in its lifetime.
A) Attribute
B) Identity
C) Operation
D) State
A) Attribute
B) Identity
C) Operation
D) State
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
13
An infant boy grows to be a 80-year-old man. The new state of the object is ________.
A) a grandfather
B) an old and rich man
C) an old and wise man
D) all or any of the above
A) a grandfather
B) an old and rich man
C) an old and wise man
D) all or any of the above
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
14
Class is a set of objects that share the same ________.
A) name
B) state
C) attributes and operations
D) all of the above
A) name
B) state
C) attributes and operations
D) all of the above
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
15
"The employee name is Richard Smith and he checks the inventory periodically." In this sentence, "Richard Smith" is the ________ of attribute "name"
A) class
B) object
C) value
D) operation
A) class
B) object
C) value
D) operation
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
16
In object-oriented technique, the opposite of generalization is ________.
A) degeneralization
B) abstraction
C) specialization
D) none of the above
A) degeneralization
B) abstraction
C) specialization
D) none of the above
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
17
An instance is the concrete manifestation of a ________.
A) class
B) object
C) state
D) attribute
A) class
B) object
C) state
D) attribute
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
18
An object can be an instance of numerous classes that have ________ relationships to each other.
A) parallel
B) hierarchical
C) both A & B
D) none of the above
A) parallel
B) hierarchical
C) both A & B
D) none of the above
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
19
A superclass results from ________ a set of classes.
A) generalizing
B) class hierarchy of
C) specializing
D) all of the above
A) generalizing
B) class hierarchy of
C) specializing
D) all of the above
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
20
A subclass results from ________ a superclass.
A) generalization
B) class hierarchy of
C) specializing
D) all of the above
A) generalization
B) class hierarchy of
C) specializing
D) all of the above
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
21
The relationship among superclasses and subclasses is called ________.
A) generalization
B) class hierarchy
C) specializing
D) none of the above
A) generalization
B) class hierarchy
C) specializing
D) none of the above
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
22
Information systems are composed of ________.
A) virtual objects
B) real objects
C) any object
D) computer objects
A) virtual objects
B) real objects
C) any object
D) computer objects
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
23
A class is a(n)________ for a virtual object.
A) abstraction
B) template
C) collection
D) both A & B
A) abstraction
B) template
C) collection
D) both A & B
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
24
Which of the following is NOT a type of class for virtual objects?
A) computer class
B) business class
C) utility classes
D) control class
A) computer class
B) business class
C) utility classes
D) control class
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
25
When you use an ATM, encapsulation ensures that ________.
A) you are not burdened with the complexity of how the machine works
B) only operations that you are allowed are performed
C) the way the machine operates is not changed
D) all of the above
A) you are not burdened with the complexity of how the machine works
B) only operations that you are allowed are performed
C) the way the machine operates is not changed
D) all of the above
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
26
The phrase "object as black box" refers to ________.
A) encapsulation
B) information hiding
C) generalization
D) both A & B
A) encapsulation
B) information hiding
C) generalization
D) both A & B
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
27
Together, encapsulation and information hiding turn an object into a black box dividing the space in which the object lives into ________ and ________.
A) indoor, outdoor
B) private, public
C) upside, downside
D) general, specific
A) indoor, outdoor
B) private, public
C) upside, downside
D) general, specific
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
28
Objects interact through ________ when offering services or operation to the public.
A) interfaces
B) business classes
C) public services
D) public operations
A) interfaces
B) business classes
C) public services
D) public operations
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
29
A system development team is an example of a(n) ________ relationship
A) composition
B) generalization
C) aggregation
D) public class
A) composition
B) generalization
C) aggregation
D) public class
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
30
Human body is an example of a(n) ________ relationship.
A) composition
B) generalization
C) aggregation
D) public class
A) composition
B) generalization
C) aggregation
D) public class
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
31
"Art" is an example of a(n) ________.
A) abstract object
B) concrete object
C) real object
D) virtual object
A) abstract object
B) concrete object
C) real object
D) virtual object
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
32
________ literally means "many shapes."
A) Polymath
B) Polynomial
C) Polymorphism
D) Polypheric
A) Polymath
B) Polynomial
C) Polymorphism
D) Polypheric
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
33
In procedural languages, the basic building blocks of a program are ________.
A) procedures
B) objects
C) functions
D) A or C
A) procedures
B) objects
C) functions
D) A or C
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
34
Object-oriented analysis relies on the ________ of information systems.
A) logical modeling
B) physical modeling
C) abstract modeling
D) concrete modeling
A) logical modeling
B) physical modeling
C) abstract modeling
D) concrete modeling
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
35
Design develops the results of analysis into a(n) ________ model for building the system.
A) conceptual
B) abstract
C) concrete
D) physical
A) conceptual
B) abstract
C) concrete
D) physical
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
36
Analysis of a system helps us discover the concepts of the real world and build a(n) ________ of the product.
A) conceptual model
B) abstract model
C) physical model
D) concrete model
A) conceptual model
B) abstract model
C) physical model
D) concrete model
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
37
UML is a modeling language for ________ analysis and design
A) object-oriented system
B) unified modeling system
C) real world system
D) World Wide Web system
A) object-oriented system
B) unified modeling system
C) real world system
D) World Wide Web system
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
38
From UML perspective, ________ view reflects the conceptual view of the system.
A) developer
B) owner
C) analyst
D) designer
A) developer
B) owner
C) analyst
D) designer
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
39
From UML perspective, ________ view reflects the logical view of the system.
A) developer
B) owner
C) architect
D) client
A) developer
B) owner
C) architect
D) client
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
40
From UML perspective, ________ view reflects the physical view of the system.
A) builder
B) owner
C) client
D) architect
A) builder
B) owner
C) client
D) architect
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
41
A Symphony is an instance of Classical Music that descends from Music which, in turn, is a child of Art..
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
42
Object-oriented technology is a response to an ever-increasing demand for simple information systems.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
43
To understand object-oriented technology, methodology, and modeling, we don't need to understand objects.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
44
State is the condition of an object at a certain stage in its lifetime.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
45
The same object cannot be described by several states simultaneously.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
46
A class is a result of classification.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
47
Abstraction makes the distinction between entities.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
48
To say that somebody is "in a class of his own" really means that a person is so unique that he cannot be generalized into a class.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
49
An object cannot be an instance of numerous classes.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
50
The most generalized class is "thing."
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
51
Virtual objects embody the same concepts as real objects, but are created from concepts instead of giving rise to them.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
52
In object-oriented vocabulary, utility classes are usually called entity classes.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
53
Attributes and operations of virtual objects are defined by their classes.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
54
The concept of information hiding is closely related to encapsulation.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
55
An object provides services through its interface.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
56
The term "interface" must be reinforced by the qualifier "private."
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
57
An object cannot consist of more objects.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
58
The relationship of one object to its component objects is called aggregation.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
59
"Literature" is an abstract class because we have found it to be too general to satisfactorily represent a specific literary work.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
60
Polymorphism is closely related to inheritance.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
61
Smalltalk is one of the earlier object-oriented languages.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
62
Smalltalk was created by the Learning Research group at IBM.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
63
Complex products, regardless of the field to which they belong, do not need modeling.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
64
UML models are not compatible with object-oriented languages.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
65
UML offers a set of graphical elements that are combined to form diagrams. Each diagram is a visual presentation of the system.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
66
UML supports the three major activities of system development: analysis, design, and implementation.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
67
Dynamic modeling represents how the components of the system interact with the outside world and with each other to satisfy the structural requirements of the system.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
68
Structural modeling represents the components of the system and their interrelationships.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
69
Behavioral modeling represents the interaction of the system with the inside world.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
70
Grady Booch introduced "use case" modeling concept.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
71
Aggregation is a strict form of composition when the life of the part is tied to the life of the whole.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
72
A business class reflects a class of objects in the real world.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
73
"Instance" is used instead of the term "object" when the purpose is to emphasize the relationship between the object and the class.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
74
Virtual objects are created from real life instances.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
75
Real objects and virtual objects embody different concepts.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
76
Describe object-oriented information systems.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
77
Define the characteristics of a real object.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
78
Elaborate on the following: "An identity of an object is unique and unchanging."
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
79
What is the difference between attribute and operation of an object?
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck
80
Describe the state of an object and explain its relation to attribute and object identity.
Unlock Deck
Unlock for access to all 98 flashcards in this deck.
Unlock Deck
k this deck