Ch11 – Flashcard

Unlock all answers in this set

Unlock answers
question
4. The UML is commonly used to model all of the following except _____. a. computer programs b. business activities c. organizational processes d. software systems
answer
computer programs
question
The UML diagrams that show how a business works from the perspective of those who actually interact with the business, such as employees or customers, are _____ diagrams. a. communication b. state machine c. use-case
answer
use-case
question
7. Which of the following would be portrayed as an extend relationship in a use case diagram for a hospital? a. the relationship between the head nurse and the floor nurses b. admitting a patient who has never been admitted before c. serving a meal d. scheduling the monitoring of patients' vital signs
answer
admitting a patient who has never been admitted before
question
9. One aspect of use case diagrams that makes them difficult to learn is that _____. a. they require programming experience to understand b. they use a technical vocabulary c. there is no single right answer for any case d. all of the above
answer
there is no single right answer for any case
question
The arithmetic association relationship between a college student and college courses would be expressed as _____. a. 1 0 b. 1 1 c. 1 0..* d. 0..* 0. .*
answer
1 0..*
question
12. In any given situation, you should choose the type of UML diagram that is _____. a. shorter than others b. clearer than others c. more detailed than others d. closest to the programming language you will use to implement the system
answer
clearer than others
question
14. The timing of events is best portrayed in a(n) _____ diagram. a. sequence b. use case c. communication d. association
answer
sequence
question
A communication diagram is closest to a(n) _________ diagram
answer
sequence
question
a ____ diagram shows the different state statuses of a class or objects at different points in time
answer
state machine
question
a ____ diagram most closely resembles a conventional flowchart
answer
activity
question
a ___ diagram emphasizes on files databases, tables, documents, and other components used by a systems software
answer
component
question
a ____ diagram that focuses on a systems hardware
answer
deployment
question
3. BeFore you can enter any data into a database table, you must do all oF the Following except _____. a. determine the attributes the table will hold b. provide names For each attribute c. provide data types For each attribute d. determine maximum and minimum values For each attribute
answer
determine maximum and minimum values For each attribute
question
third normal form eliminates __________
answer
transitive dependencies
question
second normal form eliminates
answer
partial key dependencies
question
first normal form eliminates
answer
repeating groups
question
When properly used, inheritance always involves a ____ relationship. a. specific-to-specific b. general-to-specific c. specific-to-general d. general-to-general
answer
general-to-specific
question
Characters are made up of smaller elements called ____. a. records b. bits c. bytes d. fields
answer
bits
question
A method that calls itself is a __ a. recursive method b. simple method c. repeated method d. self-referencing method
answer
recursive method
question
Each time a method executes, any parameter variables listed in the method header are ____ a. copied b. redeclared c. referenced d. examined
answer
redeclared
question
Objects both in the real world and in object-oriented programming contain ____ and methods a. behaviors b. attributes c. primitive data types d. help
answer
attributes
question
____ is the more general term for an entity that organizes files a. Structure b. Path c. Hierarchy d. Directory
answer
directory
question
A ____sort is a sorting algorithm in which list values are divided into sorted and unsorted sublists. a. bubble b. insertion c. selection d. sinking
answer
selection
question
____ occurs when a method is defined in terms of itself. a. Referential integrity b. Dependence c. Recursion d. Repeatability
answer
Recursion
question
____ is the ability of a method to act appropriately depending on the context.
answer
Polymorphism
question
When you create a ____ report, the records must have been sorted in order by a key field. a. totals b. control break c. summary d. detail
answer
control break
question
When computers sort data, they always use ____ values when making comparisons between values. a. numeric b. ascending c. alphabetic d. alphanumeric
answer
numeric
question
A database holds groups of files or ____ that together serve the information needs of an organization. a. fields b. control breaks c. tables d. records
answer
tables
question
A method's name and a list of argument types together are its ____. a. profile b. header c. interface d. signature
answer
signature
question
When you sort records, two possible approaches are to place related data items in parallel arrays and to ____. a. place unrelated data items in parallel arrays b. sort fields in records individually c. sort records as a whole d. sort data in spreadsheets
answer
sort records as a whole
question
A ____ method is also known as a help method. a. work b. public c. private d. set
answer
work
question
In object-oriented terminology, the generic name used for errors is ____. a. undefined branches b. interfaces c. bugs d. exceptions
answer
exceptions
question
____ is a measure of the strength of the connection between two program methods. a. Binding b. Coupling c. Cohesion d. Bonding
answer
Coupling
question
In a ____, items in a list are compared with each other in pairs. a. shell sort b. quick sort c. bubble sort d. matrix sort
answer
bubble sort
question
When a copy of a variable is sent to a method, it is passed by ____. a. reference b. insinuation c. value d. inference
answer
value
Get an explanation on any task
Get unstuck with the help of our AI assistant in seconds
New