Pregunta 1
Pregunta
1) Which of the following is the main goal of the object-oriented approach?
Pregunta 2
Pregunta
2) When classes are involved in inheritance, another name for a child class is:
Pregunta 3
Pregunta
3) When attributes are preceded by a minus sign, it means that:
Respuesta
-
A) the attributes are private.
-
B) the attributes are public.
-
C) the attributes are static.
-
D) the attributes are undefined.
Pregunta 4
Pregunta
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:
Pregunta 5
Pregunta
5) Which of the following is not one of the main components of UML?
Respuesta
-
A) things
-
B) relationships
-
C) entities
-
D) diagrams
Pregunta 6
Pregunta
6) Behavioral diagrams include all of the following except:
Pregunta 7
Pregunta
7) Which of the following is a structural diagram?
Respuesta
-
A) use case diagram
-
B) statechart diagram
-
C) sequence diagram
-
D) class diagram
Pregunta 8
Pregunta
8) Which of the following is not one of the six most commonly used UML diagrams?
Pregunta 9
Pregunta
9) Which of the following is not described by a use case?
Respuesta
-
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
Pregunta 10
Pregunta
10) Which of the following are not shown on an activity diagram?
Pregunta 11
Pregunta
11) On an activity diagram, what is used to show parallel activities?
Respuesta
-
A) an arrow
-
B) a synchronization bar
-
C) a swimlane
-
D) a diamond
Pregunta 12
Pregunta
12) On an activity diagram, what is used to show partitioning?
Respuesta
-
A) a synchronization bar
-
B) a swimlane
-
C) a diamond
-
D) a filled-in circle
Pregunta 13
Pregunta
13) A mechanism for communicating between a server and a mainframe computer is called a:
Pregunta 14
Pregunta
14) On a sequence diagram, a lateral bar or vertical rectangle is used to represent:
Respuesta
-
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.
Pregunta 15
Pregunta
15) Solid arrowheads used for messages on a sequence diagram represent:
Pregunta 16
Pregunta
16) Which of the following is not a format for sending messages between classes on a sequence diagram?
Respuesta
-
A) messageName( )
-
B) messageName(parameter1, parameter2)
-
C) messageName(parameter1:returnValue, parameter2:returnValue)
-
D) messageName(parameterType:parameterName(defaultValue))
Pregunta 17
Pregunta
17) What is used to show time ordering on a communication diagram?
Respuesta
-
A) a sequence number
-
B) a synchronous arrow
-
C) an asynchronous arrow
-
D) a focus of control
Pregunta 18
Pregunta
18) A private attribute on a class diagram:
Respuesta
-
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.
Pregunta 19
Pregunta
19) Method overloading means that:
Respuesta
-
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.
Pregunta 20
Pregunta
20) Which type of class represents real-world items?
Respuesta
-
A) entity
-
B) interface
-
C) abstract
-
D) control
Pregunta 21
Pregunta
21) Which type of class provides a means for users to work with the system?
Respuesta
-
A) entity
-
B) boundary or interface
-
C) abstract
-
D) control
Pregunta 22
Pregunta
22) Which type of class cannot be directly instantiated?
Respuesta
-
A) entity
-
B) interface
-
C) abstract
-
D) control
Pregunta 23
Pregunta
23) Which type of class acts as a coordinator when implementing classes?
Respuesta
-
A) entity
-
B) interface
-
C) abstract
-
D) control
Pregunta 24
Pregunta
24) Which of the following is not a way to store and retransmit data from a Web page?
Respuesta
-
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.
Pregunta 25
Pregunta
25) A statechart diagram is created for:
Pregunta 26
Pregunta
26) Object-oriented techniques work well in situations where ________ information systems
are undergoing continuous maintenance, adaptation, and redesign.
Respuesta
-
A) complicated
-
B) simple
-
C) highly technical
-
D) global
Pregunta 27
Pregunta
27) Objects are represented by and grouped into ________ that are optimal for reuse and maintainability.
Respuesta
-
A) objects
-
B) views
-
C) classes
-
D) displays
Pregunta 28
Pregunta
28) The term ________ is used when an object is created from a class.
Respuesta
-
A) class
-
B) updated
-
C) made
-
D) instantiate
Pregunta 29
Pregunta
29) When using inheritance, the child class is also know as a ________ class.
Respuesta
-
A) parent
-
B) derived
-
C) primary
-
D) secondary
Pregunta 30
Pregunta
30) When one class is created from another class it is called ________.
Respuesta
-
A) inheritance
-
B) dower
-
C) parenting
-
D) settlement
Pregunta 31
Pregunta
31) ________ reduces programming labor by reusing common objects easily.
Respuesta
-
A) Inheritance
-
B) Dower
-
C) Parenting
-
D) Settlement
Pregunta 32
Pregunta
32) A ________, ________, and ________ card may be used when the analyst is beginning to model or talk about the system from an O-O perspective.
Respuesta
-
A) class; responsibilities; collaborators
-
B) class; responsibilities; collections
-
C) class; revisions; collaborators
-
D) collection; responsibilities; collaborators
Pregunta 33
Pregunta
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.
Pregunta 34
Pregunta
34) ________ show the same information as a sequence diagram.
Pregunta 35
Pregunta
35) ________ diagrams are used to model the static structural design view of a system.
Respuesta
-
A) Class
-
B) Concept diagrams
-
C) Structural diagrams
-
D) Behavioral diagrams.