Professional Documents
Culture Documents
7. 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
Do nothing, it is already in 2nd Normal Form.
Delete the attribute STORE ID
Move the attribute STORE LOCATION to a new entity, STORE, with a
UID of STORE ID, and create a relationship to the original entity. (*)
Move the attribute STORE LOCATION to a new entity, STORE, with a
UID of STORE LOCATION, and create a relationship to the original entity.
8. 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
Functional dependency
Non-dependency
Transitive dependency (*)
9. 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.
10. 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 (*)
11. 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
Mark for Review
(1) Points
1st Normal Form.
2nd Normal Form.
3rd Normal Form.
None of the above, the entity is fully normalised. (*)
12. 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
Normalization (*)
Decency
14. 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 (*)
15. An entity can have repeated values and still be in 1st Normal Form.
True or False? Mark for Review
(1) Points
True
False (*)
16. Cascading UIDs are a feature often found in what type of Relationship?
Mark for Review
(1) Points
Invalid Relationship
General Relationship
Heirarchical Relationship (*)
Recursive Relationship
22. Arcs are used to visually represent _________ between two or more
relationships in an ERD. Mark for Review
(1) Points
Sameness
Differences
Exclusivity (*)
Inheritance
23. An arc can often be modeled as Supertype and Subtypes. True or False?
Mark for Review
(1) Points
True (*)
False
Section 8
(Answer all questions in this section)
Section 8
(Answer all questions in this section)
28. 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
30. Formal rules exist for drawing ERD's. You must always follow them,
even if it results in an ERD that is difficult to read. True or False? Mark for
Review
(1) Points
True
False (*)
32. Historical data must never be kept. True or False? Mark for
Review
(1) Points
True
False (*)
Section 9
(Answer all questions in this section)
Section 9
(Answer all questions in this section)
36. A foreign key cannot refer to a primary key in the same table. True or
False? Mark for Review
(1) Points
True
False (*)
40. A barrred Relationship will result in a Foreign Key column that also
is part of: Mark for Review
(1) Points
The Column Name
The Check Constraint
The Table Name
The Primary Key (*)
Section 9
(Answer all questions in this section)
Section 9
(Answer all questions in this section)
47. In an Oracle database, why would 1_TABLE not work as a table name?
Mark for Review
(1) Points
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.
The database does not understand all capital letters.
48. In an Oracle database, why would the following table name not be
allowed 'EMPLOYEE JOBS'? Mark for Review
(1) Points
JOBS is a reserved word
The database does not understand all capital letters
You cannot have spaces between words in a table name (*)
EMPLOYEE is a reserved word
Section 10
(Answer all questions in this section)
49. In which phases of the System Development Life Cycle will we need to
use SQL as a language? (Choose Two) Mark for Review
(1) Points
(Choose all correct answers)
Build and Document (*)
Analysis
Transition (*)
Strategy
50. During which phases of the System Development Life Cycle would you
roll out the system to the users? Mark for Review
(1) Points
Build and Transition
Design and Production
Strategy and Analysis