Font size
Worksheets2.3 Producing Robust Programs
Total questions: 12
Worksheet time: 6mins
What does a range check do?
Checks data across a range of numbers
Checks the data is within an acceptable range
Where three types of data are used
Checks that the data is in the correct format
Which of these is not a method for ensuring a program is robust?
Keeping passwords safe
Input Validation
Authentication
Anticipating Misuse
What is iterative testing?
Testing completed after an error is found
Rom tests on a computer program
Tests completed as the program is being coded
Tests which are planned
A program asks a user to enter a temperature in degrees Celsius. Which of the following would be used as normal test data (click all that apply)
-8
12
70
Hot
A program asks a user to enter a temperature as a number in degrees Celsius. Which of the following would be used as Erroneous test data
Hot
20
-10
Twenty
The user has created a game for high school students. The game asks the user to enter their age. From the list below which of these could be a boundary test data.
11
13
45
19
An error where the code written doesn’t meet the rules of the programming language is called a...?
Logic Error
Run-time error
Syntax Error
Data Error
An error where the code is written in accordance with the programming rules and runs, however, the program produces unexpected results is called a...?
Logic Error
Run-time error
Syntax Error
Data Error
Syntax error, logic error or is this code OK?
Syntax error
Logic error
It is great programming, well done!
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
