You are on page 1of 37

Section 1 Quiz

(Answer all questions in this section)

1. A specialized type of software, which controls and manages the hardware in a


computer system. Mark for Review
(1) Points
Operating System (*)
Hardware
Software
Client

2. Personal computers (PCs) have been in existence since 1950. True or False? Mark
for Review
(1) Points
True
False (*)

3. The overall mission of the Oracle Corporation is to use the internet and fast processing
servers to build its own network. Mark for Review
(1) Points
True
False (*)

4. Users could directly interact with which of the following software to access essential
business applications? (Choose three) Mark for Review
(1) Points
(Choose all correct answers)
GUI software (*)
Internet Browser software (*)
Operating System software (*)
Server software

5. Software cannot operate without Hardware. True or False? Mark for Review
(1) Points
True (*)
False

6. Consider your school library. It will have a database with transaction details of the
books that are borrowed by students. Is the total number of books out on loan in one given
month considered Data or Information? Mark for Review
(1) Points
Data
Information (*)
Both
Neither

7. Information which was gained from data is the same as: (Choose Two) Mark for
Review
(1) Points
(Choose all correct answers)
Intelligence (*)
There is no difference between data and information.
Raw Materials
Knowledge (*)

8. Consider your school library. It will have a database with transaction details of the
books that are borrowed by students. Is a detail of one student borrowing one book considered
Data or Information? Mark for Review
(1) Points
Data (*)
Information
Both
Neither

9. Databases are used in most countries and by most governments. Life, as we know it,
would change drastically if we no longer had access to databases. True or False? Mark for
Review
(1) Points
True (*)
False

10. The work of E.F. Codd in the early 1970s led to the development of Relational
databases. True or False? Mark for Review
(1) Points
True (*)
False

11. SQL became the most commonly used query language in the 1980s. True or
False? Mark for Review
(1) Points
True (*)
False

12. Which of the following represents the correct sequence of steps in the Database
Development Process? Mark for Review
(1) Points
Design, Build, Analyze
Analyze, Build, Design
Analyze, Design, Build (*)
Build, Analyze, Design

13. The market for IT professionals is still increasing and will continue to do so in the
future as the world gets ever more dependent on computer systems. True or False? Mark
for Review
(1) Points
True (*)
False

14. The main subject areas taught by the Oracle Academy are: Mark for Review
(1) Points
Systems programming and computer architecture
Database performance tuning
Computer Repairs
Data Modeling, SQL, and PL/SQL (*)

15. The demand for Information Technology professionals in today's market is increasing.
True or False? Mark for Review
(1) Points
True (*)
False

Section 2 Quiz
(Answer all questions in this section)

1. An Entity Relationship model is independent of the hardware or software used for


implementation. True or False? Mark for Review
(1) Points
True (*)
False

2. A well structured ERD will show only some parts of the finished data model. You should
never try to model the entire system in one diagram, no matter how small the diagram might
be. True or False? Mark for Review
(1) Points
True
False (*)

3. The purpose of an ERD is to document the proposed system and facilitate discussion and
understanding of the requirements captured by the developer. True or False? Mark for
Review
(1) Points
True (*)
False

4. Documenting Business Requirements helps developers control the scope of the system and
prevents users from claiming that the new system does not meet their business requirements.
True or False? Mark for Review
(1) Points
True (*)
False

5. A Conceptual Model is not concerned with how the Physical Model will be implemented.
True or False? Mark for Review
(1) Points
True (*)
False

6. Data modeling is performed for the following reasons: (Choose Two) Mark for
Review
(1) Points
(Choose all correct answers)
It helps discussions and reviews. (*)
The ERD becomes a blueprint for designing the actual system. (*)
We draw an ERD solely to please the users; once completed, the ERD is never referred to
again as it serves no purpose in the real world.
We do not need datamodels; we can just start coding right away.

7. Data modeling is performed for the following reasons: (Choose Two) Mark for
Review
(1) Points
(Choose all correct answers)

