wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

ER Model Fundamentals

Total questions: 74

Worksheet time: 35mins

Name
Class
Date
1.

An entity is a

a)

object of relation

b)

present working model

c)

thing in real world

d)

model of relation

2.

Which of the following is not a component of ER Model in DBMS?

a)

entity

b)

database

c)

attribute

d)

relationship

3.

A relationship is

a)

an item in an application

b)

a meaningful dependency between entities

c)

a collection of related entities

d)

a related data

4.

The expansion of ER Diagram is

a)

Entity Relationship diagram

b)

Entity Relative diagram

c)

Entity Relation diagram

d)

Entity Rationalized diagram

5.

Entity is represented as

a)

ellipse

b)

double ellipse

c)

rectangle

d)

double rectangle

6.

In one to many relationship, the entity that is on the one side of relationship is called

a)

subtype

b)

child

c)

instance

d)

parent

7.

Property that describes the characteristics of entity is

a)

entities

b)

relationship

c)

attributes

d)

identifiers

8.

Entities can be associated with one another in which of the following

a)

attribute

b)

identifiers

c)

entities

d)

relationship

9.

By relation cardinality we mean

a)

number of items in a relationship

b)

number of relationships in which an entity can appear

c)

number of items in an entity

d)

number of entity sets which may be related to a given entity

10.

If an entity appears in N relationship then it is

a)

a 1:1 relationship

b)

a 1:N relationship

c)

a N:1 relationship

d)

a N:M relationship

11.

Rows of a relation is called

a)

a relation row

b)

an entity

c)

a data structure

d)

tuples

12.

The columns of a relation

a)

must be in specified order

b)

may be in any order

c)

with key field in first column

d)

with largest width column last

13.

Attributes are

a)

properties of relationship

b)

attributed to entities

c)

properties of members of an entity set

14.

In ER diagram relationships is represented by

a)

circles

b)

rectangles

c)

ellipse

d)

diamond shaped box

15.

One entity may be

a)

related to only one other entity

b)

related to itself

c)

related to only two other entities

d)

related to many other entities

16.

ERD stands for _________.

a)

enhance relation diagram

b)

entity responsive diagram

c)

entity relationship diagram

d)

enable relationship diagram

17.

A data model is a ______________.

a)

The mathematical model of formulas and logic used in a system

b)

The abstract creating of an ideal system transformation

c)

The expanded, thoroughly balanced and normalized use case for a system

d)

A formal way of representing the data that are used and created by a business system

18.

On an ERD _________________:

a)

Processes are listed alphabetically with relationship connections drawn between processes

b)

Data elements are listed alphabetically with a cross listing to the processes that manipulate them

c)

Data elements are grouped in a hierarchical structure that is uniquely identified by number

d)

Data elements are listed together and place inside boxes called entities

19.

An entity ____________.

a)

Has cardinality (1:1, 1:N, or M:N)

b)

Shows if it can be null or no null

c)

Is a person, place or thing

d)

Is described with a verb phrase

20.

Which would NOT likely be an attribute of an entity called “Student”?

a)

Age

b)

Student identification number

c)

Class room number

d)

Home phone

e)

Gender

21.

Lines on an ERD diagram indicate____________.

a)

Hierarchies between processes

b)

Relationships among the data

c)

Plurality of data items

d)

Uniqueness of data items

e)

Primary keys

22.
A field that is a primary key in the same table or another table. It is the method of recording relations in a relational database.
a)
foreign key
b)
surrogate key
c)
name
d)
key field
23.

Data manipulation includes ________.

a)

remove all tables in SQL.

b)

Add, delete, modify, and retrieve using SQL

c)

perform quality check on SQL

24.
For the following two ENTITIES, which is the appropriate relationship:
HOUSE/POSTCODE
a)
One to One
b)
One to Many
c)
Many to Many
25.

For the following two ENTITIES, which is the appropriate relationship:

STUDENT/SUBJECT

a)

One to One

b)

One to Many

c)

Many to Many

26.
This symbol indicates _____ relationship.
a)
one or many
b)
zero or many
c)
zero or one
d)
many to many
27.
_________is a person, place, object, event or concept in the user environment about which company wishes to maintain the data
a)
attribute
b)
entity
c)
relationship
d)
none of these
28.

Each entity is described by __________.

a)

entity

b)

relationship

c)

none of these

d)

attribute

29.

This key uniquely identifies each record in an entity.

a)

Primary Key or Key Identifier

b)

Foreign Key

c)

Secondary Key

d)

Composite Key

30.

For ERD this shape describe for ?

a)

Cardinality

b)

Relationship

c)

Attribute

d)

Entity

31.

Which of the following attributes can use to form composite attributes? [select all that apply]

a)

Name

b)

Address

c)

Total

d)

Age

32.

The Primary key must be

a)

Not Null

b)

Unique

c)

either a or b

d)

both a and b

33.

An entity that inherits its primary key from more than one other entity

a)

Parent entity

b)

⦁ Entity occurrence

c)

Child entity

d)

Associative entity

34.

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

35.

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

36.

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

37.

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

38.

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

39.

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

40.

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

41.

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

42.

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

43.

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

44.

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

45.

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

46.

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

47.

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

48.

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

49.

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

a)

Total Specialization

b)

Disjoint Rule

c)

Overlapping Subtypes

d)

Partial Specialization

50.

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

51.

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

52.

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

53.

The "o" in an EER diagram signifies:

a)

Overlapping subtypes

b)

Disjoint subtypes

c)

Optional attributes

d)

Outdated entity types

54.

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

55.

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

56.

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

57.

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

58.

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

59.

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

60.

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

61.

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

62.

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

63.

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

64.

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

65.

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

66.

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

67.

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

a)

true

b)

false

68.

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

a)

true

b)

false

69.

A supertype/subtype hierarchy can only have two levels.

a)

true

b)

false

70.

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

a)

true

b)

false

71.

Overlapping subtypes require the use of composite subtype discriminators.

a)

true

b)

false

72.

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

a)

true

b)

false

73.

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

a)

true

b)

false

74.

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

a)

true

b)

false