Deck 3: Data Modeling
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Question
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/50
Play
Full screen (f)
Deck 3: Data Modeling
1
A Class is a separately identifiable collection of business relationships.
False
2
Business rules set criteria for branching in activity models.
True
3
In Unified Modeling Language (UML) Class diagrams, Associations are represented by dashed lines.
False
4
When building a database from Unified Modeling Language (UML) Class diagrams, each instance of each Class becomes a row in the corresponding table.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
5
The Object Management Group maintains the standard for Unified Modeling Language (UML) Class diagrams.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
6
In Unified Modeling Language (UML) Class diagrams, a Class is represented by a rectangle.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
7
A generalization relationship models a grouping of things that share common characteristics.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
8
A database should have exactly the same number of tables as there are Classes in the Unified Modeling Language (UML) Class diagram from which the database is developed.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
9
In Unified Modeling Language (UML) attributes are characteristics of individual instances of a Class.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
10
In Unified Modeling Language (UML) primary keys may be blank.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
11
In Unified Modeling Language (UML) the options for minimum multiplicity values are 0, 1, and 2.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
12
In Unified Modeling Language (UML) the options for maximum multiplicity values are 1 and *.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
13
In Unified Modeling Language (UML) the options for maximum multiplicity values are 0 and *.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
14
Unified Modeling Language (UML) Class diagrams describe the logical structure of a database system.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
15
Obligatory business rules state what should occur.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
16
In Unified Modeling Language (UML) foreign keys allow tables to be linked together in a database.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
17
An aggregation relationship is a form of generalization relationships.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
18
In Unified Modeling Language (UML) primary keys cannot by NULL.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
19
In Unified Modeling Language (UML) the options for minimum multiplicity values are 1 and *.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
20
Associations can indicate the roles that one Class takes in its business relationship with another Class.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
21
Consider an association between a Cash Disbursements class and a Cash Accounts class in a Unified Modeling Language (UML) Class diagram. The multiplicities next to the Cash Disbursements class are 0..* and the multiplicities next to the Cash Accounts class are 1..1. Which of the following is the best way to implement that association in your database?
A. Post the primary key of Cash Disbursements as a foreign key in Cash Accounts
B. Post the primary key of Cash Accounts as a foreign key in Cash Disbursements
C. Create a linking table
D. None of the above
A. Post the primary key of Cash Disbursements as a foreign key in Cash Accounts
B. Post the primary key of Cash Accounts as a foreign key in Cash Disbursements
C. Create a linking table
D. None of the above
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
22
Entity-relationship diagrams (ERDs) are similar in content and purpose to Unified Modeling Language (UML) Class diagrams. Which of the following is not a basic building block of ERDs?
A. Relationships
B. Associations
C. Attributes
D. Entities
A. Relationships
B. Associations
C. Attributes
D. Entities
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
23
Which of the following is not a step in using a Unified Modeling Language (UML) Class model to prepare a database?
A. Map Classes to Tables
B. Map Attributes to Table Fields
C. Map Associations to Primary Keys
D. Map Associations to Foreign Keys
A. Map Classes to Tables
B. Map Attributes to Table Fields
C. Map Associations to Primary Keys
D. Map Associations to Foreign Keys
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
24
Consider an association indicating professional licensing status between an Accountant class and a States class in a Unified Modeling Language (UML) Class diagram. The multiplicities next to the Accountants class are 0..* and the multiplicities next to the States class are 0..*. Which of the following is the best way to implement that association in your database?
A. Post the primary key of Accountants as a foreign key in States
B. Post the primary key of States as a foreign key in Accountants
C. Create a linking table
D. None of the above
A. Post the primary key of Accountants as a foreign key in States
B. Post the primary key of States as a foreign key in Accountants
C. Create a linking table
D. None of the above
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
25
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
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
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
26
Consider an association between a Sales class and an Inventory class in a Unified Modeling Language (UML) Class diagram. The multiplicities next to the Sales class are 0..* and the multiplicities next to the Inventory class are 1..*. Which of the following is the best way to implement that association in your database?
A. Post the primary key of Sales as a foreign key in Inventory
B. Post the primary key of Inventory as a foreign key in Sales
C. Create a linking table
D. None of the above
A. Post the primary key of Sales as a foreign key in Inventory
B. Post the primary key of Inventory as a foreign key in Sales
C. Create a linking table
D. None of the above
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
27
Consider an association between a Pet Owners class and a Pets class in a Unified Modeling Language (UML) Class diagram. The multiplicities next to the Pet Owners class are 1..1 and the multiplicities next to the Pets class are 1..*. Which of the following is the best way to implement that association in your database?
A. Post the primary key of Pet Owners as a foreign key in Pets
B. Post the primary key of Pets as a foreign key in Pet Owners
C. Create a linking table
D. None of the above
A. Post the primary key of Pet Owners as a foreign key in Pets
B. Post the primary key of Pets as a foreign key in Pet Owners
C. Create a linking table
D. None of the above
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
28
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
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
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
29
Consider an association between a Cash Disbursements class and a Vendors class in a Unified Modeling Language (UML) Class diagram. The multiplicities next to the Cash Disbursements class are 0..* and the multiplicities next to the Vendors class are 1..1. Which of the following is the best way to implement that association in your database?
A. Post the primary key of Cash Disbursements as a foreign key in Vendors
B. Post the primary key of Vendors as a foreign key in Cash Disbursements
C. Create a linking table
D. None of the above
A. Post the primary key of Cash Disbursements as a foreign key in Vendors
B. Post the primary key of Vendors as a foreign key in Cash Disbursements
C. Create a linking table
D. None of the above
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
30
What is the best description of the relationship between employee and vehicle in the following UML class diagram?
A. Zero-to-one
B. Zero-to-zero
C. One-to-one
D. One-to-many

