wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Databases

Total questions: 25

Worksheet time: 13mins

Name
Class
Date
1.

Which is the best description of a database?

a)

Stores data

b)

Stores data in a organised structure and messy way

c)

Stores data in an organised and logical structure

d)

Stores data in an unorganised and untidy structure

2.
Which of the following describes a relational database?
a)
Access
b)
A database that has a table
c)
There are two or more tables that are linked using the primary keys
d)
There are more than one table that have duplicate data
3.
Text/String, Integer, Real/Float, Boolean and Date/Time are all examples of...
a)
Data Types
b)
Filters
c)
Sorts
d)
Validations
4.
A unique identifying field.
a)
Primary Key
b)
Integer
c)
Verification
d)
Boolean
5.
A data type that can only hold 2 values e.g. Yes/No or True/False.
a)
Boolean
b)
Integer
c)
Real
d)
String
6.

Which of these could be a primary key?

a)

ID number

b)

Surname

c)

Teacher name

d)

Students addresses

7.
What is the primary key in this database?
a)
Emp_Id
b)
Last Name
c)
Gender
d)
Title
8.

What is the definition of a Foreign Key?

a)

A field in a table that is written in another language

b)

A field in a table that links to the World Wide Web

c)

A field in a table that cannot be edited or accessed by users

d)

A field in a table that is used as a link to a field in another table

9.

How would you define a relational database?

a)

A database consisting of data relating to families

b)

An online database

c)

A database linked to another database

d)

A database consisting of multiple tables, that are linked using keys

10.

What type of field would be best to store the following text: "AA-00-67"

a)

Number

b)

Currency

c)

Date

d)

Text

11.

What is the definition of a database entity?

a)

Another name for a table

b)

A way of performing searches and sorts in a database

c)

It represents people, places, objects or things stored in tables in a database

d)

A way of linking tables in a database

12.
Which type of relationship best describes the following?

Head teacher who runs a School
a)
One to one
b)
Many to many
c)
One to many
13.
Which of these is a one to many relationship?
a)
Customer and order
b)
Mum and children
c)
Printer model and cartridge 
d)
All of the above
14.

The best data type to choose for a postcode/zipcode would be:

a)

Number

b)

Date/Time

c)

Text

d)

Currency

15.

The best data type to choose for date of birth would be:

a)

Text

b)

Number

c)

Currency

d)

Date/Time

16.

To find a particular set of data in a database you would use a:

a)

Table

b)

Form

c)

Query

d)

Report

17.

A RDBMS consists a collection of ?

a)

Tables

b)

Fields

c)

Records

d)

Keys

18.

SQL is

a)

Structured Query Language

b)

Simple Query Language

c)

Structured Question Language

d)

Structure Quality Language

19.

With SQL, how do you select all the columns from a table named "Persons"?

a)

SELECT * FROM Persons;

b)

SELECT ALL Persons;

c)

SELECT [all] FROM Persons;

d)

SELECT *.Persons;

20.

What does RDBMS stand for?

a)

Relational Database Basic Management System

b)

Relational Database Management System

c)

Required Database Management Setup

d)

None of these

21.

The SQL statement that queries or reads data from a table is ________

a)

SELECT

b)

READ

c)

QUERY

d)

None of the above is correct.

22.

A database table can have __________ primary key(s).

a)

any no: of

b)

exactly one

c)

three

d)

two

23.

A database table can have ____ number : of Foreign Keys.

a)

1

b)

2

c)

4

d)

any

24.

Which is the first stage when drawing an ERD for a database?

a)

Idea

b)

Complete

c)

Conceptual

d)

Physical

25.

What does ERD stand for?

a)

Environmental Research Division

b)

Extended Reach Drilling

c)

Evil Rubber Duckie

d)

Entity Relationship Diagram