wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

S3 Databases Knowledge Check

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

What is the purpose of a database?

a)

To store information

b)

To store information in an organised way

c)

To look at information on a topic

d)

To have the information in all one place

2.

What is the definition of a field?

a)

The whole table of information

b)

A little piece of information like Pupil Name or Hair Colour

c)

A collection of information on one object, like a person or a movie

d)

Big green thing

3.

What makes a field a primary key?

a)

Each value is a number

b)

Each value is a combination of letters and numbers

c)

Each value is unique to each record

d)

Each value is either Yes or No

4.

What Microsoft program can you use to create a new database?

a)

Excel

b)

Word

c)

Powerpoint

d)

Access

5.

Which of the following is not a database data type?

a)

Text

b)

Date/Time

c)

Number

d)

Character

6.

What data type would be used for the PostID field?

a)

Number

b)

Text

c)

Boolean

d)

Date

7.

Which of the following is the correct order for a SQL query?

a)

SELECT FROM WHERE

b)

FROM SELECT WHERE

c)

WHERE SELECT FROM

d)

SELECT WHERE FROM

8.

What is the purpose of SELECT in an SQL statement?

a)

Selects the answers from the table

b)

Selects the correct records

c)

Selects the fields we want to display

d)

Selects the table

9.

What is the purpose of FROM in an SQL statement?

a)

Indicates the table we want the information from

b)

Indicates the fields we want from the table

c)

Indicates the records from the table

d)

Indicates we want to find some information

10.

What is the purpose of WHERE in an SQL statement?

a)

The search condition, what we're searching for

b)

Where the information is correct

c)

What fields we want to show

d)

Which table we are getting the information from

11.

What does this operator mean?


<=

a)

More than or equal to

b)

Less than

c)

Less than or Equal to

d)

Not equal to

12.

Which SQL query will successfully display the post by @WillSmith from New York?

a)

SELECT Username, PostID, LocationTag

FROM Posts

WHERE Username = "@WillSmith"

b)

SELECT Username, PostID, LocationTag

FROM Posts

WHERE LocationTag = "New York"

c)

SELECT Username, PostID, LocationTag

FROM Posts

WHERE Username = "@WillSmith" And LocationTag = "New York"

13.

What is the purpose of a restricted choice validation?

a)

Give the user a restricted list of options to choose from

b)

Give the user only numbers to choose from

c)

Give the user only text to choose from

d)

Limit the amount of characters in the field

14.

What is the purpose of a presence check validation?

a)

To make sure the field is present

b)

To make sure the field is not left blank

c)

To make sure all the fields in the database are empty

d)

To make sure all the fields have field names

15.

What does SQL stand for?

a)

Structure Query Language

b)

Structured Queried Languages

c)

Standard Query Lingo

d)

Single Quandary Language