1) Which of the following is the main goal of the object-oriented approach?
A) maintaining systems
B) minimizing the impact of change
C) reusability
D) functional control
2) When classes are involved in inheritance, another name for a child class is:
A) a base class
B) a derived class.
C) a superclass.
D) an instantiated class.
3) When attributes are preceded by a minus sign, it means that:
A) the attributes are private.
B) the attributes are public.
C) the attributes are static.
D) the attributes are undefined.
4) A template that the analyst may use when beginning to model or talk about the system from an O-O perspective is called a:
A) CRC card.
B) UML descriptor.
C) whole-part structure.
D) design layer.
E) User Message Language.
5) Which of the following is not one of the main components of UML?
A) things
B) relationships
C) entities
D) diagrams
6) Behavioral diagrams include all of the following except:
A) activity diagrams.
B) communication diagrams.
C) class diagrams.
D) use case diagrams.
E) sequence diagrams.
7) Which of the following is a structural diagram?
A) use case diagram
B) statechart diagram
C) sequence diagram
D) class diagram
8) Which of the following is not one of the six most commonly used UML diagrams?
A) activity diagram
B) CRC card relationship diagram
C) use case diagram
D) statechart diagram
9) Which of the following is not described by a use case?
A) the actor that initiates an event
B) the use case that performs the actions
C) the event that triggers the use case
D) the objects required by the use case
10) Which of the following are not shown on an activity diagram?
A) classes
B) events
C) decisions that are made
D) sequential activities
11) On an activity diagram, what is used to show parallel activities?
A) an arrow
B) a synchronization bar
C) a swimlane
D) a diamond
12) On an activity diagram, what is used to show partitioning?
A) a synchronization bar
B) a swimlane
C) a diamond
D) a filled-in circle
13) A mechanism for communicating between a server and a mainframe computer is called a:
A) message queue
B) swimlane.
C) synchronization bar
D) EBCDIC conversion unit.
14) On a sequence diagram, a lateral bar or vertical rectangle is used to represent:
A) messages sent between classes
B) the time sequence of activities.
C) the focus of control, when an object is busy doing things.
D) the lifeline for the class or object.
15) Solid arrowheads used for messages on a sequence diagram represent:
A) inheritance relationships.
B) return parameters.
C) asynchronous messages.
D) synchronous messages.
16) Which of the following is not a format for sending messages between classes on a sequence diagram?
A) messageName( )
B) messageName(parameter1, parameter2)
C) messageName(parameter1:returnValue, parameter2:returnValue)
D) messageName(parameterType:parameterName(defaultValue))
17) What is used to show time ordering on a communication diagram?
A) a sequence number
B) a synchronous arrow
C) an asynchronous arrow
D) a focus of control
18) A private attribute on a class diagram:
A) does not change its value for different object instances.
B) is hidden from all classes except immediate subclasses.
C) is only available in the object.
D) is available to the class and all classes that have relationships with the attribute's class.
19) Method overloading means that:
A) the same method may be defined differently in inherited classes.
B) the same method may be defined more than once in a given class.
C) the method may have parameters passed to it from more than one relating class.
D) the method may be used on different platforms, such as a server or client computer.
20) Which type of class represents real-world items?
A) entity
B) interface
C) abstract
D) control
21) Which type of class provides a means for users to work with the system?
B) boundary or interface
22) Which type of class cannot be directly instantiated?
23) Which type of class acts as a coordinator when implementing classes?
24) Which of the following is not a way to store and retransmit data from a Web page?
A) Store the information in a cookie.
B) Include the information in the URL.
C) Store the data in a message queue.
D) Include the data in a hidden field.
25) A statechart diagram is created for:
A) a single class.
B) a single use case.
C) an activity on an activity diagram.
D) a group of classes connected with relationships.
26) Object-oriented techniques work well in situations where ________ information systems are undergoing continuous maintenance, adaptation, and redesign.
A) complicated
B) simple
C) highly technical
D) global
27) Objects are represented by and grouped into ________ that are optimal for reuse and maintainability.
A) objects
B) views
C) classes
D) displays
28) The term ________ is used when an object is created from a class.
A) class
B) updated
C) made
D) instantiate
29) When using inheritance, the child class is also know as a ________ class.
A) parent
B) derived
C) primary
D) secondary
30) When one class is created from another class it is called ________.
A) inheritance
B) dower
C) parenting
D) settlement
31) ________ reduces programming labor by reusing common objects easily.
A) Inheritance
B) Dower
C) Parenting
D) Settlement
32) A ________, ________, and ________ card may be used when the analyst is beginning to model or talk about the system from an O-O perspective.
A) class; responsibilities; collaborators
B) class; responsibilities; collections
C) class; revisions; collaborators
D) collection; responsibilities; collaborators
33) ________ describe the interactions of two or more things that perform a behavior that is more than any one of the things can do alone.
A) Communication diagrams
B) Concept diagrams
C) Structural diagrams
D) Behavioral diagrams.
34) ________ show the same information as a sequence diagram.
35) ________ diagrams are used to model the static structural design view of a system.
A) Class