We draw an ERD solely to please the users; once completed, the ERD is never referred to
again as it serves no purpose in the real world.

It helps discussions and reviews. (*)


The ERD becomes a blueprint for designing the actual system. (*)
We do not need datamodels; we can just start coding right away.

8. Which of the following entities most likely contains valid attributes? (Choose
two) Mark for Review
(1) Points
(Choose all correct answers)
Entity: Home. Attributes: Number of Bedrooms, Owner, Address, Date Built (*)
Entity: Pet. Attributes: Name, Birthdate, Owner (*)
Entity: Car. Attributes: Owner Occupation, Owner Salary, Speed
Entity: Mother. Attributes: Name, Birthdate, Occupation, Start Date

9. Which of the following are examples of ENTITY: Instance ? (Choose Two) Mark for
Review
(1) Points
(Choose all correct answers)
ANIMAL: Dog (*)
MEAT PRODUCT: Lettuce
BODY PART: Larry Ellison
TRANSPORTATION METHOD: Car (*)

10. Unique Identifiers: Mark for Review


(1) Points
Distinguish one instance of an entity from all other instances of that entity (*)
Distinguish all entities in a database
Distinguish one entity from another
Distinguish nothing

11. Which of the following statements about Entities are true? Mark for Review
(1) Points
(Choose all correct answers)
"Something" of significance to the business about which data must be known. (*)
They never have Instances
They are usually a noun. (*)
A name for a set of similar "things" (*)

12. In the following statements, find two good examples of ENTITY: Instance. (Choose
Two) Mark for Review
(1) Points
(Choose all correct answers)
VEGETABLE: grows
BOOK: Biography of Mahatma Gandhi (*)
TRAIN: runs
DAIRY PRODUCT: milk (*)

13. A/an _________ is a piece of information that in some way describes an entity. It is a
property of the entity and it quantifies, qualifies, classifies, or specifies the entity. Mark for
Review
(1) Points
Table
ERD
Process
Attribute (*)
14. The word "Volatile" means: Mark for Review
(1) Points
Limited quantity
Changing constantly; unstable (*)
Large quantity
Static; unlikely to change

15. Entities are usually verbs. True or False? Mark for Review
(1) Points
True
False (*)

Section 3 Quiz
(Answer all questions in this section)
1. What are the three properties that every relationship should have? Mark for
Review
(1) Points
Name, optionality, cardinality (*)
A UID bar, a diamond, an arc
Name, optionality, arcs
Transferability, degree, name

2. Relationships can be either mandatory or optional. True or False? Mark for


Review
(1) Points
True (*)
False

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

4. One Relationship can be mandatory in one direction and optional in the other
direction. True or False? Mark for Review
(1) Points
True (*)
False

5. Which of the following are used to show Cardinality on an ERD? (Choose two) Mark
for Review
(1) Points
(Choose all correct answers)
Crow's foot. (*)
Solid line.
Single toe. (*)
Dashed line.

6. Which of the following are true about Cardinality? (Choose two) Mark for
Review
(1) Points
(Choose all correct answers)
Cardinality tells "how many". (*)
Cardinality specifies a counting number (like 1, 2, 3, 4 etc.) in a relationship.
Cardinality specifies whether something is required or not.
Cardinality specifies only singularity or plurality, but not a specific plural number. (*)

7. Which symbol is used to show that a particular attribute is mandatory? Mark for
Review
(1) Points
&
#
o
* (*)

8. Entity boxes are drawn as Mark for Review


(1) Points
Soft Boxes (*)
Hard Boxes
Normal Circles
Bold Circles

9. ERDish describes a relationship in words. True or False? Mark for Review


(1) Points
True (*)
False

10. Which of the following are used to show a relationship on an ERD? (Choose
Three) Mark for Review
(1) Points
(Choose all correct answers)
Dashed line. (*)
Crow's foot. (*)
Solid line. (*)
# symbol.

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

