Sie sind auf Seite 1von 16

1.

Examine the
following
entity and
decide
which
attribute
breaks the
2nd Normal
Form rule:

Mark for Review


(1) Points

ENTITY:
CLASS
ATTRIBUTES
:
#CLASS
ID
#TEACHE
R ID
SUBJECT
TEACHER
NAME

SUBJECT
TEACHER NAME (*)
CLASS ID
TEACHER ID
Incorrect. Refer to Section 6 Lesson 3.
2. To resolve a 2nd Normal Form violation, we:

Mark for
Review
(1) Points

Delete the attribute that was causing the violation.


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.
Do nothing, an entity does not need to be in 2nd Normal
Form.
Correct
3. Examine the following entity and decide which attribute breaks
the 2nd Normal Form rule:
ENTITY: RECEIPT
ATTRIBUTES:
#CUSTOMER ID
#STORE ID
STORE LOCATION
DATE

STORE LOCATION (*)

Mark for
Review
(1) Points

DATE
STORE ID
CUSTOMER ID
Incorrect. Refer to Section 6 Lesson 3.
4. When data is only stored in one place in a database, the
database conforms to the rules of ___________.

Mark for
Review
(1) Points

Multiplication
Normalization (*)
Normality
Reduction
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 (*)
Incorrect. Refer to Section 6 Lesson 2.

6. When data
is stored in
more than
one place in
a database,
the
database
violates the
rules of
___________.

Mark for Review


(1) Points

Normalcy
Replication

Decency
Normalization (*)
Correct
7. Normalizing an Entity to 1st Normal Form is done by removing
any attributes that contain muliple values. True or False?

Mark for
Review
(1) Points

True (*)
False
Correct
8. A UID can be made up from the following: (Choose Two)

Mark for
Review
(1) Points

(Choose all correct answers)


Synonyms
Entities
Relationships (*)
Attributes (*)
Correct
9. 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

Structured
Unrealistic
Identification
Artificial (*)
Correct
10. 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

11. An
entity
could
have
more
than
one
attribut
e that
would
be a
suitabl
e
Primar
y UID.
True or
False?

Mark for Review


(1) Points

True (*)
False
Correct
12. 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.
3rd Normal Form.

Mark for
Review
(1) Points

None of the above, the entity is fully normalised. (*)


Correct
13. 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
14. Examine the following Entity and decide which rule of Normal Form
is being violated:

Mark for
Review
(1) Points

ENTITY: CLIENT
ATTRIBUTES:
# CLIENT ID
FIRST NAME
LAST NAME
ORDER ID
STREET
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.
15. 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

TRAIN ID, MAKE


DRIVER ID, DRIVER NAME (*)
MAKE, DATE OF MANUFACTURE
None of the above, the entity is already in 3rd Normal Form.
Incorrect. Refer to Section 6 Lesson 4.

Mark for
Review
(1) Points

16. Arcs are


Mandato
ry in
Data
modeling
. All
ERD's
must
have at
least one
Arc. True
or False?

Mark for Review


(1) Points

True
False (*)
Correct
17. To visually represent exclusivity between two or more
relationships in an ERD you would most likely use an ________.

Mark for
Review
(1) Points

Arc (*)
Relationship
Attribute
UID
Correct
18. Which of the following would best be represented by an arc?

Mark for
Review
(1) Points

STUDENT ( University, Technical College) (*)

STUDENT (senior, male)


STUDENT (graduating, female)
STUDENT (Grade A student, Average Student)
Correct
19. Which of the following would best be represented by an arc?

Mark for
Review
(1) Points

STUDENT (Grade A student, Average Student)


TEACHER (Female, Bob)
DELIVERY ADDRESS (Home, Office) (*)
PARENT (Girl, Bob)
Correct
20. A recursive relationship must be Mandatory at both ends. True or
False?

Mark for
Review
(1) Points

True
False (*)
Incorrect. Refer to Section 7 Lesson 2.

Section 7
(Answer all questions in this section)
21. A single relationship can be both Recursive and Hierarchical at the same
time. True or False?

Mark for
Review
(1) Points

True
False (*)
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 relationship between an entity and itself is called a/an:

Mark for
Review
(1) Points

Heirarchical Relationship
General Relationship
Recursive Relationship (*)
Invalid Relationship
Correct
24. 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 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 (*)
Incorrect. Refer to Section 8 Lesson 4.

Section 8
(Answer all questions in this section)
26. Which of the following statements are true to enhance the readability of
ERDs? (Choose Two)

Mark for
Review
(1) Points

