. .
Quiz by , created more than 1 year ago

Quiz CIS 3343 Quiz on Chapter 10 (Multiple Choice), created by . . on 20/02/2016.

129
1
0
. .
Created by . . about 8 years ago
Close

Chapter 10 (Multiple Choice)

Question 1 of 35

1

1) Which of the following is the main goal of the object-oriented approach?

Select one of the following:

  • A) maintaining systems

  • B) minimizing the impact of change

  • C) reusability

  • D) functional control

Explanation

Question 2 of 35

1

2) When classes are involved in inheritance, another name for a child class is:

Select one of the following:

  • A) a base class

  • B) a derived class.

  • C) a superclass.

  • D) an instantiated class.

Explanation

Question 3 of 35

1

3) When attributes are preceded by a minus sign, it means that:

Select one of the following:

  • A) the attributes are private.

  • B) the attributes are public.

  • C) the attributes are static.

  • D) the attributes are undefined.

Explanation

Question 4 of 35

1

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:

Select one of the following:

  • A) CRC card.

  • B) UML descriptor.

  • C) whole-part structure.

  • D) design layer.

  • E) User Message Language.

Explanation

Question 5 of 35

1

5) Which of the following is not one of the main components of UML?

Select one of the following:

  • A) things

  • B) relationships

  • C) entities

  • D) diagrams

Explanation

Question 6 of 35

1

6) Behavioral diagrams include all of the following except:

Select one of the following:

  • A) activity diagrams.

  • B) communication diagrams.

  • C) class diagrams.

  • D) use case diagrams.

  • E) sequence diagrams.

Explanation

Question 7 of 35

1

7) Which of the following is a structural diagram?

Select one of the following:

  • A) use case diagram

  • B) statechart diagram

  • C) sequence diagram

  • D) class diagram

Explanation

Question 8 of 35

1

8) Which of the following is not one of the six most commonly used UML diagrams?

Select one of the following:

  • A) activity diagram

  • B) CRC card relationship diagram

  • C) use case diagram

  • D) statechart diagram

Explanation

Question 9 of 35

1

9) Which of the following is not described by a use case?

Select one of the following:

  • 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

Explanation

Question 10 of 35

1

10) Which of the following are not shown on an activity diagram?

Select one of the following:

  • A) classes

  • B) events

  • C) decisions that are made

  • D) sequential activities

Explanation

Question 11 of 35

1

11) On an activity diagram, what is used to show parallel activities?

Select one of the following:

  • A) an arrow

  • B) a synchronization bar

  • C) a swimlane

  • D) a diamond

Explanation

Question 12 of 35

1

12) On an activity diagram, what is used to show partitioning?

Select one of the following:

  • A) a synchronization bar

  • B) a swimlane

  • C) a diamond

  • D) a filled-in circle

Explanation

Question 13 of 35

1

13) A mechanism for communicating between a server and a mainframe computer is called a:

Select one of the following:

  • A) message queue

  • B) swimlane.

  • C) synchronization bar

  • D) EBCDIC conversion unit.

Explanation

Question 14 of 35

1

14) On a sequence diagram, a lateral bar or vertical rectangle is used to represent:

Select one of the following:

  • 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.

Explanation

Question 15 of 35

1

15) Solid arrowheads used for messages on a sequence diagram represent:

Select one of the following:

  • A) inheritance relationships.

  • B) return parameters.

  • C) asynchronous messages.

  • D) synchronous messages.

Explanation

Question 16 of 35

1

16) Which of the following is not a format for sending messages between classes on a sequence diagram?

Select one of the following:

  • A) messageName( )

  • B) messageName(parameter1, parameter2)

  • C) messageName(parameter1:returnValue, parameter2:returnValue)

  • D) messageName(parameterType:parameterName(defaultValue))

Explanation

Question 17 of 35

1

17) What is used to show time ordering on a communication diagram?

Select one of the following:

  • A) a sequence number

  • B) a synchronous arrow

  • C) an asynchronous arrow

  • D) a focus of control

Explanation

Question 18 of 35

1

18) A private attribute on a class diagram:

Select one of the following:

  • 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.

Explanation

Question 19 of 35

1

19) Method overloading means that:

Select one of the following:

  • 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.

Explanation

Question 20 of 35

1

20) Which type of class represents real-world items?

Select one of the following:

  • A) entity

  • B) interface

  • C) abstract

  • D) control

Explanation

Question 21 of 35

1

21) Which type of class provides a means for users to work with the system?

Select one of the following:

  • A) entity

  • B) boundary or interface

  • C) abstract

  • D) control

Explanation

Question 22 of 35

1

22) Which type of class cannot be directly instantiated?

Select one of the following:

  • A) entity

  • B) interface

  • C) abstract

  • D) control

Explanation

Question 23 of 35

1

23) Which type of class acts as a coordinator when implementing classes?

Select one of the following:

  • A) entity

  • B) interface

  • C) abstract

  • D) control

Explanation

Question 24 of 35

1

24) Which of the following is not a way to store and retransmit data from a Web page?

Select one of the following:

  • 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.

Explanation

Question 25 of 35

1

25) A statechart diagram is created for:

Select one of the following:

  • A) a single class.

  • B) a single use case.

  • C) an activity on an activity diagram.

  • D) a group of classes connected with relationships.

Explanation

Question 26 of 35

1

26) Object-oriented techniques work well in situations where ________ information systems
are undergoing continuous maintenance, adaptation, and redesign.

Select one of the following:

  • A) complicated

  • B) simple

  • C) highly technical

  • D) global

Explanation

Question 27 of 35

1

27) Objects are represented by and grouped into ________ that are optimal for reuse and maintainability.

Select one of the following:

  • A) objects

  • B) views

  • C) classes

  • D) displays

Explanation

Question 28 of 35

1

28) The term ________ is used when an object is created from a class.

Select one of the following:

  • A) class

  • B) updated

  • C) made

  • D) instantiate

Explanation

Question 29 of 35

1

29) When using inheritance, the child class is also know as a ________ class.

Select one of the following:

  • A) parent

  • B) derived

  • C) primary

  • D) secondary

Explanation

Question 30 of 35

1

30) When one class is created from another class it is called ________.

Select one of the following:

  • A) inheritance

  • B) dower

  • C) parenting

  • D) settlement

Explanation

Question 31 of 35

1

31) ________ reduces programming labor by reusing common objects easily.

Select one of the following:

  • A) Inheritance

  • B) Dower

  • C) Parenting

  • D) Settlement

Explanation

Question 32 of 35

1

32) A ________, ________, and ________ card may be used when the analyst is beginning to model or talk about the system from an O-O perspective.

Select one of the following:

  • A) class; responsibilities; collaborators

  • B) class; responsibilities; collections

  • C) class; revisions; collaborators

  • D) collection; responsibilities; collaborators

Explanation

Question 33 of 35

1

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.

Select one of the following:

  • A) Communication diagrams

  • B) Concept diagrams

  • C) Structural diagrams

  • D) Behavioral diagrams.

Explanation

Question 34 of 35

1

34) ________ show the same information as a sequence diagram.

Select one of the following:

  • A) Communication diagrams

  • B) Concept diagrams

  • C) Structural diagrams

  • D) Behavioral diagrams.

Explanation

Question 35 of 35

1

35) ________ diagrams are used to model the static structural design view of a system.

Select one of the following:

  • A) Class

  • B) Concept diagrams

  • C) Structural diagrams

  • D) Behavioral diagrams.

Explanation