12. Relationship names are not shown on an ERD. True or False? Mark for Review
(1) Points
True
False (*)

13. Matrix Diagrams show Optionality and Cardinality of the ERDs they document. True or
False? Mark for Review
(1) Points
True
False (*)
14. Matrix Diagrams are developed BEFORE the ERD. True or False? Mark for
Review
(1) Points
True (*)
False

15. Matrix Diagrams are used to verify that all relationships have been identified for an
ERD. True or False? Mark for Review
(1) Points
True (*)
False

Midterm Exam Database Design Oracle


Section 1
(Answer all questions in this section)
1. The main subject areas taught by the Oracle Academy are: Mark for Review
(1) Points
Data Modeling, SQL, and PL/SQL (*)
Computer Repairs
Database performance tuning
Systems programming and computer architecture

2. What is the difference between "information" and "data"? Mark for Review
(1) Points
Data turns into useful information. It is stored in a database and accessed by systems
and users. (*)

Information and data have no differences - they are two words for the same thing.
Information is held and understood only by users.
Data is held and understood only by users.

3. Consider your school library. It will have a database with transaction details of the books
that are borrowed by students. Is the total number of books out on loan in one given month
considered Data or Information? Mark for Review
(1) Points
Data
Information (*)
Both
Neither

4. Changes in computing have affected many of our day-to-day activities. Are all of the
following activities examples of this change? Yes or No?
In the past you used to use the phone system to call directory assistance to get a phone
number. Today you can use your PC to look up a phone number online.

In the past you used to have to go to the shoe store to buy shoes. Today you can use your PC to
order shoes online.

In the past you had to use your PC to send a person an email. Today you can use your phone to
send a text message.

Mark for Review


(1) Points
Yes (*)
No

5. The overall mission of the Oracle Corporation is to use the internet and fast processing
servers to build its own network. Mark for Review
(1) Points
True
False (*)

6. In the grid computing model, resources are pooled together for efficiency. True or
False? Mark for Review
(1) Points
True (*)
False

7. Personal computers (PCs) have been in existence since 1950. True or False? Mark for
Review
(1) Points
True
False (*)

8. Entities are transformed into Tables during the Database Design process. True or
False? Mark for Review
(1) Points
True (*)
False
9. Databases are used in most countries and by most governments. Life, as we know it,
would change drastically if we no longer had access to databases. True or False? Mark for
Review
(1) Points
True (*)
False

10. Oracle was one of the first relational database systems available commercially. True or
False? Mark for Review
(1) Points
True (*)
False

Section 2
(Answer all questions in this section)

11. Data models show users the data that their Physical Model will contain. True or
False? Mark for Review
(1) Points
True (*)
False

12. Data models are drawn to show users the actual Data that their new system will contain;
only Data listed on the Diagram can be entered into the Database. True or False? Mark for
Review
(1) Points
True (*)
False

13. An ERD is an example of a Physical Model. True or False? Mark for Review
(1) Points
True
False (*)

14. Documenting Business Requirements helps developers control the scope of the system
and prevents users from claiming that the new system does not meet their business
requirements. True or False? Mark for Review
(1) Points
True (*)
False

15. Which of the following attributes is suitable to be a Unique Identifier? Mark for
Review
(1) Points
Address
Last name
First name
Social Security Number (*)

16. In the following statements, find two good examples of ENTITY: Instance. (Choose
Two) Mark for Review
(1) Points
(Choose all correct answers)
BOOK: Biography of Mahatma Gandhi (*)
VEGETABLE: grows
TRAIN: runs
DAIRY PRODUCT: milk (*)

17. Which of the following is an example of a volatile attribute? Mark for Review
(1) Points
Hire Date
Name
Date of Birth
Age (*)

