wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

errors and testing

Total questions: 15

Worksheet time: 6mins

Name
Class
Date
1.
Syntax errors are caused by incorrectly typed source code.
a)
True
b)
False
2.
A program won't run if there is a logic error.
a)
False
b)
True
3.
Which statement best describes logic errors?
a)
An error in a program that causes it to produce incorrect ouputs but not a crash.
b)
An error in a program that causes it to crash.
c)
An error in the program caused by mis-spelt instructions.
d)
An error in a program caused by hardware failure.
4.
Which country is this?
a)
Costa Rica
b)
Nicaragua
c)
Panama
d)
Honduras
5.

Is this a logical or syntax error?

a)

Logical error

b)

Syntax error

6.

Is this a logical or syntax error?

a)

Logical error

b)

Syntax error

7.

Is this a logical or syntax error?

a)

Logical error

b)

Syntax error

8.

Which country is this the flag of?

a)

South Africa

b)

Botswana

c)

Zimbabwe

d)

Namibia

9.

Is this a logical or syntax error?

a)

Logical error

b)

Syntax error

10.

Is this a logical or syntax error?

a)

Logical error

b)

Syntax error

11.

Identify the flag of Romania....

a)
b)
c)
d)
12.

Is this a logical or syntax error?

a)

Logical error

b)

Syntax error

13.

What is iterative testing?

a)

Testing completed after an error is found

b)

Rom tests on a computer program

c)

Tests completed as the program is being coded

d)

Tests which are planned

14.

Final testing is.....

a)

when you test code from a networked terminal

b)

when a terminal error causes the code to crash

c)

when to carry out final testing when the code is complete

d)

when you code is so bad to need to delete it and start again

15.

What is a Count-Controlled loop?

a)

for loop

b)

while loop