Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Choose the correct answer for the following items. Which of the following would be least likely to be represented with a Unified Modeling Language (UML)
Choose the correct answer for the following items.
- Which of the following would be least likely to be represented with a Unified Modeling Language (UML) Class?
- Trucks
- The number of trucks used in the delivery
- The employee driving the truck
- The customer receiving the delivery
- Which of the following statements about foreign keys is not true?
- A foreign key can be a combination of attributes
- A foreign key cannot be NULL
- Foreign key must match values of the linked primary key
- Foreign keys support a defined association
- Which of the following is not a step in using a Unified Modeling Language (UML) Class model to prepare a database?
- Map Classes to Tables
- Map Attributes to Table Fields
- Map Associations to Foreign Keys
- Map Associations to Primary Keys
- 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?
- Relationships
- Associations
- Attributes
- Entities
- 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?
- Post the primary key of Sales as a foreign key in Inventory
- Post the primary key of Inventory as a foreign key in Sales
- A and B are correct
- Create a linking table
- 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?
- Post the primary key of Cash Disbursements as a foreign key in Vendors
- Post the primary key of Vendors as a foreign key in Cash Disbursements
- Create a linking table
- None of the above
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started