18. Which of the following entities most likely contains valid attributes? (Choose
two) Mark for Review
(1) Points
(Choose all correct answers)
Entity: Home. Attributes: Number of Bedrooms, Owner, Address, Date Built (*)
Entity: Pet. Attributes: Name, Birthdate, Owner (*)
Entity: Car. Attributes: Owner Occupation, Owner Salary, Speed
Entity: Mother. Attributes: Name, Birthdate, Occupation, Start Date

19. All of the following could be attributes of an ENTITY called PERSON, except which
one? Mark for Review
(1) Points
Gender
Natacha Hansen (*)
Weight
Haircolor

20. Which of the following are examples of ENTITY: Instance ? (Choose Two) Mark for
Review
(1) Points
(Choose all correct answers)
MEAT PRODUCT: Lettuce
TRANSPORTATION METHOD: Car (*)
BODY PART: Larry Ellison
ANIMAL: Dog (*)

21. An Entity Relationship model is independent of the hardware or software used for
implementation. True or False? Mark for Review
(1) Points
True (*)
False

22. Which of the following statements are true about ERD's? (Choose Two) Mark for
Review
(1) Points
(Choose all correct answers)
You should not model derivable data. (*)
A piece of information can be shown multiple times on an ERD.
A piece of information should only be found in one place on an ERD. (*)
All data must be represented on the ERD, including derived summaries and the result of
calculations.

23. Which of the following can be found in an ERD? (Choose Two) Mark for Review
(1) Points
(Choose all correct answers)
Attributes. (*)
Instances.
Entities. (*)
Tables.

Section 3
(Answer all questions in this section)

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

25. Relationship names are not shown on an ERD. True or False? Mark for Review
(1) Points
True
False (*)

26. Which symbol is used to show that a particular attribute is mandatory? Mark for
Review
(1) Points
o
* (*)
#
&

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

28. Matrix Diagrams are developed BEFORE the ERD. True or False? Mark for Review
(1) Points
True (*)
False

29. What are the three properties that every relationship should have? Mark for Review
(1) Points
Transferability, degree, name
Name, optionality, cardinality (*)
Name, optionality, arcs
A UID bar, a diamond, an arc

30. Which of the following are used to show Cardinality on an ERD? (Choose two) Mark
for Review
(1) Points
(Choose all correct answers)
Dashed line.
Single toe. (*)
Crow's foot. (*)
Solid line.

Section 3
(Answer all questions in this section)

31. Relationship Cardinality is important. True or False? Mark for Review


(1) Points
True (*)
False

Section 4
(Answer all questions in this section)

32. Why is it important to identify and document business rules? Mark for Review
(1) Points
It allows you to create a complete data model and then check it for accuracy. (*)
It allows you to improve the client's business.
It ensures that the data model will automate all manual processes.
None of the above

33. Why is it important to identify and document structural rules? Mark for Review
(1) Points
Ensures we know what data to store and how that data works together. (*)
Ensures nothing. There are no benefits to be gained from documenting your Structural
Business Rules. We need to concentrate on the Procedural Business Rules only.
Ensures we know what processes are in place and how to program them.
All of the Above.

34. How should you handle constraints that cannot be modeled on an ER


diagram? Mark for Review
(1) Points
Explain them to the users so they can enforce them
Always let the network architect handle them
List them on a separate document to be handled programmatically (*)
All constraints must be modeled and shown on the ER diagram

35. A new system would have a mixture of both Procedural and Structural Business Rules as
part of the documentation of that new system. True or False? Mark for Review
(1) Points
True (*)
False

36. All ER diagrams must have one of each of the following: (Choose two) Mark for
Review
(1) Points
(Choose all correct answers)
At least one supertype and subtype
One or more Entities (*)
Relationships between entities (*)
Arcs

37. A subtype is drawn on an ERD as an entity inside the "softbox" of the supertype. True or
False? Mark for Review
(1) Points
True (*)
False
38. A subtype is shown on an ERD as an entity with a one to many relationship to the
supertype. True or False? Mark for Review
(1) Points
True
False (*)

