wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Database Refreshment

Total questions: 20

Worksheet time: 7mins

Name
Class
Date
1.

What does ERD stand for?

a)

Entity-Relationship Diagram

b)

Excellent Resource Design

c)

Every Row Depicts

d)

Extra Relational Data

2.

What is the purpose of normalization in a database?

a)

Normalize emotions of developers

b)

Reduce data redundancy

c)

Improve data integrity

d)

Make tables pretty

3.

Which normal form eliminates transitive dependency?

a)

1NF

b)

2NF

c)

3NF

d)

Google Form

4.

What does the acronym DDL stand for in database terminology?

a)

Data Distribution Layer

b)

Dynamic Data List

c)

Database Data Language

d)

Data Definition Language

5.

In a relational database, a primary key must be:

a)

A secret code

b)

Repeated frequently

c)

Able to unlock a treasure chest

d)

Unique and not null

6.

Which of these is an example of a many-to-many relationship?

a)

Employees and Chairs

b)

Cats and Owners (Cats own you, let’s be real😂)

c)

Students and Classes

d)

Managers and Coffee Machines

7.

What is a foreign key?

a)

A mysterious lost key in the data jungle

b)

A key from another table

c)

A key that speaks another language

d)

A primary key in disguise

8.

What does SQL stand for?

a)

Spicy Query Linguistics

b)

Super Quick Logic

c)

Structured Query Language

d)

Some Queries Lag

9.

What is a database schema?

a)

The structure of a database

b)

A plot to overtake Excel

c)

A schema to steal your data

d)

A fancy name for a tablecloth

10.

What is the result of a CROSS JOIN in SQL?

a)

Two tables arguing over data

b)

Rows where keys match

c)

A cross-stitched database

d)

All possible combinations of rows from two tables

11.

Which of the following is not a database constraint?

a)

UNIQUE

b)

ENORMOUS

c)

FOREIGN KEY

d)

NOT NULL

12.

What is a composite key?

a)

A key composed of two or more columns

b)

A key that unlocks composite materials

c)

A combination of foreign keys

d)

A lockpick for databases

13.

What type of relationship exists between an order and its line items?

a)

Many-to-Many

b)

One-to-Many

c)

One-to-One

d)

Too many to count

14.

Which of the following is a DML command?

a)

CREATE

b)

DROP

c)

SELECT

d)

Dance MySQL Dance

15.

What is the main advantage of using a foreign key in a database?

a)

To encrypt sensitive information

b)

To increase the size of the database

c)

To establish a relationship between tables

d)

To create a backup of the data

16.

What is the purpose of a database index?

a)

To speed up queries

b)

To create a table of contents

c)

To alphabetize tables

d)

To win a database race

17.

What is a database transaction?

a)

A unit of work performed on a database

b)

A financial exchange

c)

A high-stakes bet in SQL

d)

A suspicious deal with a database admin

18.

Which SQL command is used to remove a table from a database?

a)

ERASE

b)

REMOVE

c)

DROP

d)

DELETE

19.

What is the purpose of a JOIN operation in SQL?

a)

To combine rows from two or more tables

b)

To delete data from a table

c)

To create a new table

d)

To sort data in a table

20.

What is a stored procedure?

a)

A procedure for cleaning the database

b)

A method to store data in a file

c)

A way to store user passwords

d)

A set of SQL statements stored in the database