wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Database - Half-Term Assessment

Total questions: 40

Worksheet time: 30mins

Name
Class
Date
1.

What are databases mainly used for?

a)

To store archived data

b)

To store and organise data

c)

To analyse data

2.

Which of the following statements best defines the word 'database'?

a)

A database is a collection of data or information which is stored in a logical and structured way

b)

A database is a collection of statistics stored only for computers.

c)

A database does not collect data or information.

3.

What is the difference between an entity and an attribute?

a)

An attribute is a table in a database and an entity is a field

b)

An attribute is a record in a database and an entity is a table

c)

An attribute is a field in a database and an entity is a table

4.

Why would you create a primary key?

a)

To make each record in a database unique

b)

To make each field in a database unique

c)

To make each query in a database unique

5.

Which of the following defines the term 'field' in relation to databases?

a)

A field is all of the information about one person or one thing

b)

A field is the collection of all the database records on one topic or subject

c)

A field is one type or piece of information

6.

Which software do you use to make database?

a)

Microsoft Word

b)

Microsoft Excel

c)

Microsoft Publisher

d)

Microsoft Access

7.
A ________ database can use data from several tables at the same time. 
a)
flat-file
b)
relational
c)
3-d
8.
A row in a database.
a)
Record
b)
Field
c)
Entity
d)
Table
9.
A column in a database.
a)
Field
b)
Record
c)
Entity
d)
Validation
10.
What are the Four main objects in a database?
a)
Balance, Proximity, Unity, Consistency
b)
Spell Check, Grammar, Ruler, Tools
c)
Tables, Queriers, Forms, Reports
d)
Cells, Columns, Rows, Entry
11.

Which object would you create to share the data from your database with others?

a)

Form

b)

Report

c)

Query

d)

Table

12.
A rule to make sure that only reasonable and sensible data is entered.
a)
Filter
b)
Query
c)
Validation
d)
Verification
13.
A database search that can be saved as a separate file.
a)
Query
b)
Validation
c)
Filter
d)
Verification
14.
A unique identifying field.
a)
Primary Key
b)
Integer
c)
Verification
d)
Boolean
15.
What causes most errors in a database?
a)
SQL
b)
humans
c)
servers
d)
Internet access
16.
A health club wants to find all the members who use the club 3 days or more a week.  What will they put in the query in the 'days' SQL query criteria?
a)
>3
b)
<3
c)
<=3
d)
>=3
17.
The school wants to sort the data by staff Surname.  How will they sort it?
a)
Ascending order
b)
Descending order
18.
Which language is used to develop and manage databases?
a)
SQL
b)
C++
c)
HTML
d)
Java
19.
Which data type may contain text, numbers and/or certain special characters?
a)
Date/Time
b)
Text
c)
Number
d)
Currency
20.

What does "SQL" stand for?

a)

Structured Question Language

b)

Structured Query Language

c)

Simple Query Language

d)

Simple Question Language

21.

Using which word allows you to specify that more than one condition must be met in a query?

a)

Also

b)

And

c)

Or

d)

Where

22.

Which statement allows us to add a record to a table?

a)

Add To

b)

Update To

c)

Add Into

d)

Insert Into

23.

Less than or equal to?

a)

>=

b)

=>

c)

=<

d)

<=

24.

Which character returns all the data found in a table?

a)

%

b)

#

c)

*

d)

/

25.

Which word is missing from the following SQL statement?


Select * table_name

a)

With

b)

Where

c)

From

d)

And

26.

How do we select all rows for the "Designer" table?

a)

SELECT * FROM Designer

b)

SELECT [All] FROM Designer

c)

SELECT Designer.*

d)

SELECT FROM Designer

27.
What validation type checks that a field is not left blank?
a)
Format check
b)
Length check
c)
Presence check
28.

You have to create a PIN code for your phone that is 6 characters long. What type of check is this?

a)

Range check

b)

Length check

c)

Type check

29.

What is an atomic field?

a)

A field that contains multiple items of data

b)

A field that is repeated

c)

A field that contains only one item of data

30.

What is a foreign key?

a)

A unique identifier in a database

b)

A primary key of one table that appears in another table

c)

A field that should not be in a table and needs removing

31.
To be in 1NF: 
a)
Each field contains the smallest meaningful value
b)
There are multiple values in the single field
c)
There are no duplicate records
d)
A primary key is assigned
32.
To be in 2NF:
a)
Any field not relating to the PK is placed in a separate table
b)
The records all relate easily
c)
Each table has a foreign key
d)
There are no redundancies
33.

A Data Model normalised to 3rd Normal Form (3NF) meets the requirements of?

a)

1st Normal Form (1NF)

b)

2nd Normal Form (2NF)

c)

3rd Normal Form (3NF)

d)

1st, 2nd and 3rd Normal Forms (1/2/3NF)

34.
An ER diagram shows relationships between:
a)
Tables in a relational database. 
b)
Rows in a relational database. 
c)
Records with foreign keys. 
d)
Two items about which there is data kept. 
35.

Which validation method would you use for a user to choose a gender?

a)

Boolean

b)

Check digit

c)

Value lookup check

d)

Range check

36.

A composite key is ......

a)

A unique identifier

b)

A combination of two or more columns (fields) in a table that can be used to uniquely identify each row in the table

c)

Is a field in one table that refers to the PRIMARY KEY in another table.

37.

Is Not Null is an example of

a)

A RANGE check

b)

a PRESENCE check

c)

A LENGTH check

38.

Is Not Null And Like "###########" is an example of ....

a)

A PRESENCE and FORMAT check

b)

A LENGTH and RANGE check

c)

A LENGTH and TYPE check

39.

In the Test Plan what does R stand for?

a)

Erroneous

b)

Error

c)

Extreme

40.

Which is the most suitable to be used for a naming convention?

a)

Table_Customer

b)

TBL CUSTOMER

c)

TblCustomer