Você está na página 1de 3

Home > Chapter 3 > Online Quiz

Course-wide Content
AIS Weblinks
Online Quiz
(See related pages)
Chapter 5 Comprehensiv...
Chapter 6 Comprehensiv...

Results Reporter
Quizzes
Online Quiz
Out of 10 questions, you answered 5 correctly with a final grade of 50%
More Resources
PowerPoint Presentation 5 correct (50%)
5 incorrect (50%)
0 unanswered (0%)
Your Results:

The correct answer for each question is indicated by a .

1 CORRECT 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) Process workflow

C) How many instances of one entity can be related to another

D) The business reason that two entities are connected


Feedback: Activity diagrams describe workflow but structure diagrams do not.
2 CORRECT Which of the following would be least likely to be represented with a UML Class?

A) Delivery vans

B) The number of delivery vans used in the delivery

C) The employee driving the delivery van

D) The customer receiving the delivery


Feedback: The number of delivery vans would be indicated with the multiplicities
3 Which of the following best describes the purpose of a primary key?
INCORRECT
A) Describes the characteristics of the class

B) Allows two tables to be connected

C) Matches values of foreign keys in other classes

D) Uniquely identifies each instance of the class


Feedback: The definition of a primary key: A primary key uniquely defines each instance
of a class in a data model or each row in a table in a database.
4 CORRECT 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 blank.

C) A foreign key links to a primary key in another table.

D) Tables may contain multiple foreign keys.


Feedback: Foreign keys can be NULL (blank).
5 Which of the following is not a step in using a UML Class model to prepare a database?
INCORRECT
A) Map Associations to Primary Keys.

B) Map Associations to Foreign Keys.

C) Map Classes to Tables.

D) Map Attributes to Table Fields.


Feedback: The process is: Map classes to tables, Map Class Attributes to Table Fields and
Assign Primary Keys, Map associations to foreign keys, Create New Tables to Implement
Many-to-Many Relationships, Implement Relationships Among Tables.
6 Consider the following diagram with an association between Customers and Sales. Which of
INCORRECT the following is the best way to implement that association in your database?

PDF Creator - PDF4Free v2.0 http://www.pdf4free.com


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.


Feedback: Each sale would only have one customer, but each customer could be involved
in many sales. Thus, the foreign key posted in Sales is the primary key for Customers.
7 Consider the following diagram with an association between Sales and Inventory Classes.
INCORRECT 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.


Feedback: This is an example of a many-to-many relationship (where the maximum
multiplicity on both sides of the association is many (*). These are implemented with
linking tables.
8 CORRECT Consider the following diagram with an association between Cash and Cash Disbursements
Classes. 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.


Feedback: The primary key of Cash Accounts would become a foreign key in Cash
Disbursements. Think of a check. The magnetic coding indicates the account (and bank
and routing symbol).
9 Consider the following diagram with an association between Pet Owners class and a Pets class
INCORRECT in a UML Class diagram. 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 the 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.


Feedback: Each pet owner could own one or more pets, but each pet is owned by one
owner. This indicates that the primary key of Pet Owners should be posted as a foreign
key in Pets.
10 Consider the following diagram with an association between Cash Disbursements and Vendors
CORRECT classes in a UML Class diagram. 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.


Feedback: Each vendor could receive many checks (cash disbursements) so you can't
post the primary key of Cash Disbursements in the Vendors class.

E-mail Your Results

Date: Tue Oct 04 2016 10:27:54 GMT+0500 (Pakistan Standard Time)


My name:
PDF Creator - PDF4Free v2.0 http://www.pdf4free.com
Section ID:
E-mail these results to:
E-mail address: Format:
Me:
My Instructor:
My TA:
Other:

To learn more about the book this website supports, please visit its Information Center.

Copyright 2016 McGraw-Hill Global Education Holdings, LLC. All rights reserved.
Any use is subject to the Terms of Use and Privacy Center | Report Piracy

PDF Creator - PDF4Free v2.0 http://www.pdf4free.com

Você também pode gostar