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