wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

sdAsaDJQj213j(DBMS)

Total questions: 40

Worksheet time: 23mins

Name
Class
Date
1.

Which relationship type is considered the norm in a relational database?

a)

1:1

b)

1:M

c)

M:N

d)

Recursive

2.

How should an M:N relationship be implemented in a relational database?

a)

As a single table

b)

By creating a composite/bridge entity to form two 1:M relationships

c)

By using a recursive foreign key

d)

It cannot be implemented

3.

What is a composite entity also known as?

a)

Weak entity

b)

Bridge entity

c)

Derived entity

d)

Recursive entity

4.

In Crow’s Foot notation, what does a dashed line typically indicate?

a)

Mandatory participation

b)

Optional participation

c)

One-to-many relationship

d)

Many-to-many relationship

5.

Which relationship degree involves three entities?

a)

Unary

b)

Binary

c)

Ternary

d)

Quaternary

6.

A relationship where an entity is related to itself is called:

a)

Binary

b)

Ternary

c)

Recursive/Unary

d)

Quaternary

7.

Which of the following is an example of a weak entity?

a)

Student

b)

Invoice

c)

Dependent (of an Employee)

d)

Product

8.

A derived attribute is:

a)

Stored in multiple tables

b)

Calculated from other attributes

c)

Always part of the primary key

d)

A multivalued attribute

9.

Which attribute type can be subdivided into smaller parts?

a)

Simple attribute

b)

Composite attribute

c)

Derived attribute

d)

Single-valued attribute

10.

What does cardinality describe in a relationship?

a)

The type of relationship (1:1, 1:M, M:N)

b)

The minimum and maximum number of entity occurrences

c)

Whether participation is optional or mandatory

d)

The degree of the relationship

11.

In Chen’s ER model, attributes are represented as:

a)

Rectangles

b)

Ovals

c)

Diamonds

d)

Lines

12.

A composite primary key is:

a)

A primary key made of multiple attributes

b)

A foreign key that references multiple tables

c)

A derived attribute used as a key

d)

A key that is always NULL

13.

Which of the following is a multivalued attribute?

a)

Age

b)

Employee ID

c)

Phone numbers (home, mobile, work)

d)

Birthdate

14.

What is optional participation in a relationship?

a)

An entity must be related to another entity

b)

An entity may or may not be related to another entity

c)

The relationship is recursive

d)

The relationship is ternary

15.

A ternary relationship involves how many entities?

a)

1

b)

2

c)

3

d)

4

16.

Which of the following is used to resolve a multivalued attribute?

a)

Create a separate table for the attribute

b)

Ignore the attribute

c)

Store it as a composite attribute

d)

Make it a derived attribute

17.

What does connectivity refer to in ER modeling?

a)

The type of relationship (1:1, 1:M, M:N)

b)

The number of entities in a relationship

c)

Whether participation is optional

d)

The strength of the relationship

18.

A foreign key is used to:

a)

Uniquely identify a row

b)

Link tables by matching a primary key in another table

c)

Store derived data

d)

Resolve M:N relationships directly

19.

Which notation uses crow’s foot symbols to represent relationships?

a)

Chen’s model

b)

Relational model

c)

Crow’s Foot model

d)

Hierarchical model

20.

A bridge entity is created to resolve which type of relationship?

a)

1:1

b)

1:M

c)

M:N

d)

Recursive

21.

True/False: A 1:1 relationship is common in well-designed relational databases.

a)

True

b)

False

22.

True/False: In Crow’s Foot notation, a solid line indicates optional participation.

a)

True

b)

False

23.

True/False: A weak entity can exist independently of its parent entity.

a)

True

b)

False

24.

True/False: A derived attribute should be stored physically in the database.

a)

True

b)

False

25.

True/False: A composite key can be used as a primary key.

a)

True

b)

False

26.

True/False: A unary relationship involves two different entities.

a)

True

b)

False

27.

True/False: In a 1:M relationship, the foreign key is placed in the “many” side table.

a)

True

b)

False

28.

True/False: A quaternary relationship involves four entities.

a)

True

b)

False

29.

True/False: Multivalued attributes are allowed in normalized relational tables.

a)

True

b)

False

30.

True/False: Business rules help determine cardinality and connectivity in ERDs.

a)

True

b)

False

31.

Match the term with its definition: Composite Attribute

a)

An attribute that can be broken down into smaller parts

b)

An entity that depends on another entity for its existence

c)

A key that links two tables by matching a primary key

d)

A relationship where an entity is related to itself

e)

A relationship involving three entities

32.

Match the term with its definition: Weak Entity

a)

An attribute that can be broken down into smaller parts

b)

An entity that depends on another entity for its existence

c)

A key that links two tables by matching a primary key

d)

A relationship where an entity is related to itself

e)

A relationship involving three entities

33.

Match the term with its definition: Foreign Key

a)

An attribute that can be broken down into smaller parts

b)

An entity that depends on another entity for its existence

c)

A key that links two tables by matching a primary key

d)

A relationship where an entity is related to itself

e)

A relationship involving three entities

34.

Match the term with its definition: Recursive Relationship

a)

An attribute that can be broken down into smaller parts

b)

An entity that depends on another entity for its existence

c)

A key that links two tables by matching a primary key

d)

A relationship where an entity is related to itself

e)

A relationship involving three entities

35.

Match the term with its definition: Ternary Relationship

a)

An attribute that can be broken down into smaller parts

b)

An entity that depends on another entity for its existence

c)

A key that links two tables by matching a primary key

d)

A relationship where an entity is related to itself

e)

A relationship involving three entities

36.

The (a)   relationship is the most common in relational databases.

37.

An M:N relationship is resolved by creating a __________ entity.

4 lines
38.

(a)   participation means an entity must be related to another entity.

39.

A (a)   attribute is one that can have multiple values for a single entity.

40.

The (a)   model represents attributes as ovals connected to entities.