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