wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

EER Model Concepts and Relationships

Total questions: 45

Worksheet time: 23mins

Name
Class
Date
1.

What is the primary purpose of the Enhanced Entity-Relationship (EER) model?

a)

To replace the traditional E-R model

b)

To extend the E-R model with additional modeling constructs

c)

To simplify database design by removing relationships

d)

To enforce strict one-to-one relationships in all cases

2.

Which of the following best describes a supertype in the EER model?

a)

A generic entity type with common attributes shared by its subtypes

b)

A subgrouping of entities with distinct attributes

c)

A relationship between two entities

d)

A constraint that ensures uniqueness in a database

3.

In the context of supertype/subtype relationships, attribute inheritance means:

a)

In the context of supertype/subtype relationships, attribute inheritance means:

b)

Subtypes inherit all attributes and relationships from the supertype

c)

Only unique attributes are inherited by the subtypes

d)

Each subtype must have completely different attributes from the supertype

4.

What symbol represents a Total Specialization constraint in an EER diagram?

a)

A single line

b)

A dashed line

c)

A double line

d)

A diamond shape

5.

If an instance of a supertype must be a member of at least one subtype, which rule applies?

a)

Partial Specialization Rule

b)

Total Specialization Rule

c)

Disjoint Rule

d)

Overlap Rule

6.

Overlap Rule

a)

Combining multiple entities into one supertype

b)

Dividing an entity into multiple subtypes

c)

Ensuring that an entity belongs to a subtype

d)
  • Eliminating redundancy in a database

7.

A supertype/subtype hierarchy is used when:

a)

All attributes are unique to individual entities

b)

An entity has multiple categories with shared and unique attributes

c)

Every entity is independent and has no common attributes

d)

Every entity is independent and has no common attributes

8.

The disjoint rule ensures that:

a)

An instance of a supertype can belong to multiple subtypes

b)

An instance of a supertype can only belong to one subtype

c)

A supertype must always have multiple subtypes

d)

The supertype can exist without any subtypes

9.

A subtype discriminator is:

a)

A unique identifier for each subtype

b)

An attribute that determines which subtype an entity belongs to

c)

A relationship between subtypes

d)

A rule that forces specialization

10.

Overlapping subtypes occur when:

a)

An instance of a supertype can belong to multiple subtypes

b)

An instance of a supertype must belong to only one subtype

c)

A supertype has no attributes

d)

Subtypes are unrelated to each other

11.

What does a single line between a supertype and the circle in an EER diagram indicate?

a)

Total specialization

b)

Partial specialization

c)

Disjoint constraints

d)

Overlapping constraints

12.

Which of the following is an example of generalization?

a)

Creating an EMPLOYEE supertype from the entities MANAGER and ENGINEER

b)

Dividing VEHICLE into subtypes CAR and TRUCK

c)

Assigning unique attributes to each instance of an entity

d)

Ensuring that an entity belongs to a subtype

13.

Which of the following is not an advantage of using supertype/subtype relationships?

a)

Reducing redundancy in data models

b)

Allowing for more specific entity attributes

c)

Simplifying complex database relationships

d)

Eliminating the need for primary keys

14.

Which of the following is an example of partial specialization?

a)

Every instance of EMPLOYEE must be classified as either MANAGER or ENGINEER

b)

Some instances of VEHICLE do not belong to any subtype

c)

Every instance of VEHICLE must be either a CAR or a TRUCK

d)

A supertype instance belongs to multiple subtypes

15.

If a subtype has a composite subtype discriminator, it means:

a)

The supertype has only one subtype

b)

The discriminator has multiple attributes for different subtypes

c)

Each subtype is independent from the supertype

d)
  • Every subtype has the same attributes

16.

Which constraint allows an entity to exist at the supertype level without being a subtype?

a)

Total Specialization

b)

Partial Specialization

c)

Disjoint Rule

d)
  • Attribute Inheritance

17.

What does a double line from a supertype to a circle represent?

a)

Total Specialization

b)

Disjoint Rule

c)

Overlapping Subtypes

d)

Partial Specialization

18.

What type of attribute is used to determine the subtype for an entity?

a)

Foreign Key

b)

Subtype Discriminator

c)

Primary Key

d)

Derived Attribute

19.

Which scenario would require overlapping subtypes?

a)

A database of books classified as Fiction or Non-Fiction

b)

A student who can be both an athlete and a scholar

c)

A vehicle that is either a car or a truck, but not both

d)

A hospital where each patient must be an outpatient or inpatient

20.

In an EER diagram, what does the letter "d" inside a circle indicate?

a)

Disjoint rule

b)

Overlap rule

c)

Derived attribute

d)

Double specialization

21.

