wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

โมเดลฐานข้อมูล ER

Total questions: 10

Worksheet time: 6mins

Name
Class
Date
1.

We have supermarkets in which many employees work and each employee only works in one supermarket, what would be the cardinality of the question?

a)

(1,n)

b)

(1,1)

c)

N:N

d)

(0,n)

2.

We have supermarkets where customers buy, what is the cardinality with question marks?

a)

N:M

b)

N:N

c)

Both answers are correct

d)

None of the above

3.

In the following table, what is the Foreign Key FK?

a)

Nombre

b)

Id_País

c)

Id_Provincias

d)

There is no foreign key.

4.

In the following table, what is the Primary Key PK?

a)

Id_coche

b)

Nombre

c)

There can be 2 PK that would be DNI and Id_Client

d)

Id_Cliente

5.

A PK (Primary Key)...

a)

1 .- ...cannot contain null values.

2.- ...can be repeated in some rows.

3.- There can only be one PK per table.

b)

1 .- ...can contain null values.

2.- ...cannot be repeated in any row.

3.- There can only be one PK per table.

c)

1 .- ...cannot contain null values.

2.- ...cannot be repeated in any row.

3.- There can only be one PK per table.

d)

1 .- ...cannot contain null values.

2.- ...cannot be repeated in any row.

3.- There can only be two PK per table.

6.

We have a database in which we are going to create Activities, there are outdoor activities with the attributes of place and number of people and there are classroom activities with the attributes of materials and place. What is this relationship called and how is it represented?

a)
b)

c)

d)

None of the previous answers

7.

We have Sporting Events taking place in Cities, what is the cardinality requested?

a)

(1,n)

b)

(1,1)

c)

(n,n)

d)

N:N

8.

what is the cardinality requested?

a)

1:1

b)

1:0

c)

N:0

d)

N:1

9.

An Employee may manage many Employees, but an Employee is managed by only one Employee, what are the cardinalities?

a)

(0,n)

(1,1)

b)

(1,n)

(1,1)

c)

(0,n)

(0,1)

d)

(1,n)

(0,1)

10.

A diet may be followed by several animals and an animal follows only one diet, What is the cardinality?

a)

(0,1)

b)

(1,n)

c)

(1,1)

d)

1:1