A. Zero-to-one
B. Zero-to-zero
C. One-to-one
D. One-to-many
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
31
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
A. Trucks
B. The number of trucks used in the delivery
C. The employee driving the truck
D. The customer receiving the delivery
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
32
Consider an association between a Customers class and a Sale class in a Unified Modeling Language (UML) Class diagram. The multiplicities next to the Customers class are 1..1 and the multiplicities next to the Sale class are 0..*. Which of the following is the best way to implement that association in your database?
A. Post the primary key of Customers as a foreign key in Sales
B. Post the primary key of Sales as a foreign key in Customers
C. Create a linking table
D. None of the above
A. Post the primary key of Customers as a foreign key in Sales
B. Post the primary key of Sales as a foreign key in Customers
C. Create a linking table
D. None of the above
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
33
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
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
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
34
Associations in UML Class Diagrams should include a description in which of the following situations?
A. Associations should always include descriptions
B. The decision criterion(a) affecting the process flow direction is not clear
C. The attributes of the related class are not clear
D. The business purpose of the association is not clear
A. Associations should always include descriptions
B. The decision criterion(a) affecting the process flow direction is not clear
C. The attributes of the related class are not clear
D. The business purpose of the association is not clear
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
35
Which of the following is not one of the building blocks used for creating UML Class Diagrams?
A. Classes
B. Events
C. Associations
D. None of the other options are used in UML Class Diagrams
A. Classes
B. Events
C. Associations
D. None of the other options are used in UML Class Diagrams
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
36
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
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
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
37
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
A. Opt for simplicity
B. Model each process separately
C. Avoid crossing lines whenever possible
D. Avoid confusing abbreviations
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
38
Consider an association between a Cities class and a Neighborhoods class in a Unified Modeling Language (UML) Class diagram. The multiplicities next to the Cities class are 1..1 and the multiplicities next to the Neighborhoods class are 1..*. Which of the following is the best way to implement that association in your database?
A. Post the primary key of Cities as a foreign key in Neighborhoods
B. Post the primary key of Neighborhoods as a foreign key in Cities
C. Create a linking table
D. None of the above
A. Post the primary key of Cities as a foreign key in Neighborhoods
B. Post the primary key of Neighborhoods as a foreign key in Cities
C. Create a linking table
D. None of the above
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
39
Logical database structure models, including UML Class Diagrams, must be able to describe which of the following?
E. The entities in the domain of interest
F. The activities performed in the business process
G. The operations performed on the database
H. The Bachman diagram
E. The entities in the domain of interest
F. The activities performed in the business process
G. The operations performed on the database
H. The Bachman diagram
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
40
Consider an association between a Deliveries class and a Shipping Companies class in a Unified Modeling Language (UML) Class diagram. The multiplicities next to the Deliveries class are 0..* and the multiplicities next to the Shipping Companies class are 1..1. Which of the following is the best way to implement that association in your database?
A. Post the primary key of Deliveries as a foreign key in Shipping Companies
B. Post the primary key of Shipping Companies as a foreign key in Deliveries
C. Create a linking table
D. None of the above
A. Post the primary key of Deliveries as a foreign key in Shipping Companies
B. Post the primary key of Shipping Companies as a foreign key in Deliveries
C. Create a linking table
D. None of the above
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
41
Which of the following UML class diagrams depicts an aggregation relationship?
A.
B.
C. (Correct)
D.

