Chapter 2 The Concept of Object Orientation

Ace your homework & exams now with Quizwiz!

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

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

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

b

From UML perspective, ________ view reflects the conceptual view of the system. A) developer B) owner C) analyst D) designer

b

The relationship among superclasses and subclasses is called ________. A) generalization B) class hierarchy C) specializing D) none of the above

b

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

b

"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

c

A subclass results from ________ a superclass. A) generalization B) class hierarchy of C) specializing D) all of the above

c

A system development team is an example of a(n) ________ relationship A) composition B) generalization C) aggregation D) public class

c

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

c

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

c

Design develops the results of analysis into a(n) ________ model for building the system. A) conceptual B) abstract C) concrete D) physical

c

Features, properties, or characteristics of an object are represented by its ________. A) values B) identity C) attributes D) name

c

From UML perspective, ________ view reflects the logical view of the system. A) developer B) owner C) architect D) client

c

In object-oriented technique, the opposite of generalization is ________. A) degeneralization B) abstraction C) specialization D) none of the above

c

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

c

________ literally means "many shapes." A) Polymath B) Polynomial C) Polymorphism D) Polypheric

c

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

d

A class is a(n)________ for a virtual object. A) abstraction B) template C) collection D) both A & B

d

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

d

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

d

Class is a set of objects that share the same ________. A) name B) state C) attributes and operations D) all of the above

d

In procedural languages, the basic building blocks of a program are ________. A) procedures B) objects C) functions D) A or C

d

The phrase "object as black box" refers to ________. A) encapsulation B) information hiding C) generalization D) both A & B

d

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

d

________ is the condition of an object at a certain stage in its lifetime. A) Attribute B) Identity C) Operation D) State

d

Aggregation is a strict form of composition when the life of the part is tied to the life of the whole. (t/f)

f

An object cannot be an instance of numerous classes.

f

An object cannot consist of more objects.

f

Behavioral modeling represents the interaction of the system with the inside world. (t/f)

f

Complex products, regardless of the field to which they belong, do not need modeling.

f

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.

f

Grady Booch introduced "use case" modeling concept. (t/f)

f

In object-oriented vocabulary, utility classes are usually called entity classes.

f

Object-oriented technology is a response to an ever-increasing demand for simple information systems.

f

Real objects and virtual objects embody different concepts. (t/f)

f

Smalltalk was created by the Learning Research group at IBM.

f

The same object cannot be described by several states simultaneously.

f

The term "interface" must be reinforced by the qualifier "private."

f

To understand object-oriented technology, methodology, and modeling, we don't need to understand objects.

f

UML is a programming language.

f

UML models are not compatible with object-oriented languages.

f

Virtual objects are created from real life instances. (t/f)

f

"Instance" is used instead of the term "object" when the purpose is to emphasize the relationship between the object and the class. (t/f)

t

"Literature" is an abstract class because we have found it to be too general to satisfactorily represent a specific literary work.

t

A Symphony is an instance of Classical Music that descends from Music which, in turn, is a child of Art..

t

A business class reflects a class of objects in the real world. (t/f)

t

A class is a result of classification.

t

Abstraction makes the distinction between entities.

t

An abstract class cannot be instantiated. (t/f)

t

An object provides services through its interface.

t

Attributes and operations of virtual objects are defined by their classes.

t

Polymorphism is closely related to inheritance.

t

Smalltalk is one of the earlier object-oriented languages.

t

State is the condition of an object at a certain stage in its lifetime.

t

Structural modeling represents the components of the system and their interrelationships. (t/f)

t

The concept of information hiding is closely related to encapsulation.

t

The most generalized class is "thing."

t

The relationship of one object to its component objects is called aggregation.

t

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.

t

UML offers a set of graphical elements that are combined to form diagrams. Each diagram is a visual presentation of the system.

t

UML supports the three major activities of system development: analysis, design, and implementation.

t

Virtual objects embody the same concepts as real objects, but are created from concepts instead of giving rise to them.

t

Object-oriented analysis relies on the ________ of information systems. A) logical modeling B) physical modeling C) abstract modeling D) concrete modeling

a

Objects interact through ________ when offering services or operation to the public. A) interfaces B) business classes C) public services D) public operations

a

The identity of an object is identified by its ________. A) name B) presence C) value D) none of the above

a

"Art" is an example of a(n) ________. A) abstract object B) concrete object C) real object D) virtual object

a

A "student becomes a graduate" describes the ________ of object "student." A) state B) attribute C) name D) identity

a

A superclass results from ________ a set of classes. A) generalizing B) class hierarchy of C) specializing D) all of the above

a

An instance is the concrete manifestation of a ________. A) class B) object C) state D) attribute

a

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

Attributes are usually paired with ________. A) values B) features C) identity D) name

a

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

From UML perspective, ________ view reflects the physical view of the system. A) builder B) owner C) client D) architect

a

Human body is an example of a(n) ________ relationship. A) composition B) generalization C) aggregation D) public class

a

Information systems are composed of ________. A) virtual objects B) real objects C) any object D) computer objects

a

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


Related study sets

Introduction to Psychology Final

View Set

Chapter 8 - concepts - PED, YED, XED

View Set