Sunteți pe pagina 1din 11

Test: Mid Term Exam Semester 1

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

Semester 1 Mid Term Exam covers Sections 1-10 of Database Design.

Section 6
(Answer all questions in this section)
1. Until all attributes are single-valued, the database model is said to
Mark for Review
be:
(1) Points
Normalized
Not Normalized (*)
1st Normal Form
2nd Normal Form

Incorrect. Refer to Section 6 Lesson 2.


2. An entity without repeated values is said to be on 1st Normal Form.
Mark for Review
True or False?
(1) Points
True (*)
False

Correct
3. All entities must be given a new artificial UID. True or False?
Mark for Review
(1) Points
True
False (*)

Incorrect. Refer to Section 6 Lesson 1.


4. There is no limit to how may UID's an entity can have. True or
Mark for Review
False?
(1) Points
True (*)
False

Incorrect. Refer to Section 6 Lesson 1.


5. The Rule of 3rd Normal Form states that No Non-UID attribute can
Mark for Review
be dependant on another non-UID attribute. True or False?
(1) Points
True (*)
False

Correct
6. 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 no attritibutes are mutually independant and fully
independent on the primary key.
When no attritibutes are mutually independent and all are fully
dependent on the primary key.
None of the Above.

Incorrect. Refer to Section 6 Lesson 3.


7. Any Non-UID must be dependant on the entire UID. True or False?
Mark for Review
(1) Points
True (*)
False

Correct

Section 5
(Answer all questions in this section)
8. If two entities have two relationships between them, these
Mark for Review
relationships can be either _____________ or _____________ ?
(1) Points
Redundant or Required (*)
Replicated or Required
Resourced and Really Good
Redundant and Replicated

Correct
9. Many to many relationships must be left in the Model. It is important
Mark for Review
to have them documented as M-M. True or False?
(1) Points
True
False (*)

Correct
10.What uncommon relationship is described by the statements: "Each
Mark for Review
DNA SAMPLE may be taken from one and only one PERSON and
(1) Points
each PERSON may provide one and only one DNA SAMPLE"
One to Many Optional
One to Many Mandatory
One to One Optional (*)
Many to Many Mandatory

Correct

Section 5
(Answer all questions in this section)
11.Which of the following pairs of entities is most likely to be modeled
Mark for Review
as a M:M relationship?
(1) Points
CAR and WHEEL
TREE and BRANCH
PERSON and FINGERPRINT
TEACHER and SUBJECT AREA (*)

Incorrect. Refer to Section 5 Lesson 2.


12.A Diamond on a relationship indicates the Relationship as Non-
Mark for Review
Tranferrable. True or False?
(1) Points
True (*)
False

Incorrect. Refer to Section 5 Lesson 1.


13.What do you call the entity created when you resolve a M:M
Mark for Review
relationship?
(1) Points
Intersection entity (*)
Inclusion entity
Recursive entity
M:M entity

Correct
14.Intersection Entities often have the relationships participating in the
Mark for Review
UID, so the relationships are often barred. True or False?
(1) Points
True (*)
False

Correct
15.Intersection Entities are at the Master end in the relationships
Mark for Review
between it and the original entities. So the original entities are details
(1) Points
or children of the newly created intersection entity. True or False?
True
False (*)

Incorrect. Refer to Section 5 Lesson 3.

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

Incorrect. Refer to Section 9 Lesson 2.


17.Which of the following is a logical constraint that could result from
Mark for Review
considering how time impacts an example of data storage?
(1) Points
An ASSIGNMENT may only refer to an EMPLOYEE with a
valid employee record at the Start Date of the ASSIGNMENT.
(*)
EMPLOYEE periods can overlap causing the database to crash.
End Date must be before the Start Date.
Dates must be stored with Time.

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

Correct
19.If a system includes the concept of time and it stores Start Dates,
Mark for Review
then End Dates becomes Mandatory. For each Start Date attribute
(1) Points
you create, you MUST create an End Date attribute and it must be
mandatory. True or False?
True
False (*)

Incorrect. Refer to Section 9 Lesson 1.


20.When you add the concept of time to your data model, your model
Mark for Review
becomes more complex. True or False?
(1) Points
True (*)
False

Incorrect. Refer to Section 9 Lesson 1.

Section 3
(Answer all questions in this section)
21.In a business that sells pet food choose the best relationship name
Mark for Review
between FOOD TYPE and ANIMAL (e.g. dog, horse or cat).
(1) Points
(Choose Two)
(Choose all correct answers)
Each FOOD TYPE must be suitable for one or more ANIMALs.
(*)
Each ANIMAL must be the seller of one or more FOOD
TYPES.
Each FOOD TYPE may be made from one or more ANIMALs.
Each FOOD TYPE may be given to one or more ANIMALs. (*)

Incorrect. Refer to Section 3 Lesson 1.


22.Which of the following are valid relationship degrees? (Choose two)
Mark for Review
(1) Points
(Choose all correct answers)
1:1 (*)
1:M (*)
1:O
O:O