A.

B.

C. (Correct)

D.

Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
42
Which attribute in the following class would make the best primary key?
A. Customer
B. Customer Name
C. E-mail address
D. Customer ID

A. Customer
B. Customer Name
C. E-mail address
D. Customer ID
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
43
Which of the following is not a valid enforcement level for business rules?
A. Authorization
B. Pre-override
C. Strict Enforcement
D. Post-override
A. Authorization
B. Pre-override
C. Strict Enforcement
D. Post-override
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
44
Identify the classes and associations in the following narrative and draw a class diagram with multiplicities: Barb maintains a real estate tracking system for Orange County. There are currently 34 incorporated cities and 15 unincorporated communities in the county. Barb tracks all of these as cities. Within each city, there is at least one and could be many neighborhoods. Within each neighborhood, there is at least one and likely many houses. For each house, Barb tracks information for all the sales in the last 20 years, although some houses have not been sold in the last 20 years.
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
45
What is the best description of the relationship between employee and vehicle in the following UML class diagram?
A. One-to-one
B. One-to-many
C. Zero-to-many
D. One-to-zero

A. One-to-one
B. One-to-many
C. Zero-to-many
D. One-to-zero
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
46
Which of the following is most similar to the relationship between the UML class diagram and the database?
A. The relationship between a blueprint and building
B. The relationship between driving directions and a map
C. The relationship between raw materials and finished goods
D. The relationship between cooking instructions and ingredients
A. The relationship between a blueprint and building
B. The relationship between driving directions and a map
C. The relationship between raw materials and finished goods
D. The relationship between cooking instructions and ingredients
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
47
When implementing the database from a UML class diagram, attributes should be mapped to which of the following?
A. Tables
B. Relationships
C. Fields
D. Indexes
A. Tables
B. Relationships
C. Fields
D. Indexes
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
48
Which of the following is not a category of operational decision used in creating business rules?
A. Calculation
B. Event
C. Risk
D. Opportunity
A. Calculation
B. Event
C. Risk
D. Opportunity
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
49
What is the best description of the relationship between instructor and course in the following UML class diagram?
A. One-to-zero
B. One-to-many
C. Zero-to-many
D. Many-to-many

A. One-to-zero
B. One-to-many
C. Zero-to-many
D. Many-to-many
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck
50
When implementing the database from a UML class diagram, associations should be mapped to which of the following?
A. Tables
B. Fields
C. Relationships
D. Foreign keys
A. Tables
B. Fields
C. Relationships
D. Foreign keys
Unlock Deck
Unlock for access to all 50 flashcards in this deck.
Unlock Deck
k this deck