(Choose all correct answers)


Crossing relationship lines help the readability of the diagram.
Crows feet (the many-ends of relationships) should consistently
point the same direction where possible, either South & East or
North & West (*)
Relationship lines should not cross. (*)
It does not matter which way the crows feet (many ends of a
relationship) point.
Correct
27. If you have an entity that a DATE attribute, and other attributes that
track characteristics of the date, you should create a DAY entity. True or
False?

Mark for
Review
(1) Points

True (*)
False
Correct
28. Modeling historical data is optional. True or False?

Mark for
Review
(1) Points

True (*)
False
Correct
29. Historical data should always be kept. True or False?

Mark for

Review
(1) Points
True
False (*)
Incorrect. Refer to Section 8 Lesson 1.
30. Historical data must never be kept. True or False?

Mark for
Review
(1) Points

True
False (*)
Correct

31. Which of
the
following
is a
logical
constrain
t that
could
result
from
consideri
ng how
time
impacts
an
example
of data
storage?

Mark for Review


(1) Points

End Date must be before the Start Date.


Dates must be stored with Time.
EMPLOYEE periods can overlap causing the database to
crash.

An ASSIGNMENT may only refer to an EMPLOYEE with a valid


employee record at the Start Date of the ASSIGNMENT. (*)
Correct
32. What is the function of logging or journaling in conceptual data
models?

Mark for
Review
(1) Points

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.
Gives a timestamp to all entities.
Represents entities as time in the data model.
Correct

Section 9
(Answer all questions in this section)
33. 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 set of columns in one table that uniquely identifies each
row in another table. (*)
One or more columns in a table that uniquely identifies each
row in that table.
A single column that uniquely identifies each column in a
table. (*)
Incorrect. Refer to Section 9 Lesson 1.
34. Foreign keys must be null. True or False?

Mark for
Review
(1) Points

True
False (*)
Correct
35. Column integrity refers to

Mark for

Review
(1) Points
Columns always containing text data less than 255
characters
Columns always containing values consistent with the
defined data format (*)
Columns always having values
Columns always containing positive numbers
Correct

36. A
foreig
n key
alway
s
refers
to a
primar
y key
in the
same
table.
True
or
False?

Mark for Review


(1) Points

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

Entity integrity (*)


Referential integrity
Column integrity
User-defined integrity
Incorrect. Refer to Section 9 Lesson 1.

38. When mapping supertypes, relationships at the supertype level


transform as usual. Relationships at subtype level are implemented
as foreign keys, but the foreign key columns all become mandatory.
True or False?

Mark for
Review
(1) Points

True
False (*)
Correct
39. Which of the following is a valid reason for considering a Subtype
Implementation?

Mark for
Review
(1) Points

The resulting table will reside in a single database and be used


by just ONE user.
Most of the relationships are at the supertype level.
The common access paths for the supertypes are different.
Business functionality, business rules, access paths, and
frequency of access are all very different between the subtypes.
(*)
Correct
40. 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.
Object names must not start with a number. They must begin
with a letter. (*)
TABLE is a reserved word.
Correct

Section 9
(Answer all questions in this section)

41. Why would this table name NOT work in an Oracle database?
this_year_end+next_year

Mark for
Review
(1) Points

Table names must begin with an alphabetic character.


It is too long.
The Plus sign + is not allowed in object names. (*)
None of the above.
Correct
42. The transformation from an ER diagram to a physical design involves
changing terminology. Entities in the ER diagram become __________ :

Mark for
Review
(1) Points

Foreign Keys
Tables (*)
Columns
Unique Keys
Correct
43. 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 (*)


JOBS is a reserved word
The database does not understand all capital letters
EMPLOYEE is a reserved word
Correct
44. 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

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

Section 9
(Answer all questions in this section)
46. When an Arc is transformed to the physical model every relationship in
the Arc becomes a mandatory Foreign Key. True or False?

Mark for
Review
(1) Points

True
False (*)
Incorrect. Refer to Section 9 Lesson 3.
47. Relationships on an ERD can only be transformed into UIDs in the
physical model? True or False?

Mark for
Review
(1) Points

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

Section 10
(Answer all questions in this section)
49. In the Analysis phase, the tables are created and populated with test
data. True or False?

Mark for
Review
(1) Points

True
False (*)
Correct.
50. During which phases of the System Development Life Cycle would you
test the system before rolling it out to the users?

Mark for
Review
(1) Points

Transition and Production (*)


Build and Transition
Design and Production
Strategy and Analysis
Incorrect. Refer to Section 10 Lesson 1