wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Chapt.4 - Advanced Data Modeling

Total questions: 15

Worksheet time: 7mins

Name
Class
Date
1.

The entity ___ contains common characteristics, and the entity ___ each contains its own unique characteristics.

a)

instance, set

b)

subtype, supertype

c)

supertype, subtype

d)

subclass, superclass

2.

Two criteria help the designer determine when to use subtypes and supertypes.

[Tick all that applies]

a)

some distinguishing characteristic(s)

b)

No unique attributes

c)

several common features

3.

The attribute in the supertype entity that determines to which subtype the supertype occurrence is related.

a)
discriminator
b)
connector
c)
relation
d)
identifier
4.

The relationship between a superclass and any one of its subclasses is called

a)

one-to-one

b)

is-a

c)

one-to-many

d)

many-to-many

5.

___constraint means that an entity can be a member of at most one of the subclasses of the specialization.

a)
Overlapping
b)

Complete

c)
Disjoint
d)

Partial

6.

If every EMPLOYEE must be either an HOURLY_EMPLOYEE or a SALARIED_EMPLOYEE, then this is a ___ specialization of EMPLOYEE.

a)

Total

b)

Partial

c)

Overlapping

d)

Shared

7.

Deleting an entity from a superclass implies that

a)
the entity will still exist in all its subclasses
b)
the entity will also be deleted from all its subclasses
c)
the entity will be moved to a different superclass
d)
the entity will be marked as deleted but still exist in all its subclasses
8.

Inserting an entity in a superclass of a total specialization implies that

a)
The entity will only be inserted in the superclass.
b)
The entity will be inserted in a subclass based on a specific condition.
c)

The entity will also be inserted in at least one of the subclasses.

d)
The entity will be inserted in a random subclass.
9.

A specialization hierarchy has the constraint that

a)

allows for multiple specializations at the same level

b)

a subclass may have more than one parent

c)

each subclass has only one parent

10.

Entity clusters are used to

a)

group entities based on their size.

b)

group entities based on their location.

c)

group entities based on their color.

d)

group similar entities together based on their attributes or characteristics.

11.

A system-assigned primary key, generally numeric and auto-incremented.

a)
natural key
b)
surrogate key
c)
composite key
d)
foreign key
12.

When implementing a 1:1 relationship, where should you place the foreign key if one side is mandatory and one side is optional?

a)
On the side that is mandatory
b)
On the side that is optional
c)
On both sides
d)
There is no need for a foreign key
13.

___occurs when you have one entity in two 1:M relationships to other entities, and there is an association among the other entities that is not expressed in the model.

a)

Redundant relationship

b)

Time-variant trap

c)

Fan trap

d)

Many-to-one relationship

14.

The main concern with redundant relationships is

a)
data redundancy and duplication
b)
data integrity and security
c)
data accuracy and reliability
d)
data inconsistency and inefficiency
15.

how would you deal with time-variant data from a database design point of view?

a)
Using a separate database for time-variant data
b)

Creating an entity that contains the new value, the date of the change, and any other time-relevant data.

c)

Storing time-variant data as an entity cluster

d)
Implementing a separate API for time-variant data