The "o" in an EER diagram signifies:

a)

Overlapping subtypes

b)

Disjoint subtypes

c)

Optional attributes

d)

Outdated entity types

22.

What is the root in a supertype/subtype hierarchy?

a)

The most specialized subtype

b)

The entity with no attributes

c)

The top-most supertype

d)

The least important entity

23.

What kind of relationship exists between a supertype and its subtypes?

a)

Many-to-many

b)

One-to-many

c)

One-to-one

d)

Many-to-one

24.

In an employee database, which of the following would best represent an example of an EER model?

a)

A single EMPLOYEE entity with all attributes

b)

EMPLOYEE as a supertype with subtypes MANAGER and INTERN

c)

Separate MANAGER and INTERN entities with duplicate attributes

d)

A table without any hierarchical relationships

25.

When should you use a supertype/subtype relationship in database modeling?

a)

When all entities share the exact same attributes

b)

When there are distinct categories of an entity with some shared attributes

c)

When all attributes are unique to each entity

d)

When multiple entities have no relationships

26.

What type of specialization occurs when an instance of a supertype must belong to at least one subtype?

a)

Partial specialization

b)

Total specialization

c)

Disjoint specialization

d)
  • Composite specialization

27.

If a supertype/subtype relationship has overlapping subtypes, how should its subtype discriminator be structured?

a)

A single attribute with multiple values

b)

A composite attribute with Boolean values for each subtype

c)

A derived attribute from another entity

d)

A primary key shared across all entities

28.

In a supertype/subtype hierarchy, what ensures that all instances of a supertype fit into at least one subtype?

a)

Disjoint rule

b)

Overlapping rule

c)

Total specialization

d)

Partial specialization

29.

In which scenario would a partial specialization rule be more appropriate?

a)

Every EMPLOYEE must be classified as either a MANAGER or an ENGINEER

b)

A VEHICLE entity where some vehicles are neither a CAR nor a TRUCK

c)

A STUDENT entity where each student must be an UNDERGRADUATE or GRADUATE

d)
  • A COMPANY entity where every company must be a startup or a corporation

30.

How is a subtype discriminator typically represented in an EER diagram?

a)

A dashed line connecting the supertype and subtype

b)

A labeled attribute inside the supertype

c)

A separate entity linking all subtypes

d)

A unique identifier in the subtype

31.

If a database model includes an EMPLOYEE supertype with subtypes MANAGER and ENGINEER, and each employee can only be one subtype, what constraint applies?

a)

Overlap rule

b)

Disjoint rule

c)

Total specialization

d)

Partial specialization

32.

A hospital has a PATIENT supertype with OUTPATIENT and INPATIENT subtypes. If every patient must be one or the other, but not both, which constraints apply?

a)

Total specialization and overlap rule

b)

Partial specialization and disjoint rule

c)

Total specialization and disjoint rule

d)

Partial specialization and overlap rule

33.

If a supertype/subtype hierarchy has multiple levels of subtypes, what is this structure called?

a)

Disjoint model

b)

Generalization pattern

c)

Supertype nesting

d)

Supertype/subtype hierarchy

34.

A company database tracks employees, alumni, and students under a PERSON supertype. If a person can be both an ALUMNUS and a STUDENT, which rule applies?

a)

Disjoint rule

b)

Overlapping rule

c)

Partial specialization

d)

Total specialization

35.

Which of the following best describes the purpose of generalization in an EER model?

a)

It reduces redundancy by creating a higher-level entity that encompasses multiple lower-level entities

b)

It breaks down a broad entity into more specific subtypes

c)

It ensures that every instance of a supertype is assigned to a subtype

d)

It prevents an entity from inheriting attributes from multiple sources

36.

Generalization is the process of defining a more specific entity type from an existing supertype.

a)

true

b)

false

37.

The Disjoint Rule ensures an instance can only belong to one subtype.

a)

true

b)

false

38.

The Overlap Rule is indicated by the letter "d" in the circle connecting a supertype and its subtypes.

a)

true

b)

false

39.

A subtype discriminator is used to determine which subtype an entity belongs to.

a)

true

b)

false

40.

A supertype/subtype hierarchy can only have two levels.

a)

true

b)

false

41.

The Partial Specialization Rule means that not all instances of a supertype must belong to a subtype.

a)

true

b)

false

42.

Overlapping subtypes require the use of composite subtype discriminators.

a)

true

b)

false

43.

In an EER diagram, a double line represents a partial specialization constraint.

a)

true

b)

false

44.

A supertype may have multiple subtypes, but each subtype can only belong to one supertype.

a)

true

b)

false

45.

The Overlap Rule allows an instance of a supertype to be a member of multiple subtypes.

a)

true

b)

false