You are on page 1of 14

Section 6

(Answer all questions in this section)


1. What is the rule of Second Normal Form?

Mark for
Review
(1) Points

No non-UID attributes can be dependent on any part of the UID.


Some non-UID attributes can be dependent on the entire UID.
All non-UID attributes must be dependent upon the entire UID. (*)
None of the above
Correct
2. 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

Move the attribute STORE LOCATION to a new entity, STORE, with a UID
of STORE ID, and create a relationship to the original entity. (*)
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.
Correct
3. To resolve a 2nd Normal Form violation, we:

Mark for
Review
(1) Points

Move the attribute that violates 2nd Normal Form to a new entity with a
relationship to the original entity. (*)
Delete the attribute that was causing the violation.
Do nothing, an entity does not need to be in 2nd Normal Form.
Move the attribute that violates 2nd Normal Form to a new ERD.
Correct

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

Non-dependency
Dependency
Transitive dependency (*)
Functional dependency
Correct
5. 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. Refer to Section 6 Lesson 4.
Section 6
(Answer all questions in this section)
6. Examine the following Entity and decide which rule of Normal Form is being
violated:
ENTITY: CLIENT
ATTRIBUTES:
# CLIENT ID
FIRST NAME
LAST NAME
STREET
CITY
ZIP CODE

1st Normal Form.


2nd Normal Form.

Mark for
Review
(1) Points

3rd Normal Form.


None of the above, the entity is fully normalised. (*)
Correct
7. 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
8. When data is stored in more than one place in a database, the database
violates the rules of ___________.

Mark for
Review
(1) Points

Decency
Normalization (*)
Normalcy
Replication
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
10. An entity can have repeated values and still be in 1st Normal Form. True or
False?

Mark for
Review
(1) Points

True
False (*)
Correct
Section 6
(Answer all questions in this section)
11. 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 (*)
Incorrect. Refer to Section 6 Lesson 2.
12. A unique identifier can only be made up of one attribute. True or False?

Mark for
Review
(1) Points

True
False (*)
Correct
13. Where an entity has more than one attribute suitable to be the Primary UID,
these are known as _____________ UIDs.

Mark for
Review
(1) Points

Simple
Candidate (*)
Secondary
Composite

Correct
14. 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
15. An entity could have more than one attribute that would be a suitable
Primary UID. True or False?

Mark for
Review
(1) Points

True (*)
False
Correct
Section 7
(Answer all questions in this section)
16. Arcs model an Exclusive OR constraint. True or False?

Mark for
Review
(1) Points

True (*)
False
Correct
17. An arc can often be modeled as Supertype and Subtypes. True or False?

Mark for
Review
(1) Points

True (*)
False
Correct

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

Mark for
Review
(1) Points

STUDENT (senior, male)


STUDENT (Grade A student, Average Student)
STUDENT (graduating, female)
STUDENT ( University, Technical College) (*)
Incorrect. Refer to Section 7 Lesson 1.
19. Arcs are used to visually represent _________ between two or more
relationships in an ERD.

Mark for
Review
(1) Points

Inheritance
Sameness
Exclusivity (*)
Differences
Correct
20. 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
Section 7
(Answer all questions in this section)
21. A Recursive Relationship is represented on an ERD by a/an:

Mark for
Review
(1) Points

Dog's Tail
Single Toe
Crow's Foot

Pig's Ear (*)


Correct
22. Business organizational charts are often modeled as a Hierarchical
relationship. True or False?

Mark for
Review
(1) Points

True (*)
False
Correct
23. A recursive relationship must be Mandatory at both ends. True or False?

Mark for
Review
(1) Points

True
False (*)
Correct
24. A single relationship can be both Recursive and Hierarchical at the same
time. True or False?

Mark for
Review
(1) Points

True
False (*)
Correct

Section 8
(Answer all questions in this section)
25. Historical data should always be kept. True or False?

Mark for
Review
(1) Points

True
False (*)

Correct
Section 8
(Answer all questions in this section)
26. When modeling historical data the unique identifier is always made up of a
barred relationship from the original two entities. True or False?

Mark for
Review
(1) Points

True
False (*)
Incorrect. Refer to Section 8 Lesson 1.
27. Modeling historical data is optional. True or False?