Correct
23.The many end of a Relationship is called:
Mark for Review
(1) Points
Gulls Foot
Pigs Ear
Crows Ear
Crows Foot (*)

Correct
24.Matrix Diagrams show Optionality and Degrees of the ERDs they
Mark for Review
document. True or False?
(1) Points
True
False (*)

Incorrect. Refer to Section 3 Lesson 4.


25.When reading a relationship between 2 entities, the relationship is
Mark for Review
read both from left to right and right to left. True or False?
(1) Points
True (*)
False

Correct

Section 4
(Answer all questions in this section)
26.Business rules are important to data modelers. True or False?
Mark for Review
(1) Points
True (*)
False

Correct
27.All instances of the supertype must be an instance of one of the
Mark for Review
subtypes. True or False?
(1) Points
True (*)
False

Correct
28.A Supertype can have only one subtype. True or False?
Mark for Review
(1) Points
True
False (*)
Incorrect. Refer to Section 4 Lesson 1.
29.A supertype can only have two subtypes and no more. True or False?
Mark for Review
(1) Points
True
False (*)

Correct
30.You can only create relationships to a Supertype, not to a Subtype.
Mark for Review
True or False?
(1) Points
True
False (*)

Incorrect. Refer to Section 4 Lesson 1.


Section 10
(Answer all questions in this section)
31.There is no point in trying to group your entities together on your
Mark for Review
diagram according to volume. Making a diagram pretty is a waste of
(1) Points
time. True or False?
True
False (*)

Correct
32.There are formal rules for how to draw ERD's, even though they are
Mark for Review
only guidelines, you should always try to follow them. True or
(1) Points
False?
True (*)
False

Correct
33.Generic models are generally far more complex than a specific
Mark for Review
model. True or False?
(1) Points
True
False (*)

Incorrect. Refer to Section 10 Lesson 2.


34.A datamodel containing generic modeling techniques must not be
Mark for Review
mixed in with non-generic models. The generic entities MUST be
(1) Points
drawn on a diagram of their own. True or False?
True
False (*)

Correct

Section 2
(Answer all questions in this section)
35.Relationship names are usually verbs. True or False?
Mark for Review
(1) Points
True (*)
False

Correct
36.Volatile entities have special requirements and need special attention
Mark for Review
when you are doing data modelling. True or False?
(1) Points
True (*)
False

Correct
37.In a physical data model, a relationship is represented as a?
Mark for Review
(1) Points
Column
Row
Instance
Foreign Key (*)

Correct
38.A/an _________ is a picture of all the information that will form the
Mark for Review
basis for the finished system.
(1) Points
ERD (*)
Process
Table
Attribute

Correct
39.Primary Unique Identifiers: (Choose Two)
Mark for Review
(1) Points
(Choose all correct answers)
Are Required. The data model is not complete until all entities
have a Primary UID. (*)
Distinguish each instance of an entity from all others (*)
Are not required
You may create more than one Primary Unique Identifier for an
entity
Correct
40.Entity and Attribute names are always interchangable, so you need
Mark for Review
not worry about choosing the right type. True or False?
(1) Points
True
False (*)

Incorrect. Refer to Section 2 Lesson 3.

Section 2
(Answer all questions in this section)
41.Documenting Business Requirements helps developers control the
Mark for Review
scope of the systems, so users do not suddenly want the new system
(1) Points
to contain twice as much functionality. True or False?
True (*)
False

Correct

Section 7
(Answer all questions in this section)
42.Which of the following would be good as a Unique Identifier for its
Mark for Review
Entity? (Choose Three)
(1) Points
(Choose all correct answers)
Personal Identification number for Person (*)
Vehicle Registration Number for Car (*)
ISBN Number for Book (*)
Date of birth for Baby

Correct
43.A recursive relationship must Mandatory at both ends. True or
Mark for Review
False?
(1) Points
True
False (*)

Incorrect. Refer to Section 7 Lesson 2.


44.Modeling historical data can produce a unique identifier that always
Mark for Review
excludes dates. True or False?
(1) Points
True
False (*)

Incorrect. Refer to Section 7 Lesson 3.


45.If Audit trail attributes are added to an entity they must be in the
Mark for Review
entities they are auditing. True or False?
(1) Points
True (*)
False

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

Correct
47.All relationships participating in an arc must be mandatory. True or
Mark for Review
False?
(1) Points
True
False (*)

Incorrect. Refer to Section 7 Lesson 1.


48.Primary UIDs are:
Mark for Review
(1) Points
Something that each Entity should have, but is not mandatory (*)
Useful as an alternative means of identifying instances of an
entity, independent of their datatype
Mandatory in data modeling
Always comprised of numbers
Incorrect. Refer to Section 7 Lesson 1.
49.Which of the following is NOT a relationship type?
Mark for Review
(1) Points
Some to None (*)
One to One
One to Many
Many to Many

Correct
50.Arcs are used to visually represent _________ between two or more
Mark for Review
relationships in an ERD.
(1) Points
Sameness
Differences
Exclusivity (*)
Inheritance

Correct