Chapter 3: Enhanced ER (EER) Model - Comprehensive Exam

Complete assessment covering all EER concepts: subclasses, superclasses, specialization, generalization, and categories

📚 30 Questions
💯 150 Points
⏱️ 60 Minutes
👩‍🎓 Shoug Alomran

📋 Exam Instructions

60:00
0/30 Answered

🔷 Section 1: EER Basics & Subclasses/Superclasses (7 questions)

Question 1 5 points
What does EER stand for and what does it add to the basic ER model?
Question 2 5 points
Why do we need subclasses in database modeling?
Question 3 5 points
In the EMPLOYEE example, SECRETARY, ENGINEER, and TECHNICIAN are subclasses. What is the basis for this grouping?
Question 4 5 points
What is attribute inheritance in the context of superclasses and subclasses?
Question 5 5 points
What are "subtypes" in EER modeling?
Question 6 5 points
Give two examples of how EMPLOYEE entities could be meaningfully grouped into subclasses based on different criteria.
Question 7 5 points
A subclass entity is a member of which entity types?

🔺 Section 2: Specialization & Generalization (6 questions)

Question 8 5 points
What is specialization in EER modeling?
Question 9 5 points
Explain the difference between specialization and generalization. Which is top-down and which is bottom-up?
Question 10 5 points
What is an "attribute-defined specialization" or "discriminator"?
Question 11 5 points
In the EMPLOYEE example with SECRETARY, TECHNICIAN, and ENGINEER subclasses, what is the defining attribute (discriminator)?
Question 12 5 points
Describe generalization and explain why it is typically a "total" constraint.
Question 13 5 points
What is a specialization hierarchy?

⚙️ Section 3: Constraints on Specialization/Generalization (10 questions)

Question 14 5 points
What are the two main types of constraints that apply to specialization and generalization?
Question 15 5 points
What does the "disjointness constraint" specify and how is it represented in EER diagrams?
Question 16 5 points
What is an "overlapping" specialization?
Question 17 5 points
Explain the difference between "total" and "partial" completeness constraints in specialization.
Question 18 5 points
How is a "total" specialization represented in an EER diagram?
Question 19 5 points
What are the four possible combinations of disjointness and completeness constraints?
Question 20 5 points
What happens when you delete an entity from a superclass?
Question 21 5 points
When inserting an entity in a superclass of a TOTAL specialization, what must happen?
Question 22 5 points
Explain what happens when inserting an entity in a superclass of a PARTIAL specialization.
Question 23 5 points
In an EER diagram, what does the symbol 'd' inside a circle represent?

🔶 Section 4: Categories (UNION Types) (7 questions)

Question 24 5 points
What is a "category" or "UNION type" in EER modeling?
Question 25 5 points
How is attribute inheritance different in categories compared to regular specialization?
Question 26 5 points
Can the superclasses of a category have different key attributes?
Question 27 5 points
Explain the difference between a "total category" and a "partial category".
Question 28 5 points
How is a total category represented in an EER diagram?
Question 29 5 points
When should you use categorization (UNION type) versus specialization/generalization?
Question 30 5 points
What are the three main EER concepts that improve the expressive power of ER diagrams?
📝 No feedback shown until submission