25
Section 3 (Answer all questions in this section) 1. Matrix Diagrams are mandatory when doing data modelling. True or False? Mark for Review (1) Points True False (*) Correct 2. 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 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. (*) Correct 3. One Relationship can be both mandatory and optional at different ends. True or False? Mark for Review (1) Points True (*) False Correct 4. Matrix Diagrams are used to verify an ERD. True or False? Mark for Review (1) Points True (*) False Correct 5. Entity names are always singular. True or False? Mark for Review

Oracle Test

Embed Size (px)

Citation preview

Page 1: Oracle Test

Section 3

(Answer all questions in this section)

1. Matrix Diagrams are mandatory when doing data modelling. True or False? Mark for Review 

(1) Points

True

False (*)

Correct

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

Correct

3. One Relationship can be both mandatory and optional at different ends. True or False? Mark for Review 

(1) Points

True (*)

False

Correct

4. Matrix Diagrams are used to verify an ERD. True or False? Mark for Review 

(1) Points

True (*)

False

Correct

5. Entity names are always singular. True or False? Mark for Review 

(1) Points

True (*)

False

Correct

Page 2: Oracle Test

Section 7(Answer all questions in this section)

6. Arcs are used to visually represent _________ between two or more relationships in an ERD. Mark for Review 

(1) Points

Sameness

Differences

Exclusivity (*)

Inheritance

Correct

7. 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 datatypeMandatory in data modeling

Always comprised of numbers

Incorrect. Refer to Section 7 Lesson 1.

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

9. An arc can also be modeled as Supertype and Subtypes. True or False? Mark for Review 

(1) Points

True (*)

False

Incorrect. Refer to Section 7 Lesson 1.

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

Page 3: Oracle Test

Tabel 1

Section 7

(Answer all questions in this section)

11.

If Audit trail attributes are added to an entity they must be in the entities they are auditing. True or False? Mark for

Review (1) Points

True (*)

False

Correct

12.

Modeling historical data can produce a unique identifier that always excludes dates. True or False? Mark for

Review (1) Points

True

False (*)

Incorrect. Refer to Section 7 Lesson 3.

13.

A recursive relationship must Mandatory at both ends. True or False? Mark for Review 

(1) Points

True

False (*)

Correct

14.

A particular problem may be solved using either a Recursive Relationship or a Hierarchy, though not at the same time. True or False? Mark for

Review (1) Points

True (*)

False

Correct

Section 2(Answer all questions in this section)

15.

Entity and Attribute names are always interchangable, so you need not worry about choosing the right type. True or False? Mark for

Page 4: Oracle Test

Review (1) Points

True

False (*)

Correct

16.

In a physical data model, a relationship is represented as a? Mark for Review 

(1) Points

Column

Row

Instance

Foreign Key (*)

Correct

17.

A/an _________ is a picture of all the information that will form the basis for the finished system. Mark for

Review (1) Points

ERD (*)

Process

Table

Attribute

Correct

18.

An entity is instantiated as a ? Mark for Review 

(1) Points

Experience

Instance

Table (*)

None of the above

Correct

19.

Volatile entities have special requirements and need special attention when you are doing data modelling. True or False? Mark for

Review (1) Points

True (*)

False

Correct

Page 5: Oracle Test

20.

Which of the following statements about relationships are true? (Choose Two) Mark for

Review (1) Points

(Choose all correct answers)

They become foreign keys in the database. (*)

They must be mandatory to be created in the database.

They can be either mandatory or optional. (*)

They must exist between two different Entities.

Correct

Tabel 2

Section 2

(Answer all questions in this section)

21.

Data models are drawn to show users the actual Data their new system will contain. Only Data on the Diagram can be entered into the Database. True or False?

Mark for Review 

(1) Points

True (*)

False

Correct

Section 4(Answer all questions in this section)

22.

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

Making the payment attribute null.

Making the payment attribute optional.

We need to trust our customers, and we know they will pay some day.Hiring a programmer to create additional programming code to verify no goods are shipped until the account has been settled in full. (*)