39. A subtype can have a relationship not shared by the supertype. True or
False? Mark for Review
(1) Points
True (*)
False

40. All instances of a subtype may be an instance of the supertype but does not have to.
True or False? Mark for Review
(1) Points
True
False (*)

Section 5
(Answer all questions in this section)

41. If the same relationship is represented twice in an Entity Relationship Model, it is said to
be: Mark for Review
(1) Points
Removable
Resourceful
Redundant (*)
Replicated

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

43. If two entities have two relationships between them, these relationships can be either
_____________ or _____________ . Mark for Review
(1) Points
Redundant or Required (*)
Replicated or Required
Resourced and Really Good
Redundant and Replicated

44. Which of the following pairs of entities is most likely to be modeled as a M:M
relationship? Mark for Review
(1) Points
TREE and BRANCH
PERSON and FINGERPRINT
TEACHER and SUBJECT AREA (*)
CAR and WHEEL

45. When you resolve a M:M by creating an intersection entity, this new entity will always
inherit: Mark for Review
(1) Points
The UID's from the entities in the original M:M.
The attributes of both related entities.
A relationship to each entity from the original M:M. (*)
Nothing is inherited from the original entities and relationship.

46. When you resolve a M:M, you simply re-draw the relationships between the two original
entities; no new entities are created. True or False? Mark for Review
(1) Points
True
False (*)

47. If an intersection entity is formed that contains no attributes of its own, its uniqueness
may be modeled by Mark for Review
(1) Points
Creating new attributes.
Barring the relationships to the original entities. (*)
Placing the UID attributes from the original entities into the intersection entity.
None of the above.

48. If a relationship can NOT be moved between instances of the entities it connects, it is
said to be: Mark for Review
(1) Points
Mandatory
Transferable
Optional
Non-Transferable (*)

49. A non-transferable relationship means the relationship is manatory at both sides. True
or False? Mark for Review
(1) Points
True
False (*)

50. A non-transferable relationship is represented by which of the following symbols? Mark


for Review
(1) Points
Circle
Triangle
Heart

Diamond (*)

Section 4 and 5 Quiz


(Answer all questions in this section)
1. A business rule such as "All accounts must be paid in full within 10 days of billing" is best
enforced by: Mark for Review
(1) Points

Creating a message to be printed on every bill that reminds the customer to pay within
ten days.
Making the relationship between CUSTOMER and PAYMENT fully mandatory and 1:1 on
both sides.

Creating additional programming code to identify and report accounts past due. (*)

Making the payment attribute mandatory.

2. A business rule such as "We only ship goods after customers have completely paid any
outstanding balances on their account" is best enforced by: Mark for Review
(1) Points

Creating additional programming code to verify no goods are shipped until the account
has been settled in full. (*)
Making the payment attribute null.
We need to trust our customers, and we know they will pay some day.
Making the payment attribute optional.

3. How should you handle constraints that cannot be modeled on an ER diagram? Mark for
Review
(1) Points
Always let the network architect handle them
Explain them to the users so they can enforce them
All constraints must be modeled and shown on the ER diagram
List them on a separate document to be handled programmatically (*)

4. Which of the following is an example of a structural business rule? Mark for Review
(1) Points
All employees must belong to at least one department. (*)
All products will have a selling price no less than 30 % greater than wholesale.
All overdue payments will have an added 10 % late fee.
Buildings to be purchased by the business must be current with earthquake building
code.

5. Can all constraints be modeled on an ER diagram? Mark for Review


(1) Points

No, and those that cannot be modeled should be listed on a separate document to be
handled programmatically (*)

No, in which case you should let the database administrator handle them
Yes, all constraints must be modeled and shown on the ER diagram
No, but you just explain them to the users so they can enforce them
6. Why is it important to identify and document business rules? Mark for Review
(1) Points
It allows you to create a complete data model and then check it for accuracy. (*)
It allows you to improve the client's business.
It ensures that the data model will automate all manual processes.
None of the above
7. If a relationship can NOT be moved between instances of the entities it connects, it is
said to be: Mark for Review
(1) Points
Mandatory
Non-Transferable (*)
Optional
Transferable

