Exam 3: Data Modeling

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

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?

Free
(Multiple Choice)
4.9/5
(43)
Correct Answer:
Verified

A

Which of the following is a well-formed business rule?

Free
(Multiple Choice)
4.7/5
(30)
Correct Answer:
Verified

D

List the tables with primary keys,attributes,and foreign keys that implement the following UML Class diagram given the accompanying list of attributes.Identify primary keys with PK and foreign keys with FK. List the tables with primary keys,attributes,and foreign keys that implement the following UML Class diagram given the accompanying list of attributes.Identify primary keys with PK and foreign keys with FK.    List the tables with primary keys,attributes,and foreign keys that implement the following UML Class diagram given the accompanying list of attributes.Identify primary keys with PK and foreign keys with FK.

Free
(Essay)
4.8/5
(31)
Correct Answer:
Verified

Fields = Field ID (PK),Field Location,Field Name
Games = Game Number/Identifier (PK),Field ID (FK),Game Date
Teams = Team ID (PK),League ID (FK),Team Name,Number of Players on this Team
Players = Player ID (PK),Player Name,Player Age,Player Average
Leagues = League ID (PK),League Name,League Sport
Games - Teams = Game Number/Identifier + Team ID (PK),Score of this team in this game
Leagues - Fields = League ID + Field ID (PK),Number of fields assigned to this league

Which of the following statements about foreign keys is not true?

(Multiple Choice)
4.9/5
(42)

In Unified Modeling Language (UML)primary keys cannot by NULL.

(True/False)
4.9/5
(43)

Obligatory business rules state what should not occur.

(True/False)
4.7/5
(44)

In Unified Modeling Language (UML)the options for maximum multiplicity values are 0 and *.

(True/False)
4.8/5
(35)

In Unified Modeling Language (UML)Class diagrams,Associations are represented by dashed lines.

(True/False)
5.0/5
(37)

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.

(Essay)
4.7/5
(33)

Which of the following is not a best practice in preparing Unified Modeling Language (UML)Class diagrams?

(Multiple Choice)
4.9/5
(37)

In Unified Modeling Language (UML)the options for minimum multiplicity values are 1 and *.

(True/False)
4.8/5
(41)

In Unified Modeling Language (UML)the options for maximum multiplicity values are 1 and *.

(True/False)
4.9/5
(30)

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?

(Multiple Choice)
4.8/5
(36)

In Unified Modeling Language (UML)primary keys may be blank.

(True/False)
4.9/5
(45)

Identify the classes and associations in the following narrative and draw a class diagram with multiplicities: To put himself through school,Zach operates an ice cream truck that travels through neighborhoods,ringing a bell to attract kids that want a cold ice cream treat.Zach's inventory includes many ice cream products and he tracks which items are sold in each sale.He occasionally adds new items to his list of ice cream products for sale.Zach only accepts cash for each sale.To identify the routes that generate the most sales,Zach summarizes sales by neighborhood but he only tracks neighborhoods with at least one sale.Zach deposits the cash received in his bank account at the end of each day.

(Essay)
4.9/5
(31)

Which of the following best describes the purpose of a primary key?

(Multiple Choice)
4.9/5
(27)

Which of the following is not a criterion for selection of a primary key?

(Multiple Choice)
4.8/5
(30)

Unified Modeling Language (UML)Class diagrams describe the logical structure of a database system.

(True/False)
4.8/5
(37)

Associations can indicate the roles that one Class takes in its business relationship with another Class.

(True/False)
4.9/5
(31)

A generalization relationship models a grouping of things that share common characteristics.

(True/False)
4.9/5
(27)
Showing 1 - 20 of 45
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)