Correct

23.

Which of the following are suitable Entity names? (Choose Two) Mark for Review 

(1) Points

Page 6: Oracle Test

(Choose all correct answers)

DOGS

ANIMAL (*)

ANIMALS

DOG (*)

Incorrect. Refer to Section 4 Lesson 1.

24.

All ER diagrams must have one of each of the following: (Choose two) Mark for Review 

(1) Points

(Choose all correct answers)

One or more Entities (*)

Relationships between entities (*)

Arcs

At least one supertype and subtype

Correct

25.

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

Correct

26.

When creating entities you must follow these rules: (Choose Two) Mark for Review 

(1) Points

(Choose all correct answers)

Name them in Plural

Name them in Singular (*)

Exclude Attributes

Include Attributes (*)

Correct

Section 6(Answer all questions in this section)

Page 7: Oracle Test

27.

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.

Correct

28.

Any Non-UID must be dependant on the entire UID. True or False? Mark for Review 

(1) Points

True (*)

False

Correct

29.

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

30.

Until all attributes are single-valued, the database model is said to be: Mark for Review 

(1) Points

Normalized

Not Normalized (*)

1st Normal Form

2nd Normal Form

Correct

Tabel 3

Section 6(Answer all questions in this section)

31.

An entity without repeated values is said to be on 1st Normal Form. True or False? Mark for

Review 

Page 8: Oracle Test

(1) Points

True (*)

False

Correct

32.

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.

33.

A unique identifier must be made up of more than one attribute. True or False? Mark for

Review (1) Points

True

False (*)

Correct

Section 10(Answer all questions in this section)

34.

There are formal rules for how to draw ERD's, even though they are only guidelines, you should always try to follow them. True or False? Mark for

Review (1) Points

True (*)

False

Correct

35.

Which of the following statements are true for ERD's to enhance their readability. (Choose Two) Mark for

Review (1) Points

(Choose all correct answers)

Is is OK to break a big ERD down into subsets of the overall picture. This way you end up with more than one ERD, that together documents the entire system. (*)Try to avoid crossing lines (*)

The crows feet (many ends) can point whichever way is the easiest to drawYou must ensure you have all the entities on one single, big diagram,

Page 9: Oracle Test

even if you have hundreds

Incorrect. Refer to Section 10 Lesson 1.

36.

All datamodels must be transformed from specific to generic. True or False? Mark for

Review (1) Points

True

False (*)

Correct

37.

Generic models are generally far more complex than a specific model. True or False? Mark for

Review (1) Points

True

False (*)

Incorrect. Refer to Section 10 Lesson 2.

Section 9(Answer all questions in this section)

38.

You are doing a data model for a computer sales company, where the price of postage is dependent on what day of the week goods are shipped. So shipping is more expensive if the customer wants a delivery to take place on a Saturday or Sunday. What would be the best way to model this?

Mark for Review 

(1) Points

Use a Delivery Day entity, which holds prices against week days, and ensure the we also have an attribute for the Requested Delivery Day in the Order Entity. (*)Email current price to all employees whenever the prices change.

Update the prices in the system, print out the current prices when they change and pin them on the company noticeboardAllow them to enter whatever ever delivery charge they want.

Correct

39.

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

40.

When you add the concept of time to your data model, your model becomes more complex. True or False? Mark for

Page 10: Oracle Test

Review (1) Points

True (*)

False

Correct

Tabel 4

Section 9

(Answer all questions in this section)

41.

Modeling historical data is Optional. True or False? Mark for Review 

(1) Points

True (*)

False

Correct

42.

If a system includes the concept of time and it stores Start Dates, then End Dates becomes Mandatory. For each Start Date attribute you create, you MUST create an End Date attribute and it must be mandatory. True or False?

Mark for Review 

(1) Points

True

False (*)

Correct

Section 5(Answer all questions in this section)

43.

A non-transferable relationship means the detail can be changed to point to a new master. True or False? Mark for

Review (1) Points

True

False (*)

Correct

