wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Databases 701

Total questions: 15

Worksheet time: 9mins

Name
Class
Date
1.

Copy and complete the sentence using the following words: organized, related, database.

A________________________ is an ________________________ collection of ________________________ data.

(The answer should appear answer1, answer2, answer3)

(a)  

2.

A database is used to

a)

Calculate figures

b)

Store data in a logical order

c)

Layout pages attractively

d)

Present material using animations

3.

Rows in a database tables are called...

a)

Fields

b)

Tables

c)

Records

d)

Forms

4.

Which of the following would be used to uniquely identify a record

a)

Field size

b)

Validation

c)

Data type

d)

Primary Key

5.

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

a)

Table

b)

Form

c)

Query

d)

Report

6.

What do we use to connect tables in a relational database:

a)

Foreign Key

b)

Query

c)

Fields

d)

Table

7.
A data type that can only hold 2 values e.g. Yes/No or True/False.
a)
Boolean
b)
Integer
c)
Real
d)
String
8.

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

9.

Which of the following is a Structured Query Language (SQL) command that lets you view information stored in a database?

a)

GRANT

b)

RETRIEVE

c)

SELECT

d)

CREATE VIEW

10.

Which of the following is a SQL statement?

a)

if len(sys.argv) != 2: print usage sys.exit(0)

b)

SELECT * FROM Orders WHERE OrderID=5

c)

=IF(C3>=65,"Pass","Fail")

d)

var rollDie = (Math.floor(Math.random() * 6) +1

11.

What does SQL stand for?

a)

Sequal Query Language

b)

Structured Quotes Language

c)

Structured Query Language

d)

Sequential Query Language

12.

A data structure in a relational database that is comprised of fields (columns) and records (rows).

a)

Table

b)

SQL

c)

NoSQL

d)

Report

13.

INSERT command helps to...

a)

Delete information from a table

b)

Add new information to a table

c)

Change the information of a field in a table

d)

There is no INSERT command in databases

14.

Difference between DROP and DELETE is:

a)

DROP: eliminates a table.

DELETE: eliminates a record (row)

b)

DROP: eliminates a record (row)

DELETE: eliminates a table.

c)

There is no difference, both do the same

d)

DROP doesn't exist and DELETE eliminates a table.

15.

Line 35 is made to:

a)

Add a row (record) to add phone numbers with a lenght of 10 digits

b)

Add a column (field) to delete phone numbers in the 10th row of a table

c)

Add a column (field) to add phone numbers with less than 10 digits

d)

Add a column (field) to add phone numbers with a lenght of 10 digits