Sei sulla pagina 1di 13

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

What is the difference between "information" and "data"? Mark for Review (1) Points Data is held and understood only by users Information is held and understood only by users Information and data have no differences - they are two words for the same t hing Data turns into information when it is stored in a database and accessed by systems and users (*) corect 2. Entities are transformed into Tables during the Database Design process. T rue or False? Mark for Review (1) Points True (*) False Correct 3. Databases perform these functions.... Mark for Review (1) Points Running multiple applications on multiple client-servers Providing integrated software on fast processing servers Providing software running on a variety of platforms and configurations allo wing companies a structured way to access and manage their data (*) They run purely as client-based software on personal computers Correct 4. The market for IT professionals is still increasing and will continue to d o so in the future, as the world gets ever more dependent on computer systems. T rue or False? Mark for Review (1) Points True (*) False Correct

Section 2 5. All of the following would be instances of the entity ANIMAL SPECIES excep t which? Mark for Review (1) Points Dog Bird Elephant Leaf (*) Correct 6. An entity can have many Unique Identifiers. True or False? Mark for Revie w (1) Points True (*) False corect 7. Volatile entities have special requirements and need special attention whe n you are doing data modelling. True or False? Mark for Review (1) Points True (*) False Correct 8. 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 Prima ry 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 9. In a physical data model, a relationship is represented as a? Mark for Re view (1) Points Column Row Instance Foreign Key (*) corect 10. Entity and Attribute names are usually Nouns. True or False? Mark for Re view (1) Points True (*) False Correct Section 2 11. Documenting Business Requirements helps developers control the scope of t he systems, so users do not suddenly want the new system to contain twice as muc h functionality. True or False? Mark for Review (1) Points True (*) False Correct

Section 3 12. Relationship Degree/Cardinality is important. True or False? Mark for Re view (1) Points True (*) False Correct

13. Relationships represents something of significance to the business. True or False? Mark for Review (1) Points True (*) False corect 14. The single end of a Relationship is called: Mark for Review (1) Points Single Toe (*) Big Toe Single Foot Crows Foot Correct 15. 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 Correct 16. Matrix Diagrams are developed BEFORE the ERD. True or False? Mark for Re view (1) Points True False (*) Correct

Section 4 17. A business rule such as "We only ship goods after customers have complete ly paid any outstanding balances on their account" is best enforced by: Mark fo r 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 18. All instances of the supertype must be an instance of one of the subtypes . True or False? Mark for Review (1) Points True (*) False Correct 19. A Supertype can have only one subtype. True or False? Mark for Review (1) Points True False (*) Correct 20. When creating entities you must follow these rules: (Choose Two) Mark fo r Review (1) Points (Choose all correct answers) Name them in Plural Name them in Singular (*) Exclude Attributes Include Attributes (*) Correct 21. A supertype can only have two subtypes and no more. True or False? Mark fo r Review (1) Points True

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

Section 5 23. 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 TEACHER and SUBJECT AREA (*) corect 24. A relationship from an entity back to itself is called a ___________ rela tionship. Mark for Review (1) Points Mandatory Recursive (*) Many to Many Optional Transferrable Correct 25. Relationships can be Redundant. True or False? Mark for Review (1) Points True (*)

False Correct 26. What uncommon relationship is described by the statements: "Each DNA SAMP LE 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 27. A Diamond on a relationship indicates the Relationship as Non-Tranferrabl e. True or False? Mark for Review (1) Points True (*) False Correct 28. 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 Correct 29. Intersection Entities are at the Master end in the relationships between it and the original entities. So the original entities are details or children o f the newly created intersection entity. True or False? Mark for Review (1) Points True False (*)

Correct 30. Intersection Entities often have the relationships participating in the U ID, so the relationships are often barred. True or False? Mark for Review (1) Points True (*) False Correct 31. As a database designer you do not need to worry about where in the datamode l 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 32. There is no limit to how may UID's an entity can have. True or False? Ma rk for Review (1) Points True (*) False Correct 33. A unique identifier must be made up of more than one attribute. True or F alse? Mark for Review (1) Points True False (*) corect 34. Any Non-UID must be dependant on the entire UID. True or False? Mark for Review (1) Points True (*) False

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

Section 7 36. Historical data must never be kept. True or False? Mark for Review (1) Points True False (*) Correct 37. Which of the following would be good as a Unique Identifier for its Entit y? (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 corect 38. Which of the following would best be represented by an arc? Mark for Rev iew (1) Points TEACHER (Female, Bob) DELIVERY ADDRESS (Home, Office) (*)

PARENT (Girl, Bob) STUDENT (Grade A student, Average Student) Correct 39. 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 40. No parts of an UID are mandatory. True or False? Mark for Review (1) Points True False (*) Correct 41. 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, indepe ndent of their datatype Mandatory in data modeling Always comprised of numbers corect 42. Arcs are used to visually represent _________ between two or more relatio nships in an ERD. Mark for Review (1) Points Sameness Differences Exclusivity (*)

Inheritance Correct

Section 9 43. All systems must include functionality to provide logging or journaling i n conceptual data models. True or False? Mark for Review (1) Points True False (*) Correct 44. Which of the following is a logical constraint that could result from con sidering how time impacts an example of data storage? Mark for Review (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 45. All systems must have an entity called WEEK with a holiday attribute, so you know when to give your employees a holiday. True or False? Mark for Review (1) Points True False (*) Correct 46. 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 10 47. Which of the following statements are true for ERD's to enhance their rea dability. (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 w ay 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 draw You must ensure you have all the entities on one single, big diagram, even i f you have hundreds Correct 48. There is no point in trying to group your entities together on your diagr am according to volume. Making a diagram pretty is a waste of time. True or Fals e? Mark for Review (1) Points True False (*) Correct 49. Generic models are generally far more complex than a specific model. True or False? Mark for Review (1) Points True False (*) corect 50. A datamodel containing generic modeling techniques must not be mixed in w ith 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 (*) Correct

Potrebbero piacerti anche