wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

KS2 Database Quiz

Total questions: 30

Worksheet time: 15mins

Name
Class
Date
1.

What is a primary key in a database?

a)

A special password

b)

A field that makes each record unique

c)

A list of all fields

d)

A type of number

2.

Which of these would make the best primary key for a School Pupils table?

a)

Favourite colour

b)

Student ID number

c)

Age

d)

Height

3.

Why is a primary key important?

a)

To count records

b)

To stop duplicate records

c)

To make the table colourful

d)

To store pictures

4.

Can two records share the same primary key value?

a)

Yes, always

b)

Only on Fridays

c)

No, each must be different

d)

Only if it's a number

5.

Which field could be a primary key in a library database?

a)

Author name

b)

Book title

c)

Book ID code

d)

Shelf colour

6.

In a database table, a field is:

a)

A big grassy area

b)

A single piece of information, like 'Age'

c)

A whole row of data

d)

A password

7.

A record is:

a)

All the information about one person or item

b)

Only a number

c)

A picture in a cell

d)

A field heading

8.

If a table stores names and phone numbers, which is a field?

a)

Phone number

b)

Mary Jones

c)

The whole table

d)

The database software

9.

Which shows a record correctly?

a)

Age, Name, Phone

b)

Lucy, 10, 0712345678

c)

Integer, Boolean, Char

d)

Table design

10.

How are fields arranged in a table?

a)

In columns

b)

In random shapes

c)

In paragraphs

d)

In pictures

11.

What does a query do in a database?

a)

Prints the table

b)

Searches for specific data

c)

Deletes records

d)

Creates a password

12.

In a query, the symbol < means:

a)

Greater than

b)

Equal to

c)

Less than

d)

Not equal

13.

The symbol > means:

a)

Greater than

b)

Less than

c)

Equal to

d)

Minus

14.

The symbol = means:

a)

Bigger

b)

Smaller

c)

Equal to

d)

Add

15.

If you run a query Age > 10, what will it show?

a)

Everyone younger than 10

b)

Everyone older than 10

c)

Only age 10

d)

Nobody

16.

Which query finds pupils exactly aged 12?

a)

Age < 12

b)

Age > 12

c)

Age = 12

d)

Age ≠ 12

17.

To find all books published before 2000, which operator fits?

a)

=

b)

>

c)

<

d)

>=

18.

A query asking for Price > 20 will show:

a)

Items costing more than 20

b)

Items costing 20 or less

c)

Items equal to 20

d)

None of the above

19.

To see pupils aged 8 or younger, which operator should be used?

a)

>

b)

=

c)

< or =

d)

> and =

20.

If you need exactly the same value as stored, which symbol is correct?

a)

<

b)

>

c)

d)

=

21.

Which data type stores letters and numbers mixed together?

a)

Integer

b)

Boolean

c)

Alphanumeric

d)

Date

22.

A whole number like 15 is which data type?

a)

Integer

b)

Char

c)

Boolean

d)

Alphanumeric

23.

Which data type can only be True or False?

a)

Date

b)

Boolean

c)

Integer

d)

Char

24.

A single character like 'A' is what data type?

a)

Integer

b)

Boolean

c)

Char

d)

Date

25.

A birthday stored as 12/05/2012 is which data type?

a)

Boolean

b)

Alphanumeric

c)

Date

d)

Char

26.

Which is an example of alphanumeric data?

a)

456

b)

House22

c)

True

d)

14/02/2025

27.

Which of these is an integer?

a)

Blue

b)

67

c)

6B

d)

May 5th

28.

Which of these is a boolean value?

a)

Cat

b)

False

c)

101

d)

Friday

29.

The letter Z is best stored as:

a)

Integer

b)

Boolean

c)

Char

d)

Date

30.

Which field would most likely use the Date type?

a)

Student name

b)

Date of birth

c)

Age in years

d)

True/False box