oracle sections 4,5 – Flashcards
Unlock all answers in this set
Unlock answersquestion
A subtype can have a relationship not shared by the supertype. True or False?
answer
True
question
Which of the following is the best scenario for using supertype/subtype entities:
answer
A vehicle dealership that sells boats on trailers, cars, and trucks.
question
All instances of a subtype must be an instance of the supertype. True or False?
answer
True
question
All instances of the supertype are also instances of one of the subtypes. True or False?
answer
True
question
If subtypes are listed, a supertype should have at least two subtypes. True or False?
answer
True
question
Which of the following is a TRUE statement about the diagram below?
answer
Every A is a B
question
Which of the following is true about supertypes and subtypes?
answer
Subtypes inherit the relationships and attributes of the supertype.
question
The "Other" subtype is best used:
answer
As an extra subtype to ensure that the list of subtypes is exhaustive. By having an "Other" subtype, all instances of the Supertype will have a subtype to belong to.
question
How should you handle constraints that cannot be modeled on an ER diagram?
answer
List them on a separate document to be handled programmatically
question
How would you model a business rule that states that on a student's birthday, he does not have to attend his classes?
answer
You cannot model this. You need to document it
question
Which of the following is an example of a structural business rule?
answer
All employees must belong to at least one department.
question
'Only managers can approve travel requests' is an example of which of the following?
answer
A procedural business rule.
question
A business rule such as "All accounts must be paid in full within 10 days of billing" is best enforced by:
answer
Hiring a programmer to create additional programming code to identify and report accounts past due.
question
Business rules are important to data modelers because:
answer
They capture all of the needs, processes, and required functionality of the business.
question
Why is it important to identify and document business rules?
answer
It allows you to create your data model and then check it for accuracy.
question
If a relationship can be moved between instances of the entities it connects, it is said to be:
answer
Transferable
question
A non-transferable relationship is represented by which of the following symbols?
answer
Diamond
question
Non-transferable relationships can only be mandatory, not optional. True or False?
answer
False
question
Which of the following are relationship types?
answer
Many to Many One to Many
question
What uncommon relationship is described by the statements: "Each LINE must consist of many POINTS and each POINT must be a part of many LINES".
answer
Many to Many Mandatory
question
When are relationships unnecessary?
answer
When you can derive the relationship from other relationships in the model
question
If the same relationship is represented twice in an Entity Relationship Model, it is said to be:
answer
Redundant
question
Which of the following pairs of entities is most likely to be modeled as a M:M relationship?
answer
STUDENT and CLASS RENTAL CAR and DRIVER
question
If an intersection entity is formed that contains no attributes of its own, its uniqueness may be modeled by
answer
Barring the relationships to the original entities.
question
Many-to-Many relationships are perfectly acceptable in a finished ERD. There is no need to do any more work on them. True or False?
answer
False
question
When you resolve a M:M by creating an intersection entity, this new entity will always inherit:
answer
A relationship to each entity from the original M:M.
question
Many to many relationships between entities usually hide what?
answer
Another entity
question
When resolving a M:M relationship, the new relationships will always be __________ on the many side.
answer
Mandatory