Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 16

eview your answers, feedback, and question scores below. An asterisk (*) indicat es a correct answer.

Semester 1 Mid Term Exam covers Sections 1-10 of Database Design. Section 9 (Answer all questions in this section) 1. All systems must include functionality to provide loggi ng or journaling in conceptual data models. True or False? Mark for Review (1) Points True False (*)

Correct 2. 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 ship ped. So shipping is more expensive if the customer wants a delivery to take plac e 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 ens ure the we also have an attribute for the Requested Delivery Day in the Order En tity. (*) 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 noticeboard Allow them to enter whatever ever delivery charge they want.

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

Correct 4. Which of the following would be a logical constraint wh en modeling time for a City entity? Mark for Review (1) Points People are born in the city and people die in the city. Cites may change their name and/or which country they are placed in, if the borders of a country change. (*) If you are doing a system for any French City, you would need security c learance. You need a constant record of cities because they are still cities, even if leadership changes over time, e.g. they get a new Mayor.

Correct 5. Mark for Review (1) Points True (*) False Modeling historical data is Optional. True or False?

Correct

Section 2 (Answer all questions in this section) 6. (1) Points Experience Instance An entity is instantiated as a ? Mark for Review

Table (*) None of the above

Correct 7. Which of the following entities most likely contains va lid 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, Salary

Correct 8. An entity can have many Unique Identifiers. True or Fal se? Mark for Review (1) Points True (*) False

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

Correct 10. The entity/relationship model is created before the phy sical database design model? True or False? Mark for Review (1) Points True (*) False

Correct emester 1 Mid Term Exam covers Sections 1-10 of Database Design. Section 2 (Answer all questions in this section) 11. Documenting Business Requirements helps developers cont rol the scope of the systems, so users do not suddenly want the new system to co ntain twice as much functionality. True or False? Mark for Review (1) Points True (*) False

Correct 12. Entity and Attribute names are always interchangable, s o you need not worry about choosing the right type. True or False? Mark for Review (1) Points True False (*)

Incorrect. Refer to Section 2 Lesson 3.

Section 7

(Answer all questions in this section) 13. Mark for Review (1) Points True False (*) No parts of an UID are mandatory. True or False?

Correct 14. 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)

Incorrect. Refer to Section 7 Lesson 1. 15. Arcs are Mandatory in Data modeling. All ERD's must hav e at least one Arc. True or False? Mark for Review (1) Points True False (*)

Correct 16. An arc can also be modeled as Supertype and Subtypes. T Mark for Review

rue or False? (1) Points True (*)

False

Correct 17. (1) Points Something that each Entity should have, but is not mandatory (*) Useful as an alternative means of identifying instances of an entity, in dependent of their datatype Mandatory in data modeling Always comprised of numbers Primary UIDs are: Mark for Review

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

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

Correct 20. A particular problem may be solved using either a Recur

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

Correct Review your answers, feedback, and question scor es 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) 21. Which of the following would be good as a Unique Identi fier 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 (*) Date of birth for Baby

Incorrect. Refer to Section 7 Lesson 2.

Section 10 (Answer all questions in this section) 22. There are formal rules for how to draw ERD's, even thou gh they are only guidelines, you should always try to follow them. True or False ? Mark for Review (1) Points True (*) False

Incorrect. Refer to Section 10 Lesson 1. 23. There is no point in trying to group your entities toge ther 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 (*)

Correct 24. 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. 25. Generic models are generally far more complex than a sp ecific model. True or False? Mark for Review (1) Points True False (*)

Correct

Section 5 (Answer all questions in this section) 26. Intersection Entities are at the Master end in the rela tionships between it and the original entities. So the original entities are det

ails or children of the newly created intersection entity. True or False? Mark for Review (1) Points True False (*)

Incorrect. Refer to Section 5 Lesson 3. 27. When you resolve a M-M you simply re-draw the relations hips between the two original entities, no new entities are created. True or Fal se? Mark for Review (1) Points True False (*)

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

Correct 29. What uncommon relationship is described by the statemen ts: "Each DNA SAMPLE may be taken from one and only one PERSON and each PERSON m ay 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 30. If two entities have two relationships between them, th ese relationships can be either _____________ or _____________ ? Mark for Review (1) Points Redundant or Required (*) Replicated or Required Resourced and Really Good Redundant and Replicated

Correct Review your answers, feedback, and question scores below. An asterisk (*) indica tes a correct answer. Semester 1 Mid Term Exam covers Sections 1-10 of Database Design. Section 7 (Answer all questions in this section) 21. Which of the following would be good as a Unique Identi fier 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 (*) Date of birth for Baby

Incorrect. Refer to Section 7 Lesson 2.

Section 10 (Answer all questions in this section) 22. There are formal rules for how to draw ERD's, even thou gh they are only guidelines, you should always try to follow them. True or False ? Mark for Review (1) Points True (*) False

Incorrect. Refer to Section 10 Lesson 1. 23. There is no point in trying to group your entities toge ther 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 (*)

Correct 24. 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. 25. Generic models are generally far more complex than a sp ecific model. True or False? Mark for Review (1) Points True

False (*)

Correct

Section 5 (Answer all questions in this section) 26. Intersection Entities are at the Master end in the rela tionships between it and the original entities. So the original entities are det ails or children of the newly created intersection entity. True or False? Mark for Review (1) Points True False (*)

Incorrect. Refer to Section 5 Lesson 3. 27. When you resolve a M-M you simply re-draw the relations hips between the two original entities, no new entities are created. True or Fal se? Mark for Review (1) Points True False (*)

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

Correct 29. What uncommon relationship is described by the statemen ts: "Each DNA SAMPLE may be taken from one and only one PERSON and each PERSON m ay 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 30. If two entities have two relationships between them, th ese relationships can be either _____________ or _____________ ? Mark for Review (1) Points Redundant or Required (*) Replicated or Required Resourced and Really Good Redundant and Replicated

Correct Section 6 (Answer all questions in this section) 41. There is no limit to how may UID's an entity can have. True or False? Mark for Review (1) Points True (*) False

Correct 42. The first UID for an entity is called the Primary UID, the second is called Secondary UID and so on. Mark for Review (1) Points Yes, this is the way UID's are named. (*) No, it is not possible to have more than one UID for an Entity. Yes, but then it stops. No entities can have more than two UID's. No, each Entity can only have one UID, the secondary one.

Correct 43. No commercial database systems in the world will accept tables that are not on 3rd Normal Form. True or False? Mark for Review (1) Points True False (*)

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

Correct 45. When data is only stored in one place in a database, th e database conforms to the rules of ___________. Mark for Review (1) Points

Normality Reduction Normalization (*) Multiplication

Correct

Section 4 (Answer all questions in this section) 46. Mark for Review (1) Points No, in which case you should let the database administrator handle them No, but you just explain them to the users so they can enforce them Yes, all constraints must be modeled and shown on the ER diagram No, so you should list them on a separate document to be handled program matically (*) Can all constraints be modeled on an ER diagram?

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

(Choose two) (1) Points

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

Correct 49. Mark for Review (1) Points True False (*) A Supertype can have only one subtype. True or False?

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

Correct

You might also like