Vous êtes sur la page 1sur 25

Score: 44 out of 50

Percentage Scored: 88 %
Mastery Score: 70 %

Section 6
(Answer all questions in this section)

1. Examine the following Entity and decide which sets of attributes break the
3rd Normal Form rule:
ENTITY: TRAIN
ATTRIBUTES:
TRAIN ID
MAKE
DRIVER ID
DRIVER NAME
DATE OF MANUFACTURE
Mark for Review
(1) Points

TRAIN ID, MAKE

DRIVER ID, DRIVER NAME (*)

MAKE, DATE OF MANUFACTURE

None of the above, the entity is already in 3rd Normal Form.

Correct Correct

2. As a database designer, you do not need to worry about where in the


datamodel you store a particular attribute; as long as you get it onto the ERD, your job is done.
True or False? Mark for Review
(1) Points
True

False (*)

Correct Correct

3. Examine the following Entity and decide which rule of Normal Form is
being violated:
ENTITY: CLIENT
ATTRIBUTES:
# CLIENT ID
FIRST NAME
LAST NAME
ORDER ID
STREET
ZIP CODE
Mark for Review
(1) Points

1st Normal Form. (*)

2nd Normal Form.

3rd Normal Form.

None of the above, the entity is fully normalised.

Incorrect Incorrect. Refer to Section 6 Lesson 4.

4. When any attribute in an entity is dependent on any other non-UID


attribute in that entity, this is known as: Mark for Review
(1) Points

Dependency

Non-dependency

Transitive dependency (*)

Functional dependency

Correct Correct

5. There is no limit to how many columns can make up an entity's UID. True
or False? Mark for Review
(1) Points

True (*)

False

Correct Correct

Section 6
(Answer all questions in this section)

6. A candidate UID that is not chosen to be the Primary UID is called: Mark
for Review
(1) Points

Secondary (*)
Composite

Artificial

Simple

Incorrect Incorrect. Refer to Section 6 Lesson 1.

7. If an entity has no attribute suitable to be a Primary UID, we can create an


artificial one. True or False? Mark for Review
(1) Points

True (*)

False

Correct Correct

8. Which of the following would be suitable UIDs for the entity EMPLOYEE:
(Choose Two) Mark for Review
(1) Points

(Choose all correct answers)

Last Name

Social Security Number (*)

Address
Employee ID (*)

Correct Correct

9. When all attributes are single-valued, the database model is said to


conform to: Mark for Review
(1) Points

1st Normal Form (*)

2nd Normal Form

3rd Normal Form

4th Normal Form

Correct Correct

10. To convert an entity with a multi valued attribute to 1st Normal Form, we
create an additional entity and relate it to the original entity with a 1:1 relationship. True or
False? Mark for Review
(1) Points

True

False (*)
Correct Correct

Section 6
(Answer all questions in this section)

11. An entity can have repeated values and still be in 1st Normal Form. True
or False? Mark for Review
(1) Points

True

False (*)

Correct Correct

12. An entity ORDER has the attributes Order ID, Order Date, Product id,
Customer ID. This entity is in 1st Normal Form. True or False? Mark for Review
(1) Points

True

False (*)

Correct Correct

13. Examine the following entity and decide which attribute breaks the 2nd
Normal Form rule:
ENTITY: RECEIPT
ATTRIBUTES:
#CUSTOMER ID
#STORE ID
STORE LOCATION
DATE
Mark for Review
(1) Points

STORE LOCATION (*)

STORE ID

CUSTOMER ID

DATE

Correct Correct

14. Examine the following entity and decide how to make it conform to the
rule of 2nd Normal Form:
ENTITY: RECEIPT
ATTRIBUTES:
#CUSTOMER ID
#STORE ID
STORE LOCATION
DATE
Mark for Review
(1) Points

Delete the attribute STORE ID

Move the attribute STORE LOCATION to a new entity, STORE, with a UID of STORE
LOCATION, and create a relationship to the original entity.

Do nothing, it is already in 2nd Normal Form.

Move the attribute STORE LOCATION to a new entity, STORE, with a UID of STORE
ID, and create a relationship to the original entity. (*)

Correct Correct

15. When is an entity in 2nd Normal Form? Mark for Review


(1) Points

When all non-UID attributes are dependent upon the entire UID. (*)

When attributes with repeating or multi-values are present.

