WorksheetsOCR Computer Science 2.3 Testing
Total questions: 7
Worksheet time: 4mins
What are syntax errors? choose two
When the program doesn't do what you want
When programs do not meet the rules or grammar of the language
When you make a spelling mistake
Errors preventing the code running
What are logic errors?
An error that does not stop the code from executing
When the logic gates are incorrectly connected
An error where the logic doesn't make sense
Code that does not give the desired output
Syntax error, logic error or is this code OK?
Syntax error
Logic error
It is great programming, well done Mr Taylor
Syntax error, Logic error or this code is perfect?
Another great program, it is all ok
Syntax error
Logic error
Iterative testing is.....
Testing code which iterated through input
Testing is input
Testing parts of the code during programming
Testing when the program is complete
Terminal testing is.....
when you test code from a networked terminal
when a terminal error causes the code to crash
when to carry out final testing when the code is complete
when you code is so bad to need to delete it and start again
It is important to test code with a range of data. Which of the following is a recognised type of test data? choose four
Valid
Extreme/boundary
Null/non-existent
Critical
Invalid