44.

If two entities have two relationships between them, these relationships can be either _____________ or _____________ ? Mark for

Review (1) Points

Page 11: Oracle Test

Redundant or Required (*)

Replicated or Required

Resourced and Really Good

Redundant and Replicated

Correct

45.

A relationship from an entity back to itself is called a ___________ relationship. Mark for

Review (1) Points

Mandatory

Recursive (*)

Many to Many Optional

Transferrable

Correct

46.

How do you include a relationship as part of the UID for an entity? Mark for Review 

(1) Points

By barring the relationship in question (*)

By reporting it in an external document

By including the UID from the parent entity as an attribute in the entity

You cannot model that.

Correct

47.

Many to many relationships must be left in the Model. It is important to have them documented as M-M. True or False? Mark for

Review (1) Points

True

False (*)

Incorrect. Refer to Section 5 Lesson 2.

48.

What do you call the entity created when you resolve a M:M relationship? Mark for Review 

(1) Points

Intersection entity (*)

Inclusion entity

Recursive entity

M:M entity

Page 12: Oracle Test

Incorrect. Refer to Section 5 Lesson 3.

49.

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

Correct

50.

Intersection Entities are at the Master end in the relationships between it and the original entities. So the original entities are details or children of the newly created intersection entity. True or False?

Mark for Review 

(1) Points

True

False (*)

Correct

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 10(Answer all questions in this section)

1. There is no point in trying to group your entities together on your diagram according to volume. Making a diagram pretty is a waste of time. True or False?

Mark for Review (1) Points

True

False (*)

Incorrect. Refer to Section 10 Lesson 1.

2. There are formal rules for how to draw ERD's, even though they are only guidelines, you should always try to follow them. True or False?

Mark for Review (1) Points

True (*)

False

Correct

Page 13: Oracle Test

3. Generic models are generally far more complex than a specific model. True or False?

Mark for Review (1) Points

True

False (*)

Correct

4. A datamodel containing generic modeling techniques must not be mixed in with non-generic models. The generic entities MUST be drawn on a diagram of their own. True or False?

Mark for Review (1) Points

True

False (*)

Incorrect. Refer to Section 10 Lesson 2.

Section 5(Answer all questions in this section)

5. A relationship from an entity back to itself is called a ___________ relationship. Mark for Review 

(1) Points

Mandatory

Recursive (*)

Many to Many Optional

Transferrable

Correct

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

One to Many Optional

One to Many Mandatory

One to One Optional (*)

Many to Many Mandatory

Correct

7. Which of the following pairs of entities is most likely to be modeled as a M:M relationship?

Mark for Review (1) Points

CAR and WHEEL

TREE and BRANCH

PERSON and FINGERPRINT

Page 14: Oracle Test

TEACHER and SUBJECT AREA (*)

Correct

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

Correct

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

Correct

10. Intersection Entities are at the Master end in the relationships between it and the original entities. So the original entities are details or children of the newly created intersection entity. True or False?

Mark for Review (1) Points

True

False (*)

Correct

Page 1 of 5

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 5(Answer all questions in this section)

11. What do you call the entity created when you resolve a M:M relationship? Mark for Review 

(1) Points

Page 15: Oracle Test

Intersection entity (*)

Inclusion entity

Recursive entity

M:M entity

Correct

12. A Diamond on a relationship indicates the Relationship as Non-Tranferrable. True or False?

Mark for Review (1) Points

True (*)

False

Incorrect. Refer to Section 5 Lesson 1.

Section 3(Answer all questions in this section)

13. Two entities can ONLY have one relationship between them. True or False? Mark for Review 

(1) Points

True

False (*)

Correct

14. Matrix Diagrams are developed BEFORE the ERD. True or False? Mark for Review 

(1) Points

True

False (*)

Correct

15. One Relationship can be both mandatory and optional at different ends. True or False?

Mark for Review (1) Points

True (*)

False

Correct

16. Relationship Names are optional. True or False? Mark for Review 

(1) Points

True

False (*)

