wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Introduction to Databases

Total questions: 12

Worksheet time: 4mins

Name
Class
Date
1.

What is the primary purpose of a database?

a)

To store and organise data efficiently

b)

To create visually appealing presentations

c)

To perform complex mathematical calculations

d)

To develop video games

2.

What does each row in a single-table database represent?

a)

Record

b)

Table

c)

Field

d)

Database

3.

Which term describes a column in a database table?

a)

Record

b)

Field

c)

Entity

d)

Query

4.

Which data type would be most suitable for storing a student's date of birth?

a)

Integer

b)

Text/Alphanumeric

c)

Boolean

d)

Date/Time

5.

What data type would you use to store whether a product is in stock (yes or no)?

a)

Real

b)

Character

c)

Boolean

d)

Integer

6.

What is the main function of a primary key in a database table?

a)

To store the most important information

b)

To calculate values based on other fields

c)

To uniquely identify each record

d)

To sort the records in alphabetical order

7.

Which of the following could be a suitable primary key for a table storing information about books?

a)

Title

b)

Author

c)

Publication Year

d)

ISBN

8.


What is SQL primarily used for?

a)

Writing computer programs

b)

Interacting with databases

c)

Creating spreadsheets

d)

Designing web pages

9.

What is the term for an instruction written in SQL to retrieve specific data from a database?

a)

Command

b)

Function

c)

Script

d)

Querry

10.

Which SQL command is used to filter records based on specific criteria?

a)

SELECT

b)

FROM

c)

WHERE

d)

ORDER BY

11.

What SQL command would you use to arrange query results in alphabetical order?

a)

ORDER BY

b)

SUM

c)

FROM

d)

SELECT

12.

Which command is used to calculate the total quantity of a specific item from an "Orders" table?

a)

COUNT(*)

b)

SUM(Quantity)

c)

SELECT Quantity

d)

FROM Orders