When no attritibutes are mutually independent and all are fully dependent on the primary
key.

None of the Above.

Incorrect Incorrect. Refer to Section 6 Lesson 3.

Section 7
(Answer all questions in this section)

16. A Recursive Relationship is represented on an ERD by a/an: Mark


for Review
(1) Points

Crow's Foot

Pig's Ear (*)

Dog's Tail
Single Toe

Correct Correct

17. A relationship between an entity and itself is called a/an: Mark for
Review
(1) Points

Invalid Relationship

General Relationship

Heirarchical Relationship

Recursive Relationship (*)

Correct Correct

18. A single relationship can be both Recursive and Hierarchical at the same
time. True or False? Mark for Review
(1) Points

True

False (*)

Correct Correct
19. A Hierarchical relationship is a series of relationships that reflect entities
organized into successive levels. True or False? Mark for Review
(1) Points

True (*)

False

Correct Correct

20. Cascading UIDs are a feature often found in what type of Relationship?
Mark for Review
(1) Points

Invalid Relationship

Heirarchical Relationship (*)

General Relationship

Recursive Relationship

Correct Correct

Section 7
(Answer all questions in this section)

21. Which of the following would best be represented by an arc? Mark


for Review
(1) Points
STUDENT (Grade A student, Average Student)

STUDENT (graduating, female)

STUDENT (senior, male)

STUDENT ( University, Technical College) (*)

Correct Correct

22. All relationships participating in an arc must be mandatory. True or False?


Mark for Review
(1) Points

True

False (*)

Correct Correct

23. To visually represent exclusivity between two or more relationships in an


ERD you would most likely use an ________. Mark for Review
(1) Points

UID

Arc (*)
Attribute

Relationship

Correct Correct

24. An arc can often be modeled as Supertype and Subtypes. True or False?
Mark for Review
(1) Points

True (*)

False

Incorrect Incorrect. Refer to Section 7 Lesson 1.

Section 8
(Answer all questions in this section)

25. In an ERD, it is a good idea to group your entities according to the


expected volumes. By grouping high volume entities together, the diagrams could become
easier to read. True or False? Mark for Review
(1) Points

True (*)

False
Correct Correct

Section 8
(Answer all questions in this section)

26. No formal rules exist for drawing ERD's. The most important thing is to
make sure that all entities, attributes, and relationships are documented on the diagram, and the
diagram is clear and readable. True or False? Mark for Review
(1) Points

True (*)

False

Correct Correct

27. When a relationship may or may not be transferable, depending on time,


this is know as a/an: Mark for Review
(1) Points

Arc.

Non-transferable Relationship.

Transferable Relationship

Conditional Non-transferable Relationship. (*)

Correct Correct

28. Which of the following would be a logical constraint when modeling time
for a City entity? Mark for Review
(1) Points

Cites may change their names and/or country association if the borders of a country
change. (*)

Daily traffic patterns must be monitored to determine how many law enforcement officers
are needed.

People are born in the city and people die in the city.

If you are doing a system for any French City, you would need security clearance.

Correct Correct

29. When a system requires that old values for attributes are kept on record,
this is know as Journaling or Logging. True or False? Mark for Review
(1) Points

True (*)

False

Correct Correct

30. Why would you want to model a time component when designing a
system that lets people buy bars of gold? Mark for Review
(1) Points

The price of gold fluctuates and, to determine the current price, you need to know the
time of purchase. (*)

The Government of your country might want to be notified of this transaction.

You would not want to model this; it is not important.

Sales people must determine where the gold is coming from.

Correct Correct

Section 8
(Answer all questions in this section)

31. Historical data should always be kept. True or False? Mark for
Review
(1) Points

True

False (*)

Correct Correct

32. Which of the following scenarios should be modeled so that historical data
is kept? (Choose two) Mark for Review
(1) Points

(Choose all correct answers)

STUDENT and AGE


STUDENT and GRADE (*)

LIBRARY and NUMBER OF BOOKS

LIBRARY and BOOK (*)

Correct Correct

Section 9
(Answer all questions in this section)

33. In an Oracle database, why would 1_TABLE not work as a table name?
Mark for Review
(1) Points

The database does not understand all capital letters.

There is no problem here. You can create a table called 1_TABLE.

TABLE is a reserved word.

Object names must not start with a number. They must begin with a letter. (*)

Correct Correct

