Chapter 10 (Multiple Choice)

Description

Quiz CIS 3343 Quiz on Chapter 10 (Multiple Choice), created by . . on 20/02/2016.
. .
Quiz by . ., updated more than 1 year ago
. .
Created by . . over 8 years ago
150
1

Resource summary

Question 1

Question
1) Which of the following is the main goal of the object-oriented approach?
Answer
  • A) maintaining systems
  • B) minimizing the impact of change
  • C) reusability
  • D) functional control

Question 2

Question
2) When classes are involved in inheritance, another name for a child class is:
Answer
  • A) a base class
  • B) a derived class.
  • C) a superclass.
  • D) an instantiated class.

Question 3

Question
3) When attributes are preceded by a minus sign, it means that:
Answer
  • A) the attributes are private.
  • B) the attributes are public.
  • C) the attributes are static.
  • D) the attributes are undefined.

Question 4

Question
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:
Answer
  • A) CRC card.
  • B) UML descriptor.
  • C) whole-part structure.
  • D) design layer.
  • E) User Message Language.

Question 5

Question
5) Which of the following is not one of the main components of UML?
Answer
  • A) things
  • B) relationships
  • C) entities
  • D) diagrams

Question 6

Question
6) Behavioral diagrams include all of the following except:
Answer
  • A) activity diagrams.
  • B) communication diagrams.
  • C) class diagrams.
  • D) use case diagrams.
  • E) sequence diagrams.

Question 7

Question
7) Which of the following is a structural diagram?
Answer
  • A) use case diagram
  • B) statechart diagram
  • C) sequence diagram
  • D) class diagram

Question 8

Question
8) Which of the following is not one of the six most commonly used UML diagrams?
Answer
  • A) activity diagram
  • B) CRC card relationship diagram
  • C) use case diagram
  • D) statechart diagram

Question 9

Question
9) Which of the following is not described by a use case?
Answer
  • 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

Question 10

Question
10) Which of the following are not shown on an activity diagram?
Answer
  • A) classes
  • B) events
  • C) decisions that are made
  • D) sequential activities

Question 11

Question
11) On an activity diagram, what is used to show parallel activities?
Answer
  • A) an arrow
  • B) a synchronization bar
  • C) a swimlane
  • D) a diamond

Question 12

Question
12) On an activity diagram, what is used to show partitioning?
Answer
  • A) a synchronization bar
  • B) a swimlane
  • C) a diamond
  • D) a filled-in circle

Question 13

Question
13) A mechanism for communicating between a server and a mainframe computer is called a:
Answer
  • A) message queue
  • B) swimlane.
  • C) synchronization bar
  • D) EBCDIC conversion unit.

Question 14

Question
14) On a sequence diagram, a lateral bar or vertical rectangle is used to represent:
Answer
  • 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.

Question 15

Question
15) Solid arrowheads used for messages on a sequence diagram represent:
Answer
  • A) inheritance relationships.
  • B) return parameters.
  • C) asynchronous messages.
  • D) synchronous messages.

Question 16

Question
16) Which of the following is not a format for sending messages between classes on a sequence diagram?
Answer
  • A) messageName( )
  • B) messageName(parameter1, parameter2)
  • C) messageName(parameter1:returnValue, parameter2:returnValue)
  • D) messageName(parameterType:parameterName(defaultValue))

Question 17

Question
17) What is used to show time ordering on a communication diagram?
Answer
  • A) a sequence number
  • B) a synchronous arrow
  • C) an asynchronous arrow
  • D) a focus of control

Question 18

Question
18) A private attribute on a class diagram:
Answer
  • 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.

Question 19

Question
19) Method overloading means that:
Answer
  • 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.

Question 20

Question
20) Which type of class represents real-world items?
Answer
  • A) entity
  • B) interface
  • C) abstract
  • D) control

Question 21

Question
21) Which type of class provides a means for users to work with the system?
Answer
  • A) entity
  • B) boundary or interface
  • C) abstract
  • D) control

Question 22

Question
22) Which type of class cannot be directly instantiated?
Answer
  • A) entity
  • B) interface
  • C) abstract
  • D) control

Question 23

Question
23) Which type of class acts as a coordinator when implementing classes?
Answer
  • A) entity
  • B) interface
  • C) abstract
  • D) control

Question 24

Question
24) Which of the following is not a way to store and retransmit data from a Web page?
Answer
  • 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.

Question 25

Question
25) A statechart diagram is created for:
Answer
  • A) a single class.
  • B) a single use case.
  • C) an activity on an activity diagram.
  • D) a group of classes connected with relationships.

Question 26

Question
26) Object-oriented techniques work well in situations where ________ information systems are undergoing continuous maintenance, adaptation, and redesign.
Answer
  • A) complicated
  • B) simple
  • C) highly technical
  • D) global

Question 27

Question
27) Objects are represented by and grouped into ________ that are optimal for reuse and maintainability.
Answer
  • A) objects
  • B) views
  • C) classes
  • D) displays

Question 28

Question
28) The term ________ is used when an object is created from a class.
Answer
  • A) class
  • B) updated
  • C) made
  • D) instantiate

Question 29

Question
29) When using inheritance, the child class is also know as a ________ class.
Answer
  • A) parent
  • B) derived
  • C) primary
  • D) secondary

Question 30

Question
30) When one class is created from another class it is called ________.
Answer
  • A) inheritance
  • B) dower
  • C) parenting
  • D) settlement

Question 31

Question
31) ________ reduces programming labor by reusing common objects easily.
Answer
  • A) Inheritance
  • B) Dower
  • C) Parenting
  • D) Settlement

Question 32

Question
32) A ________, ________, and ________ card may be used when the analyst is beginning to model or talk about the system from an O-O perspective.
Answer
  • A) class; responsibilities; collaborators
  • B) class; responsibilities; collections
  • C) class; revisions; collaborators
  • D) collection; responsibilities; collaborators

Question 33

Question
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.
Answer
  • A) Communication diagrams
  • B) Concept diagrams
  • C) Structural diagrams
  • D) Behavioral diagrams.

Question 34

Question
34) ________ show the same information as a sequence diagram.
Answer
  • A) Communication diagrams
  • B) Concept diagrams
  • C) Structural diagrams
  • D) Behavioral diagrams.

Question 35

Question
35) ________ diagrams are used to model the static structural design view of a system.
Answer
  • A) Class
  • B) Concept diagrams
  • C) Structural diagrams
  • D) Behavioral diagrams.
Show full summary Hide full summary

Similar

Biological Molecules Definitions
siobhan.quirk
Cell Structure
daniel.praecox
A-Level History: Nazi Germany
cian.buckley+1
GCSE Computing - 4 - Representation of data in computer systems
lilymate
Biological Psychology - Stress
Gurdev Manchanda
Test your Knowledge with Quizzes
daniel.praecox
Regular Verbs Spanish
Oliver Hall
Britain and World War 2
Sarah Egan
2PR101 1.test - 6. část
Nikola Truong
1PR101 2.test - Část 7.
Nikola Truong
SFDC App Builder 1 (26-50)
Connie Woolard