Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Data Relational Model

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

In relational data model, the total number of rows can be identified as ______________________ .

a)

Cardinality

b)

Degree

c)

Attribute

d)

Entity

2.

Identify the total number of attributes in a relational data model.

a)

Tuple

b)

Entity

c)

Degree

d)

Cardinality

3.

Identify the candidate key.

a)

W

b)

X

c)

Y

d)

Z

4.

An attribute whose value is calculated (derived) from other attributes. Choose the correct attributes based on the information given.

a)

Registration Number

b)

IC Number

c)

Certificates

d)

Date of Birth

5.

If related data exists in more than one table, they can be joined by using the Primary Key link to the same key in the other table. Identify this key.

a)

Foreign Key

b)

Primary Key

c)

Candidate Key

d)

Composite Key

6.

In relational data model, the total number of attributes can be identified as ______________________ .

a)

Cardinality

b)

Degree

c)

Tuple

d)

Entity

7.

Choose the CORRECT symbol of SELECT in the Relational Algebra

a)

x

b)

π\pi

c)

∩\cap

d)

σ\sigma

8.

Based on the figure above, identify the number of tuples that will be returned by the following relational algebra query :  σ \sigma\  Type = 'Saving' (Account)

a)

2

b)

3

c)

6

d)

0

9.

Base on the table given, identify output that will be produced when, σ Salary > 3000 ˅ City = ‘Batu Pahat’ (WORKER).

a)
b)
c)
d)
10.
What is data types?
a)
It specifies what type of data is expected inside of each column in a table (ef. number, date, string)
b)
It specifies how many tables you will create when you convert your Entity Relations Model to a Logical Data Model
c)
It specifies the database-name
d)
It counts how many attributes you have
11.
What does the data-type INT contain
a)
Whole numbers
b)
Decimal numbers
c)
Characters
d)
Date
12.
A row in a database.
a)
Record
b)
Field
c)
Entity
d)
Table
13.
A column in a database.
a)
Field
b)
Record
c)
Entity
d)
Validation
14.
Text/String, Integer, Real/Float, Boolean and Date/Time are all examples of...
a)
Data Types
b)
Filters
c)
Sorts
d)
Validations
15.
A unique identifying field.
a)
Primary Key
b)
Integer
c)
Verification
d)
Boolean
16.
What language does the Relational Model use?
a)
Java
b)
Python
c)
SQL
d)
C++
17.
What is SQL?
a)
Structured Query Language
b)
Suitable Query Language
c)
Sustainable Question Language
d)
Suitable Question Language
18.
Example of an SQL Command?
a)
REMOVE
b)
SELECT
c)
BIN
d)
NUMBER
19.
How many records are in this database?
a)
8
b)
5
c)
10
d)
12
20.
What is the primary key in this database?
a)
Emp_Id
b)
Last Name
c)
Gender
d)
Title