You are on page 1of 10

Test: Database Design Final Exam

Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.

Section 6
(Answer all questions in this section)
1. Any Non-UID attribute must be dependent upon the entire UID. True or False?
Mark for Review
(1) Points
True (*)

False

Correct

2. To resolve a 2nd Normal Form violation, we:


Mark for Review
(1) Points
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 entity with a
relationship to the original entity. (*)
Move the attribute that violates 2nd Normal Form to a new ERD.

Correct

3. Examine the following entity and decide which attribute breaks the 2nd Normal Form
rule: Mark for Review
(1) Points
ENTITY: CLASS
ATTRIBUTES:
#CLASS ID
#TEACHER ID
SUBJECT
TEACHER NAME
CLASS ID

TEACHER ID

TEACHER NAME (*)

SUBJECT

Correct

4. When all attributes are single-valued, the database model is said to conform to:
Mark for Review
(1) Points
1st Normal Form (*)

4th Normal Form

2nd Normal Form

3rd Normal Form

Correct
5. 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)
6. 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 Mark for Review
False? (1) Points

True

False (*)

Correct

7. If an entity has a multi-valued attribute, to conform to the rule of 1st Normal Form
we: Mark for Review
(1) Points
Create an additional entity and relate it to the original entity with a 1:M
relationship. (*)
Create an additional entity and relate it to the original entity with a M:M
relationship.
Do nothing, an entity does not have to be in 1st Normal Form

Make the attribute optional

Correct

8. 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

9. Which of the following would be suitable UIDs for the entity EMPLOYEE: (Choose
Two) Mark for Review
(1) Points
(Choose all correct answers)
Employee ID (*)

Last Name

Address

Social Security Number (*)

Correct
10. The candidate UID that is chosen to identify an entity is called the Primary UID; other
candidate UIDs are called Secondary UIDs. Mark for Review
(1) Points
Yes, this is the way UID's are named. (*)

No, after UIDs are first sorted, the first one is called the Primary UID, the second
is the Secondary UID, etc.
No, each Entity can only have one UID, the secondary one.

No, it is not possible to have more than one UID for an Entity.

Correct

Section 6
(Answer all questions in this section)
11. People are not born with 'numbers', but a lot of systems assign student numbers,
customer IDs, etc. These are known as a/an ______________ UID. Mark for Review
(1) Points
Unrealistic

Artificial (*)

Structured

Identification

Correct

12. 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 Mark for Review
or False? (1) Points

True

False (*)

Correct

13. A transitive dependency exists when any attribute in an entity is dependent on any
other non-UID attribute in that entity. Mark for Review
(1) Points
True (*)

False

Correct

14. 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

Functional dependency

Transitive dependency (*)

Dependency
Correct

15. Examine the following Entity and decide which rule of Normal Form is being violated:
Mark for Review
ENTITY: CLIENT ORDER (1) Points
ATTRIBUTES:
# CLIENT ID
# ORDER ID
FIRST NAME
LAST NAME
ORDER DATE
CITY
ZIP CODE
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 7
(Answer all questions in this section)
21. Which of the following would best be represented by an arc?
Mark for Review
(1) Points
PARENT (Girl, Bob)

TEACHER (Female, Bob)

STUDENT (Grade A student, Average Student)

DELIVERY ADDRESS (Home, Office) (*)

Incorrect. Refer to Section 7 Lesson 1.

22. Arcs are used to visually represent _________ between two or more relationships in
an ERD. Mark for Review
(1) Points
Differences

Exclusivity (*)

Inheritance

Sameness

Correct

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

False

Correct
24. Arcs are Mandatory in Data modeling. All ERD's must have at least one Arc. True or
False? Mark for Review
(1) Points
True

False (*)

Correct

Section 8
(Answer all questions in this section)
25. There is no point in trying to group your entities together on your diagram according
to volume, and making a diagram look nice is a waste of time. True or False? Mark for Review
(1) Points
True

False (*)

Correct

Section 8
(Answer all questions in this section)
26. 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. Mark for Review
True or False? (1) Points

True (*)

False

Correct

27. All systems must have an entity called WEEK with a holiday attribute so that you know
when to give employees a holiday. True or False? Mark for Review
(1) Points
True

False (*)

Correct

28. Conditional non-transferability refers to a relationship that may or may not be


transferable, depending on time. True or False? Mark for Review
(1) Points
True (*)

False

Incorrect. Refer to Section 8 Lesson 2.

29. Historical data must never be kept. True or False?


Mark for Review
(1) Points
True
False (*)

Correct

30. 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)
TEACHER and AGE

BABY and AGE

CUSTOMER and ORDERS (*)

CUSTOMER and PAYMENTS (*)

Correct

Section 8
(Answer all questions in this section)
31. All systems must include functionality to provide logging or journaling in conceptual
data models. True or False? Mark for Review
(1) Points
True

False (*)

Correct

32. Which of the following is a logical constraint that could result from considering how
time impacts an example of data storage? Mark for Review
(1) Points
Dates must be stored with Time.

EMPLOYEE periods can overlap causing the database to crash.

End Date must be before the Start Date.

An ASSIGNMENT may only refer to an EMPLOYEE with a valid employee record at


the Start Date of the ASSIGNMENT. (*)
Correct

Section 9
(Answer all questions in this section)
33. When mapping supertypes, relationships at the supertype level transform as usual.
Relationships at the subtype level are implemented as foreign keys, but the foreign Mark for Review
key columns all become optional. True or False? (1) Points

True (*)

False

Correct

34. The "Arc Implementation" is a synonym for what type of implementation?


Mark for Review
(1) Points
Subtype Implementation

Supertype Implementation

Supertype and Subtype Implementation (*)

Cascade Implementation

Correct

35. 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

Unique key constraints

Intersection table (*)

Incorrect. Refer to Section 9 Lesson 3.

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

The Table Name

The Check Constraint

The Primary Key (*)

Correct

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

False (*)

Correct

38. 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
39. 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

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. In a physical data model, a relationship is represented as a combination of: (Choose
Two) Mark for Review
(1) Points
(Choose all correct answers)
Foreign Key (*)

Column

Primary Key or Unique Key (*)

Check Constraint or Unique Key

Incorrect. Refer to Section 9 Lesson 2.

42. In a physical data model, an attribute becomes a _____________.


Mark for Review
(1) Points
Column (*)

Constraint

Table

Foreign Key

Correct

43. In an Oracle database, why would 1_TABLE not work as a table name?
Mark for Review
(1) Points
Object names must not start with a number. They must begin with a letter. (*)

TABLE is a reserved word.

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

The database does not understand all capital letters.


Correct

44. 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)
A set of columns that uniquely identifies each row in a table (*)

Only one column that cannot be null

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

Incorrect. Refer to Section 9 Lesson 1.

45. 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)
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. (*)

Only one column that must be null. (*)

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

Correct

Section 9
(Answer all questions in this section)
46. 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

Column integrity

User-defined integrity

Entity integrity (*)

Correct

47. A table must have a primary key. True or False?


Mark for Review
(1) Points
True

False (*)

Correct

48. Column integrity refers to


Mark for Review
(1) Points
Columns always containing text data less than 255 characters

Columns always containing positive numbers

Columns always containing values consistent with the defined data format (*)

Columns always having values

Correct

Section 10
(Answer all questions in this section)
49. System Documentation is developed right at the end once the system has gone live
and users have been using it for a little while. You are more likely to get it correct that Mark for Review
way. True or False? (1) Points

True

False (*)

Correct.

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

Build and Transition

Design and Production

Transition and Production (*)

Correct

You might also like