wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Database Relations Quiz

Total questions: 12

Worksheet time: 4mins

Name
Class
Date
1.

What is a Relation in a database?

a)

A two-dimensional structure composed of rows and columns

b)

A one-dimensional list of values

c)

A hierarchical tree of data

d)

A collection of unorganized data

2.

Which of the following is another name for a Relation?

a)

File

b)

Record

c)

Table

d)

Attribute

3.

In a relation, what does a Column represent?

a)

An entire dataset

b)

A specific property of an entity

c)

A single instance of an entity

d)

A group of tuples

4.

Which of the following terms refers to a Column?

a)

Tuple

b)

Row

c)

Field / Attribute

d)

Record

5.

A Tuple in a relation refers to:

a)

A column in a table

b)

A two-dimensional table

c)

A single row in a table

d)

A key in a database

6.

Which term is synonymous with Tuple?

a)

Field

b)

Record

c)

Attribute

d)

Relation

7.

What do Keys in a relation represent?

a)

Columns that describe entities

b)

One or more attributes that determine other attributes

c)

A set of rows with similar data

d)

The entire relation

8.

Which key uniquely identifies each row in a table?

a)

Foreign Key

b)

Primary Key

c)

Composite Key

d)

Candidate Key

9.

Which key is used to establish relationships between two tables?

a)

Candidate Key

b)

Foreign Key

c)

Primary Key

d)

Super Key

10.

If a table has multiple candidate keys, which one is chosen as the main identifier?

a)

Composite Key

b)

Super Key

c)

Primary Key

d)

Alternate Key

11.

What is the purpose of a Foreign Key in a database?

a)

To uniquely identify a record in a table

b)

To establish a link between two tables

c)

To store multiple values in a single column

d)

To define the structure of a table

12.

Which of the following describes a Composite Key?

a)

A key that consists of multiple attributes

b)

A key that is automatically generated by the database

c)

A key that is used to enforce uniqueness in a single column

d)

A key that is not used in any relationships