8. Every ERD must have at least one non-transferable relationship. True or False? Mark
for Review
(1) Points
True
False (*)

9. Non-transferable relationships can only be mandatory, not optional. True or


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

10. Which of the following is an example of a non-transferable relationship Mark for


Review
(1) Points
PERSON to BIRTH PLACE (*)
EMPLOYEE to DEPARTMENT
TEACHER to SCHOOL
STUDENT to COURSE

11. When you resolve a M:M by creating an intersection entity, this new entity will always
inherit: Mark for Review
(1) Points
The attributes of both related entities.
The UID's from the entities in the original M:M.
Nothing is inherited from the original entities and relationship.
A relationship to each entity from the original M:M. (*)

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

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

14. When you resolve a M:M, you simply re-draw the relationships between the two original
entities; no new entities are created. True or False? Mark for Review
(1) Points
True
False (*)

15. A relationship on an ERD can have attributes. True or False? Mark for Review
(1) Points
True
False (*)

Section 6 Quiz 1
(Answer all questions in this section)

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

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

3. 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
Functional dependency
Dependency
Transitive dependency (*)
Non-dependency

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

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

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

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

Make the attribute optional


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

8. When data is only stored in one place in a database, the database conforms to the rules
of ___________. Mark for Review
(1) Points
Reduction
Normality
Multiplication
Normalization (*)

9. There is no limit to how many columns can make up an entity's UID. True or False? Mark
for Review
(1) Points
True (*)
False

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

11. A unique identifier can only be made up of one attribute. True or False? Mark for
Review
(1) Points
True
False (*)

12. An entity can only have one Primary UID. True or False? Mark for Review
(1) Points
True (*)
False

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

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.
Delete the attribute that was causing the violation.
14. 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.

15. Any Non-UID attribute must be dependent upon the entire UID. True or False? Mark
for Review
(1) Points
True (*)
False

Section 6 Quiz 2
(Answer all questions in this section)
1. Which of the following would be suitable UIDs for the entity EMPLOYEE: (Choose
Two) Mark for Review
(1) Points
(Choose all correct answers)
Social Security Number (*)
Last Name
Employee ID (*)
Address

2. There is no limit to how many columns can make up an entity's UID. True or
False? Mark for Review
(1) Points
True (*)
False
3. A unique identifier can only be made up of one attribute. True or False? Mark for
Review
(1) Points
True
False (*)

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

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.

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

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

8. Examine the following Entity and decide which rule of Normal Form is being violated:
ENTITY: CLIENT ORDER
ATTRIBUTES:
# CLIENT ID
# ORDER ID
FIRST NAME
LAST NAME
ORDER DATE
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.

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

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

11. An entity can have repeated values and still be in 1st Normal Form. True or False? Mark
for Review
(1) Points
True
False (*)
12. When data is only stored in one place in a database, the database conforms to the rules
of ___________. Mark for Review
(1) Points
Reduction
Multiplication
Normalization (*)
Normality

13. To resolve a 2nd Normal Form violation, we: Mark for Review
(1) Points
Do nothing, an entity does not need to be in 2nd Normal Form.
Delete the attribute that was causing the violation.
Move the attribute that violates 2nd Normal Form to a new ERD.
Move the attribute that violates 2nd Normal Form to a new entity with a relationship to
the original entity. (*)

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

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
LOCATION, and create a relationship to the original entity.

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

1. An entity can only have one Primary UID. True or False? Mark for Review
(1) Points
True (*)
False

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

3. There is no limit to how many columns can make up an entity's UID. True or
False? Mark for Review
(1) Points
True (*)
False

4. A unique identifier can only be made up of one attribute. True or False? Mark
for Review
(1) Points
True
False (*)

