Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

MGMT 329 Exam 2 Fall 2008, Exams of Data Communication Systems and Computer Networks

An exam for the mgmt 329 course offered in the fall of 2008. The exam includes multiple choice and short answer questions about database normalization, primary keys, foreign keys, and entity-relationship diagrams (erds).

Typology: Exams

Pre 2010

Uploaded on 07/22/2009

koofers-user-c5b
koofers-user-c5b 🇺🇸

10 documents

1 / 9

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
MGMT 329 (Fall 2008) Exam #2 Page 1 of 9
MGMT 329 - Fall 2008
Exam 2
Fill in the blank with the BEST answer from the list below (5 points each):
1. In a table with multiple _________________________ only one can be chosen as the primary key.
2. A table is not in ____________________________ if one of its non-key attributes can be computed by
multiplying two other non-key attributes in the same table.
3. A table is not in ____________________________ if it describes more than one many-to-many
relationship.
4. Synonyms for the term “column” include ____________________________ and
____________________________.
5. If attribute A is a determinant of attribute B then attribute B is ____________________________ on
attribute A.
6. If attribute A is functionally dependent on the combination of attributes X and Y then the combination
of attributes X and Y is a(n) ____________________________.
7. An example of a(n) ____________________________ is a requirement that an attribute named Sport in
a table named SaleItem must contain one of the following values: “Baseball”, “Football”, or
“Basketball”.
Key Terms List
1NF
2NF
3NF
4NF
attribute
BCNF
candidate key
cascading delete
cascading update
column
composite determinant
composite key
data type
determinant
domain constraint
field
file
foreign key
functional dependency
primary key
range constraint
record
referential integrity constraint
relation
relationship
row
surrogate key
table
tuple
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download MGMT 329 Exam 2 Fall 2008 and more Exams Data Communication Systems and Computer Networks in PDF only on Docsity!

MGMT 329 - Fall 2008

Exam 2

Fill in the blank with the BEST answer from the list below (5 points each):

  1. In a table with multiple _________________________ only one can be chosen as the primary key.
  2. A table is not in ____________________________ if one of its non-key attributes can be computed by multiplying two other non-key attributes in the same table.
  3. A table is not in ____________________________ if it describes more than one many-to-many relationship.
  4. Synonyms for the term “column” include ____________________________ and ____________________________.
  5. If attribute A is a determinant of attribute B then attribute B is ____________________________ on attribute A.
  6. If attribute A is functionally dependent on the combination of attributes X and Y then the combination of attributes X and Y is a(n) ____________________________.
  7. An example of a(n) ____________________________ is a requirement that an attribute named Sport in a table named SaleItem must contain one of the following values: “Baseball”, “Football”, or “Basketball”.

Key Terms List

1NF 2NF 3NF 4NF attribute BCNF candidate key cascading delete cascading update column

composite determinant composite key data type determinant domain constraint field file foreign key functional dependency primary key

range constraint record referential integrity constraint relation relationship row surrogate key table tuple

Short Answer Length Answer (5 points each):

  1. How do relations differ from ordinary tables?
  2. Why is a table that is in first normal form and has a single-attribute primary key “automatically” in second normal form?
  1. Define one or more relations in 1NF that can store the information in the sample table below. For each relation identify its name, list its attributes, and underline the attribute(s) that comprise the primary key.

VendorID VendorName ContactPerson TelephoneNumber EmailAddress

1 ABC Company

Joe Smith 123-456-7890 jsmith@abc.com Mary Jones 123-456-0987 mjones@abc.com 2 Vigil Supply Roberto Vigil 234-567-8901 roberto@vsupply.com

3 XYZ Company

John Brown 345-678-9012 jbrown@xyz.com Juanita Verde 345-678-2109 verde@xyz.com Adam Smith 345-678-1234 adam@xyz.com

  1. In the ERD below assume that both relationships are identifying relationships. Assume further that Section.Number values are unique only within a single Course and that Course.Number values are unique only within a single Department. Define a set of tables to represent all of the entities and relationships. Do not invent any new identifiers. Underline the primary key attribute(s) of each table.
  1. Assume the following facts about RELATION( A,B,C ,D,E,F)

a. RELATION is in 1NF b. D is functionally dependent on the entire primary key c. E is functionally dependent on the combination of A and B d. F is functionally dependent on A

Convert RELATION into one or more relations that are in 2NF. Underline the primary key of each relation in your answer.

Scratch Sheet