Mark for
Review
(1) Points

True (*)
False
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
29. What is the function of logging or journaling in conceptual data models?

Mark for
Review
(1) Points

Represents entities as time in the data model.


Gives a timestamp to all entities.
Allows you to track the history of attribute values, relationships, and/or
entire entities (*)

Creates a fixed time for all events in a data model.


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
Section 8
(Answer all questions in this section)
31. 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
32. You must make sure all entities of a proposed system can fit onto one
diagram. It is not allowed to break up a data model into more than one
diagram. True or False?

Mark for
Review
(1) Points

True
False (*)
Correct

Section 9
(Answer all questions in this section)
33. An "Arc Implementation" can be done just like any other Relationship - you
simply add the required Foreign Keys. True or False?

Mark for

Review
(1) Points
True
False (*)
Incorrect. Refer to Section 9 Lesson 4.
34. 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
35. The explanation below is an example of which constraint type?
A primary key must be unique, and no part of the primary key can be null.

Mark for
Review
(1) Points

Referential integrity
User-defined integrity
Column integrity
Entity integrity (*)
Correct
Section 9
(Answer all questions in this section)
36. 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)


Only one column that must be null. (*)
A single column that uniquely identifies each column in a table. (*)

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


that table.
A set of columns in one table that uniquely identifies each row in
another table. (*)
Correct
37. The explanation below is an example of which constraint type?
The value in the dept_no column of the EMPLOYEES table must match a
value in the dept_no column in the DEPARTMENTS table.

Mark for
Review
(1) Points

Referential integrity (*)


Entity integrity
Column integrity
User-defined integrity
Correct
38. The explanation below is an example of which constraint type?
If the value in the balance column of the ACCOUNTS table is below 100, we
must send a letter to the account owner which will require extra
programming to enforce.

Mark for
Review
(1) Points

Column integrity
Entity integrity
User-defined integrity (*)
Referential integrity
Correct
39. Foreign keys cannot be null when

Mark for
Review
(1) Points

It refers to another table


It contains three or more columns
It is part of a primary key (*)
It refers to the same table
Incorrect. Refer to Section 9 Lesson 1.
40. Attributes become columns in a database table. True or False?

Mark for

Review
(1) Points
True (*)
False
Correct
Section 9
(Answer all questions in this section)
41. The Physical model is created by transforming which of the following
models?

Mark for
Review
(1) Points

Table
Physical
Conceptual (*)
Constraint
Correct
42. In a physical data model, a relationship is represented as a:

Mark for
Review
(1) Points

Unique Identifier
Column
Foreign Key (*)
Primary Key
Correct
43. In an Oracle database, why would 1_TABLE not work as a table name?

Mark for
Review
(1) Points

TABLE is a reserved word.


Object names must not start with a number. They must begin with a
letter. (*)
The database does not understand all capital letters.
There is no problem here. You can create a table called 1_TABLE.

Correct
44. 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 (*)
Incorrect. Refer to Section 9 Lesson 3.
45. The Oracle Database can implement a many to many relationship. You
simply create two foreign keys between the two tables. True or False?

Mark for
Review
(1) Points

True
False (*)
Correct
ection 9
(Answer all questions in this section)
46. To resolve a many to many relationship in a physical model you create a(n)
___________________?

Mark for
Review
(1) Points

Two tables with Foreign key constraints between them


Intersection entity
Intersection table (*)
Unique key constraints
Correct
47. A barrred Relationship will result in a Foreign Key column that also is part
of:

Mark for
Review
(1) Points

The Column Name


The Primary Key (*)
The Table Name

The Check Constraint


Incorrect. Refer to Section 9 Lesson 3.
48. One-to-Many Optional to Mandatory becomes a _______________ on the
Master table.

Mark for
Review
(1) Points

Optional Foreign Key (*)


Unique Key
Primary Key
Mandatory Foreign Key
Incorrect. Refer to Section 9 Lesson 3.

Section 10
(Answer all questions in this section)
49. Systems are always just rolled out as soon as the programming phase is
finished. No further work is required once the development is finished. True
or False?

Mark for
Review
(1) Points

True
False (*)
Correct.
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