wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Database

Total questions: 25

Worksheet time: 19mins

Name
Class
Date
1.

Retail stores use databases to store information about products, customers, and orders.

Normalising a relational database reduces data redundancy because it removes duplicate data.

Which ONE of the following is another benefit of normalising a relational database?

a)

It improves data accuracy by ensuring all values entered into the database are correct

b)

It increases data consistency because changes to related data are made in one place only.

c)

It makes the database faster by increasing the amount of duplicated data stored.

d)

It improves database security by separating data into multiple related tables.

2.

A relationship where one sale can include many artworks is called a (a)   relationship

3.

Which of the following is an example of a calculated field?

a)

Art ID

b)

Artist Name

c)

Actual Selling Price

d)

Salesperson Fee

4.

The Total Paid to Artist can be calculated by subtracting the
(a)   from the Actual Selling Price.

5.

Which table is missing if the database needs to store salesperson details?

a)

Sale

b)

Art

c)

Salesperson

d)

Artist

6.

The Total Paid to Artist can be calculated by subtracting the
(a)   from the Actual Selling Price.

7.

Where should the Actual Selling Price be stored?

a)

Sale

b)

Art

c)

Salesperson

d)

Artist

8.

Which relationship best describes Artist → Art?

a)

One to many

b)

Many to many

c)

Many to one

d)

One to one

9.

SoldArt table uses a composite primary key of
(SaleID, ArtID).

Which field must be removed to achieve Second Normal Form (2NF)?

a)

Quantity

b)

Actual Selling Price

c)

Sale Date

d)

Total Paid to Artist

10.

Which situation shows a BEST transitive dependency?

a)

Address determines city and

Salesperson Name determines Address

b)

SalespersonID determines Salesperson Name and

Salesperson Name determined by SalespersonID

c)

SaleID determines Sale Date and and

SaleID determines SalespersonID

d)

ArtID determines Actual Selling Price and

ArtID determines Minimum Selling Price

11.

When designing a data entry form, it is important to use user friendly error messages to improve the validation process and the user experience.

Which error message is the MOST user-friendly?

a)

Error 104: Invalid input detected.

b)

Validation failed.

c)

Nu uh, you wrong

d)

Please enter a number between 1 and 10.

12.

Which query criterion would return records where City is exactly “Leeds”?

a)

City = Leeds

b)

City LIKE Leeds

c)

City CONTAINS "Leeds"

d)

City = "Leeds"

13.

To find prices greater than £50, the correct operator is _

(a)  

14.

We have 2 conditional statement: TRUE, FALSE.

The logical operator AND means both conditions must be _.

(a)  

15.

Which criterion finds surnames that start with “Sm”?

a)

Surname = "Sm*"

b)

Surname LIKE "Sm*"

c)

Surname LIKE "*Sm"

d)

Surname = "*Sm"

16.

What does the wildcard * represent in a query?

a)

One character

b)

One number only

c)

Any sequence of characters

d)

A space

17.

Which aggregate function returns the highest value in a field?

(a)  

18.

The aggregate function used to calculate the average value is _

(a)  

19.

Which is the correct way to name a calculated field?

a)

SUM(Price) AS TotalPrice

b)

TotalPrice: Sum([Price])

c)

Price SUM AS Total

d)

SUM(Price) = TotalPrice

20.

Which query finds the average price of products costing more than £20?

a)

SELECT Avg([Price])

FROM Products

WHERE [Price] > 20;

b)

SELECT [Price]

FROM Products

WHERE [Price] > 20;

c)

SELECT Sum([Price])

FROM Products

WHERE [Price] > 20;

d)

SELECT Count([Price])

FROM Products

WHERE [Price] > 20;

21.

Why are calculated queries useful?

a)

They store calculated values permanently

b)

They reduce the number of tables needed to calculate

c)

They perform calculations without changing stored data

d)

They remove the need for validation rules for each table

22.

Which criterion retrieves sales made on or after 01/06/2026?

a)

SaleDate > 01/06/2026

b)

SaleDate >= #01/06/2026#

c)

SaleDate >= "01/06/2026"

d)

SaleDate = 01/06/2026

23.

Which criterion retrieves sales that are NOT from London?

a)

City = NOT "London"

b)

City != London

c)

City <> "London"

d)

NOT City = London

24.

Write a calculated field to find the average price.

Here our format:

NewFieldName: [Expression]

NewFieldName: Aggregate([TargetedField])

4 lines
25.

Which query feature allows results to be sorted from highest to lowest price?

a)

WHERE

b)

SELECT

c)

GROUP BY

d)

ORDER BY