Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Week 4 - RELATIONAL DATA MODEL

Total questions: 26

Worksheet time: 13mins

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.

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

8.

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

a)
b)
c)
d)
9.
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
10.
What does the data-type INT contain
a)
Whole numbers
b)
Decimal numbers
c)
Characters
d)
Date
11.
A column in a database.
a)
Field
b)
Record
c)
Entity
d)
Validation
12.
Text/String, Integer, Real/Float, Boolean and Date/Time are all examples of...
a)
Data Types
b)
Filters
c)
Sorts
d)
Validations
13.
How many records are in this database?
a)
8
b)
5
c)
10
d)
12
14.
What is the primary key in this database?
a)
Emp_Id
b)
Last Name
c)
Gender
d)
Title
15.

Below are the characteristics of a Relational Table EXCEPT

a)

A table is perceived as a two-dimensional structure composed of rows and columns.

b)

Each table row(tuple) represents a single entity occurrence within the entity set.

c)

Each table column represents an attribute.

d)

All values in a column may have different data format.

16.

Attribute whose value is determined by the other attribute is called____________

a)

Determinant

b)

Dependant

17.

Below are the type of key(s) available in RDBM EXCEPT

a)

Superkey

b)

Candidate key

c)

Primary key

d)

Composer key

18.

In the table above, which one is Primary Key?

a)

firstName

b)

lastName

c)

StudentID

19.

Select is a unary operator that yields a ______________________ subset of a table.

a)

vertical

b)

horizontal

20.

Referring to the original table above, if we execute project CustomerName, which result will be produced?

a)
b)
c)
21.

What operator between table Completed and DBProject that be able to produce result as in picture above?

a)

Union

b)

Intersect

c)

Difference

d)

Divide

22.

The rule that a value of a foreign key must appear as a value of some specific table is called as

a)

Referential constraint

b)

Index

c)

Integrity constraint

d)

Domain constraint

23.

Which of the following relational algebra operations do not require the participating tables to be union-compatible?

a)

unioin

b)

intersection

c)

difference

d)

cartesian product

24.

Minimal Superkeys are called

a)

Primary key

b)

Foreign key

c)

Candidate key

d)

Attribute keys

25.

Foreign key is the one in which the ________ of one relation is referenced in another relation.

a)

Foreign key

b)

Primary key

c)

References

d)

Check constraint

26.

Which of the following is not a restriction for a table to be a relation?

a)

The cells of the table must contain a single value.

b)

All of the entries in any column must be of the same kind.

c)

The columns must be ordered.

d)

No two rows in a table may be identical.