ACCY 310 TEST 1 UPDATED ACTUAL QUESTIONS AND
CORRECT ANSWERS
Question:
1. In UML the options for maximum multiplicity values are 0
and *
Answer:
false
Question:
2. The Object Management Group maintains the standard
for Unified Modeling Language (UML) Class diagrams.
Answer:
True
Question:
3. A Class is a separately identifiable collection of business
relationships.
Answer:
False
Question:
4. In Unified Modeling Language (UML) Class diagrams, a
Class is represented by a rectangle.
Answer:
True
Question:
5. In Unified Modeling Language (UML) Class diagrams,
Associations are represented by dashed lines.
Answer:
False
,Question:
6. Which of the following is not something a model of
database structures must be able to describe?
A. The entities or things in the domain of interest
B. The sequence that entities are accessed
C. The cardinalities that describe how many instances of
one entity can be related to another
D. The attributes or characteristics of the entities and
relationships
Answer:
B. The sequence that entities are accessed
Question:
7. Which of the following would be least likely to be
represented with a Unified Modeling Language (UML)
Class?
A. Trucks
B. The number of trucks used in the delivery
C. The employee driving the truck
D. The customer receiving the delivery
Answer:
B. The number of trucks used in the delivery
Question:
8. Which of the following is the best description of an
association?
A. A group of classes
B. The lines in a UML Class diagram
C. The relationship between two classes
D. The number of times one class is related to another
Answer:
C. The relationship between two classes
Question:
9. Which of following are possible options for minimum
multiplicities?
A. 0 and 1
B. 0 and *
C. * and 1
D. 0, 1, and *
Answer:
A. 0 and 1
, Question:
10. Which of the following best describes the purpose of a
primary key?
A. Allows linking two or more tables
B. Indicates the minimum multiplicities for an association
C. Matches values of foreign keys in other classes
D. Uniquely identifies each instance of the class
Answer:
D. Uniquely identifies each instance of the class
Question:
11. Which of the following statements about foreign keys is
not true?
A. A foreign key can be a combination of attributes.
B. A foreign key cannot be NULL.
C. Foreign key must match values of the linked primary
key.
D. Foreign keys support a defined association.
Answer:
B. A foreign key cannot be NULL.
Question:
12. Which of the following is not a criterion for selection of a
primary key?
A. The primary key cannot be NULL (blank).
B. The primary key should be controlled by the
organization assigning it.
C. Primary keys with sequential values make it easier to
spot gaps in the data.
D. Longer key values are better than shorter key values.
Answer:
D. Longer key values are better than shorter key values.
Question:
13. Which of the following is not a best practice in preparing
Unified Modeling Language (UML) Class diagrams?
A. Opt for simplicity.
B. Model each process separately.
C. Avoid crossing lines whenever possible.
D. Avoid confusing abbreviations.
Answer:
B. Model each process separately.
CORRECT ANSWERS
Question:
1. In UML the options for maximum multiplicity values are 0
and *
Answer:
false
Question:
2. The Object Management Group maintains the standard
for Unified Modeling Language (UML) Class diagrams.
Answer:
True
Question:
3. A Class is a separately identifiable collection of business
relationships.
Answer:
False
Question:
4. In Unified Modeling Language (UML) Class diagrams, a
Class is represented by a rectangle.
Answer:
True
Question:
5. In Unified Modeling Language (UML) Class diagrams,
Associations are represented by dashed lines.
Answer:
False
,Question:
6. Which of the following is not something a model of
database structures must be able to describe?
A. The entities or things in the domain of interest
B. The sequence that entities are accessed
C. The cardinalities that describe how many instances of
one entity can be related to another
D. The attributes or characteristics of the entities and
relationships
Answer:
B. The sequence that entities are accessed
Question:
7. Which of the following would be least likely to be
represented with a Unified Modeling Language (UML)
Class?
A. Trucks
B. The number of trucks used in the delivery
C. The employee driving the truck
D. The customer receiving the delivery
Answer:
B. The number of trucks used in the delivery
Question:
8. Which of the following is the best description of an
association?
A. A group of classes
B. The lines in a UML Class diagram
C. The relationship between two classes
D. The number of times one class is related to another
Answer:
C. The relationship between two classes
Question:
9. Which of following are possible options for minimum
multiplicities?
A. 0 and 1
B. 0 and *
C. * and 1
D. 0, 1, and *
Answer:
A. 0 and 1
, Question:
10. Which of the following best describes the purpose of a
primary key?
A. Allows linking two or more tables
B. Indicates the minimum multiplicities for an association
C. Matches values of foreign keys in other classes
D. Uniquely identifies each instance of the class
Answer:
D. Uniquely identifies each instance of the class
Question:
11. Which of the following statements about foreign keys is
not true?
A. A foreign key can be a combination of attributes.
B. A foreign key cannot be NULL.
C. Foreign key must match values of the linked primary
key.
D. Foreign keys support a defined association.
Answer:
B. A foreign key cannot be NULL.
Question:
12. Which of the following is not a criterion for selection of a
primary key?
A. The primary key cannot be NULL (blank).
B. The primary key should be controlled by the
organization assigning it.
C. Primary keys with sequential values make it easier to
spot gaps in the data.
D. Longer key values are better than shorter key values.
Answer:
D. Longer key values are better than shorter key values.
Question:
13. Which of the following is not a best practice in preparing
Unified Modeling Language (UML) Class diagrams?
A. Opt for simplicity.
B. Model each process separately.
C. Avoid crossing lines whenever possible.
D. Avoid confusing abbreviations.
Answer:
B. Model each process separately.