Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

OCR Computer Science 2.3 Testing

Total questions: 7

Worksheet time: 4mins

Name
Class
Date
1.

What are syntax errors? choose two

a)

When the program doesn't do what you want

b)

When programs do not meet the rules or grammar of the language

c)

When you make a spelling mistake

d)

Errors preventing the code running

2.

What are logic errors?

a)

An error that does not stop the code from executing

b)

When the logic gates are incorrectly connected

c)

An error where the logic doesn't make sense

d)

Code that does not give the desired output

3.

Syntax error, logic error or is this code OK?

a)

Syntax error

b)

Logic error

c)

It is great programming, well done Mr Taylor

4.

Syntax error, Logic error or this code is perfect?

a)

Another great program, it is all ok

b)

Syntax error

c)

Logic error

5.

Iterative testing is.....

a)

Testing code which iterated through input

b)

Testing is input

c)

Testing parts of the code during programming

d)

Testing when the program is complete

6.

Terminal 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

7.

It is important to test code with a range of data. Which of the following is a recognised type of test data? choose four

a)

Valid

b)

Extreme/boundary

c)

Null/non-existent

d)

Critical

e)

Invalid