Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Database Scenarios Review

Total questions: 10

Worksheet time: 6mins

Name
Class
Date
1.

Marty, a database administrator, has added a foreign key to a table in a database. Which of the following describes the purpose of a foreign key?

a)

To allow the storage of unstructured data.

b)

For one table to reference records in another table.

c)

To provide a way to distinguish records within a table.

d)

For one database to reference another database.

2.

A business wants to set up a database to store customer and order information. They have decided to use a relational database. Which of the following is the main benefit of using a relational database?

a)

The data can be organized into separate tables that are related to each other.

b)

The data can be stored as unstructured data.

c)

The data can be saved as a flat file.

d)

The data is stored as a single file for quick retrieval.

3.

A database administrator is setting up a new table that will contain customer information. The fields include name, address, company, phone, email, and customer ID. The administrator is using the customer ID to uniquely identify each customer record. Which of the following BEST describes the customer ID field?

a)

Public key

b)

Foreign key

c)

Primary key

d)

Private key

4.

Which of the following should NOT be used as a primary key in a table?

a)

First name

b)

Username

c)

Social Security number

d)

Employee ID

5.

The Weather Channel is looking to assess their data on last year's hurricane season. Which type of data would they be analyzing?

a)

Operational

b)

Analytical

c)

Attributes

d)

Hypotheticals

6.

This is an image of a table in a database. The header at the top of the column (ID, First Name, Last Name, etc.) is also known as what?

a)

Field

b)

Record

c)

Entity

d)

Table

7.

Joe would like to change/manipulate all the records in a customers table. Which type of data language would he use?

a)

Data Definition Language

b)

Data

c)

Data Manipulation Language

d)

Operational

8.

John is looking to alter the schema of the database. Which data language would he most likely use?

a)

Data Defined Language

b)

DML

c)

Analytical

d)

Operational

9.

A company is looking to store their data based on their everyday operations. Which data type would this refer to?

a)

Tables

b)

Historical Data

c)

Analytical Data

d)

Operational Data

10.

There are several table relationships when creating databases. The example of one building to several classrooms is known as?

a)

One-to-One

b)

One-to-Many

c)

Many-to-Many

d)

No Relationship