Oracle Test
Oracle Test
(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)
(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
Correct
5. Entity names are always singular. True or False? Mark for Review (1) Points True (*) False
Correct
Section 7
(Answer all questions in this section) 6. Arcs are used to visually represent _________ between two or more relationships in an ERD.
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 datatype
8. Arcs are Mandatory in Data modeling. All ERD's must have at least one Arc. True or False?
Correct
9. An arc can also be modeled as Supertype and Subtypes. True or False? Mark for Review (1) Points True (*) False
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
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?
Correct
12.Modeling historical data can produce a unique identifier that always excludes dates. True or False?
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?
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?
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.
Correct
Correct
19.Volatile entities have special requirements and need special attention when you are doing data modelling. True or False?
Correct
20.Which of the following statements about relationships are true? (Choose Two)
(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?
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:
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 (Choose all correct answers) DOGS ANIMAL (*) ANIMALS DOG (*)
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?
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) 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?
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?
Correct
32.All entities must be given a new artificial UID. True or False? Mark for Review (1) Points True False (*)
33.A unique identifier must be made up of more than one attribute. True or 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?
True (*)
False
Correct
35.Which of the following statements are true for ERD's to enhance their readability. (Choose Two)
(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 draw You must ensure you have all the entities on one single, big diagram, even if you have hundreds Incorrect. Refer to Section 10 Lesson 1.
Correct
37.Generic models are generally far more complex than a specific model. True or False?
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? 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 noticeboard Allow 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?
Correct
40.When you add the concept of time to your data model, your model becomes more complex. True or 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
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? 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?
Correct
44.If two entities have two relationships between them, these relationships can be either _____________ or _____________ ?
Redundant or Required (*) Replicated or Required Resourced and Really Good Redundant and Replicated
Correct
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?
48.What do you call the entity created when you resolve a M:M relationship? Mark for Review (1) Points Intersection entity (*) Inclusion entity
49.Intersection Entities often have the relationships participating in the UID, so the relationships are often barred. True or 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?
Correct
Test: Mid Term Exam Semester 1 Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Top of Form
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?
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?
Correct 3. Generic models are generally far more complex than a specific model. True or 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?
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"
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?
CAR and WHEEL TREE and BRANCH PERSON and FINGERPRINT 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?
Correct 10Intersection 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?
Correct
Page 1 of 5
Bottom of Form
Test: Mid Term Exam Semester 1 Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Top of Form
Semester 1 Mid Term Exam covers Sections 1-10 of Database Design. Section 5 (Answer all questions in this section) 11What do you call the entity created when you resolve a M:M relationship? .
Correct 12A Diamond on a relationship indicates the Relationship as Non-Tranferrable. . True or False?
Section 3 (Answer all questions in this section) 13Two entities can ONLY have one relationship between them. True or False? .
True
False (*)
Correct 14Matrix Diagrams are developed BEFORE the ERD. True or False? .
Correct 15One Relationship can be both mandatory and optional at different ends. True or . False?
Correct 17To identify an attribute as part of a unique identifier on an ER diagram, the # . symbol goes in front of it. True or False?
True (*)
False
Correct
Section 6 (Answer all questions in this section) 18As 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?
Correct 19People 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. Artificial (*) Unrealistic Structured Identification
Correct 20All entities must be given a new artificial UID. True or False? .
Page 2 of 5
Bottom of Form
Test: Mid Term Exam Semester 1 Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Top of Form
Semester 1 Mid Term Exam covers Sections 1-10 of Database Design. Section 6 (Answer all questions in this section) 21Any Non-UID must be dependant on the entire UID. True or False? .
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
23An entity without repeated values is said to be on 1st Normal Form. True or . False?
Correct 24When data is only stored in one place in a database, the database conforms to the . rules of ___________.
Section 4 (Answer all questions in this section) 25A supertype can only have two subtypes and no more. True or False? .
Correct 26You can only create relationships to a Supertype, not to a Subtype. True or . False?
Incorrect. Refer to Section 4 Lesson 1. 27When creating entities you must follow these rules: (Choose Two) .
(Choose all correct answers) Name them in Plural Name them in Singular (*) Exclude Attributes Include Attributes (*)
Correct 28All ER diagrams must have one of each of the following: (Choose two) .
(Choose all correct answers) One or more Entities (*) Relationships between entities (*) Arcs At least one supertype and subtype
Correct
Section 7 (Answer all questions in this section) 30Modeling historical data can produce a unique identifier that always excludes . dates. True or False?
Page 3 of 5
Bottom of Form
Test: Mid Term Exam Semester 1 Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Top of Form
Semester 1 Mid Term Exam covers Sections 1-10 of Database Design. Section 7 (Answer all questions in this section) 31Which of the following scenarios should be modeled so that historical data is . kept? (Choose two)
(Choose all correct answers) BABY and AGE CUSTOMER and PAYMENTS (*) TEACHER and AGE CUSTOMER and ORDERS (*)
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. 34Arcs are Mandatory in Data modeling. All ERD's must have at least one Arc. . True or False?
TEACHER (Female, Bob) DELIVERY ADDRESS (Home, Office) (*) PARENT (Girl, Bob) STUDENT (Grade A student, Average Student)
Correct 37Which of the following would be good as a Unique Identifier for its Entity? . (Choose Three)
(Choose all correct answers) Personal Identification number for Person (*) Vehicle Registration Number for Car (*) ISBN Number for Book (*) Date of birth for Baby
Correct 38A recursive relationship must Mandatory at both ends. True or False? .
Correct
Section 2 (Answer all questions in this section) 39Which of the following statements about relationships are true? (Choose Two) .
(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 40Volatile entities have special requirements and need special attention when you . are doing data modelling. True or False?
Correct
Page 4 of 5
Bottom of Form