5. 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 attributes with repeating or multi-values are present.
When no attritibutes are mutually independent and all are fully dependent on the
primary key.
None of the Above.

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

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

13. If an entity has a multi-valued attribute, to conform to the rule of 1st Normal Form we:
Mark for Review
(1) Points
Make the attribute optional
Do nothing, an entity does not have to be in 1st Normal Form
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.

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

17. A relationship between an entity and itself is called a/an: Mark for Review
(1) Points
General Relationship
Recursive Relationship (*)
Heirarchical Relationship
Invalid Relationship

18. A single relationship can be both Recursive and Hierarchical at the same time. True or
False? Mark for Review
(1) Points
True
False (*)

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

20. A particular problem may be solved using either a Recursive Relationship or a


Hierarchical Relationship, though not at the same time. True or False? Mark for Review
(1) Points
True (*)
False

21. Which of the following would best be represented by an arc? Mark for Review
(1) Points
STUDENT (Grade A student, Average Student)
PARENT (Girl, Bob)
TEACHER (Female, Bob)
DELIVERY ADDRESS (Home, Office) (*)
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

24. Which of the following would best be represented by an arc? Mark for Review
(1) Points
STUDENT (Grade A student, Average Student)
STUDENT (senior, male)
STUDENT ( University, Technical College) (*)
STUDENT (graduating, female)

Section 8
(Answer all questions in this section)

25. Which of the following would be a logical constraint when modeling time for a country
entity? Mark for Review
(1) Points
Daily traffic patterns must be monitored to determine which countries are
overcrowded.
People have births and deaths in their countries that must be tracked by the system.
If you are doing a system for France or Germany, you would need security clearance.
Countries may change their names and/or borders over a period of time. (*)

Section 8
(Answer all questions in this section)

26. Which of the following would be a logical constraint when modeling time for a City
entity? Mark for Review
(1) Points
Daily traffic patterns must be monitored to determine how many law enforcement
officers are needed.
If you are doing a system for any French City, you would need security clearance.
Cites may change their names and/or country association if the borders of a country
change. (*)
People are born in the city and people die in the city.

27. All systems must include functionality to provide logging or journaling in conceptual
data models. True or False? Mark for Review
(1) Points
True
False (*)

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

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

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

31. 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)
LIBRARY and NUMBER OF BOOKS
STUDENT and GRADE (*)
STUDENT and AGE
LIBRARY and BOOK (*)

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)

33. 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
Entity integrity (*)
User-defined integrity

34. Foreign keys cannot be null when Mark for Review


(1) Points
It refers to the same table
It is part of a primary key (*)
It refers to another table
It contains three or more columns

35. 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
User-defined integrity (*)
Entity integrity
Column integrity
Referential integrity

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

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

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

39. One-to-Many Optional to Mandatory becomes a _______________ on the Master


table. Mark for Review
(1) Points
Unique Key
Optional Foreign Key (*)
Mandatory Foreign Key
Primary Key

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)

41. Relationships on an ERD can only be transformed into UIDs in the physical model? True
or False? Mark for Review
(1) Points
True
False (*)

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

43. The "Arc Implementation" is a synonym for what type of implementation? Mark
for Review
(1) Points
Cascade Implementation
Supertype Implementation
Subtype Implementation
Supertype and Subtype Implementation (*)

44. When mapping supertypes, relationships at the supertype level transform as usual.
Relationships at the subtype level are implemented as foreign keys, but the foreign key
columns all become optional. True or False? Mark for Review
(1) Points
True (*)
False

45. The transformation from an ER diagram to a physical design involves changing


terminology. Entities in the ER diagram become __________ : Mark for Review
(1) Points
Columns
Tables (*)
Foreign Keys
Unique Keys

Section 9
(Answer all questions in this section)

46. The conceptual model is transformed into a physical model. The physical
implementation will be a relational database. True or False? Mark for Review
(1) Points
True (*)
False

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

Transition and Production (*)

You might also like