Page 16: Oracle Test

Correct

17. To identify an attribute as part of a unique identifier on an ER diagram, the # symbol goes in front of it. True or False?

Mark for Review (1) Points

True (*)

False

Correct

Section 6(Answer all questions in this section)

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

19. People are not born with "numbers", but a lot of systems assign student numbers, customer IDs, etc.

A shoe has a color, a size, a style, but may not have a descriptive "number". So, to be able to uniquely and efficiently identify one instance of the entity SHOE, a/an ______________ UID can be created.

Mark for Review (1) Points

Artificial (*)

Unrealistic

Structured

Identification

Correct

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

Page 2 of 5

Page 17: Oracle Test

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)

21. Any Non-UID must be dependant on the entire UID. True or False? Mark for Review 

(1) Points

True (*)

False

Correct

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

Correct

23. An entity without repeated values is said to be on 1st Normal Form. True or False?

Mark for Review (1) Points

True (*)

False

Correct

24. When data is only stored in one place in a database, the database conforms to the rules of ___________.

Mark for Review (1) Points

Normality

Reduction

Normalization (*)

Multiplication

Incorrect. Refer to Section 6 Lesson 2.

Page 18: Oracle Test

Section 4(Answer all questions in this section)

25. A supertype can only have two subtypes and no more. True or False? Mark for Review 

(1) Points

True

False (*)

Correct

26. You can only create relationships to a Supertype, not to a Subtype. True or False?

Mark for Review (1) Points

True

False (*)

Incorrect. Refer to Section 4 Lesson 1.

27. When creating entities you must follow these rules: (Choose Two) Mark for Review 

(1) Points

(Choose all correct answers)

Name them in Plural

Name them in Singular (*)

Exclude Attributes

Include Attributes (*)

Correct

28. All ER diagrams must have one of each of the following: (Choose two) Mark for Review 

(1) Points

(Choose all correct answers)

One or more Entities (*)

Relationships between entities (*)

Arcs

At least one supertype and subtype

Correct

29. Business rules are important to data modelers. True or False? Mark for Review 

(1) Points

True (*)

False

Page 19: Oracle Test

Correct

Section 7(Answer all questions in this section)

30. Modeling historical data can produce a unique identifier that always excludes dates. True or False?

Mark for Review (1) Points

True

False (*)

Incorrect. Refer to Section 7 Lesson 3.

Page 3 of 5

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

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)

BABY and AGE

CUSTOMER and PAYMENTS (*)

TEACHER and AGE

CUSTOMER and ORDERS (*)

Correct

32. All relationships participating in an arc must be mandatory. True or False? Mark for Review 

(1) Points

True

False (*)

Correct

Page 20: Oracle Test

33. 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 datatypeMandatory in data modeling

Always comprised of numbers

Incorrect. Refer to Section 7 Lesson 1.

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

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

36. Which of the following would best be represented by an arc? Mark for Review 

(1) Points

TEACHER (Female, Bob)

DELIVERY ADDRESS (Home, Office) (*)

PARENT (Girl, Bob)

STUDENT (Grade A student, Average Student)

Correct

37. Which of the following would be good as a Unique Identifier for its Entity? (Choose Three)

Mark for Review (1) Points

(Choose all correct answers)

Personal Identification number for Person (*)

Vehicle Registration Number for Car (*)

ISBN Number for Book (*)

Page 21: Oracle Test

Date of birth for Baby

Correct

38. A recursive relationship must Mandatory at both ends. True or False? Mark for Review 

(1) Points

True

False (*)

Correct

Section 2(Answer all questions in this section)

39. Which of the following statements about relationships are true? (Choose Two) Mark for Review 

(1) Points

(Choose all correct answers)

They become foreign keys in the database. (*)

They must be mandatory to be created in the database.

They can be either mandatory or optional. (*)

They must exist between two different Entities.

Correct

40. Volatile entities have special requirements and need special attention when you are doing data modelling. True or False?

Mark for Review (1) Points

True (*)

False

Correct

Page 4 of 5