34. In an Oracle database, why would the following table name not be
allowed 'EMPLOYEE JOBS'? Mark for Review
(1) Points
You cannot have spaces between words in a table name (*)

The database does not understand all capital letters

EMPLOYEE is a reserved word

JOBS is a reserved word

Correct Correct

35. In a physical data model, a relationship is represented as a combination


of: (Choose Two) Mark for Review
(1) Points

(Choose all correct answers)

Primary Key or Unique Key (*)

Column

Check Constraint or Unique Key

Foreign Key (*)

Correct Correct

Section 9
(Answer all questions in this section)

36. In a physical data model, an entity becomes a _____________. Mark


for Review
(1) Points

Column

Constraint

Attribute

Table (*)

Correct Correct

37. One-to-One relationships are transformed into Foreign Keys in the tables
created at either end of that relationship. True or False? Mark for Review
(1) Points

True

False (*)

Correct Correct

38. An Arc is transformed to the physical model by adding a foeign Key for
every relationship in the Arc. True or False? Mark for Review
(1) Points

True (*)
False

Correct Correct

39. Two entities A and B have an optional (A) to Mandatory (B) One-to-One
relationship. When they are transformed, the Foreign Key(s) is placed on: Mark for Review
(1) Points

Nowhere, One-to-One relationships are not transformed.

The table A

Both tables A and B get a new column and a Foreign Key.

The table B (*)

Correct Correct

40. A barrred Relationship will result in a Foreign Key column that also is part
of: Mark for Review
(1) Points

The Table Name

The Column Name

The Primary Key (*)

The Check Constraint


Correct Correct

Section 9
(Answer all questions in this section)

41. It is possible to implement non-transferability via a simple Foreign Key


Relationship. True or False? Mark for Review
(1) Points

True

False (*)

Correct Correct

42. Which of the following is a valid reason for considering a Subtype


Implementation? Mark for Review
(1) Points

The common access paths for the supertypes are different.

Most of the relationships are at the supertype level.

The resulting table will reside in a single database and be used by just ONE user.

Business functionality, business rules, access paths, and frequency of access are all
very different between the subtypes. (*)
Correct Correct

43. When translating an arc relationship to a physical design, you must turn
the arc relationships into foreign keys. What additional step must you take with the created
foreign keys to ensure the exclusivity principle of arc relationships? (Assume that you are
implementing an Exclusive Design) (Choose Two) Mark for Review
(1) Points

(Choose all correct answers)

Make all relationships mandatory

Make all relationships optional (*)

Create an additional check constraint to verify that one foreign key is populated and the
others are not (*)

All the above

Correct Correct

44. Identify all of the incorrect statements that complete this sentence: A
primary key is...(Choose three) Mark for Review
(1) Points

(Choose all correct answers)

One or more columns in a table that uniquely identifies each row in that table.

Only one column that must be null. (*)


A set of columns in one table that uniquely identifies each row in another table. (*)

A single column that uniquely identifies each column in a table. (*)

Correct Correct

45. Foreign keys cannot be null when Mark for Review


(1) Points

It refers to the same table

It contains three or more columns

It refers to another table

It is part of a primary key (*)

Correct Correct

Section 9
(Answer all questions in this section)

46. Identify all of the correct statements that complete this sentence: A
primary key is: (Choose Three) Mark for Review
(1) Points

(Choose all correct answers)

Only one column that cannot be null

A single column that uniquely identifies each row in a table (*)


A set of columns and keys in a single table that uniquely identifies each row in a single
table (*)

A set of columns that uniquely identifies each row in a table (*)

Correct Correct

47. A foreign key always refers to a primary key in the same table. True or
False? Mark for Review
(1) Points

True

False (*)

Correct Correct

48. A table does not have to have a primary key. True or False? Mark
for Review
(1) Points

True (*)

False

Incorrect Incorrect. Refer to Section 9 Lesson 1.


Section 10
(Answer all questions in this section)

49. During which phases of the System Development Life Cycle would you
roll out the system to the users? Mark for Review
(1) Points

Transition and Production (*)

Build and Transition

Strategy and Analysis

Design and Production

Incorrect Incorrect. Refer to Section 10 Lesson 1.

50. The data model can be used to... Mark for Review
(1) Points

Communicate and confirm

Describe and specify

Analyze and refine

All of the Above (*)


Correct Correct

Vous aimerez peut-être aussi