Lesson 2.3.2
2.3.2 Testing Quiz: OCR Computer Science, Unit 9
20 questions
In partnership with Revision Ninja
Lesson 2.3.2, Testing: 20 multiple choice questions for the OCR GCSE Computer Science (J277), Unit 9: Producing robust programs, written with Revision Ninja.
Host it live on the board and students join with a game code on their own devices, or revise alone with Free Play. The answers are revealed in the game.
The 20 questions
-
What type of testing checks if the whole completed program meets user requirements?
- Logic testing
- Syntax testing
- Final testing
- Iterative testing
-
What type of testing is performed repeatedly on individual modules during development?
- Final testing
- Boundary testing
- Iterative testing
- Terminal testing
-
Which testing method is carried out by developers while the program is still being written?
- Release testing
- Iterative testing
- Beta testing
- Final testing
-
Which type of test data should be accepted by a program without causing errors?
- Erroneous
- Boundary
- Normal
- Invalid
-
For a valid range of 1 to 100, which value is boundary test data?
- 150
- 50
- hello
- 100
-
For an age input that should be between 1 and 100, which value is invalid test data?
- 150
- 50
- 100
- 1
-
For an integer age input, which value is erroneous test data?
- twelve
- 150
- 0
- 12
-
What two key items of information does a standard test plan record for each test?
- Flowcharts and pseudocode
- Author and creation date
- Inputs and expected results
- Code and compiler version
-
Which value is normal test data for a mark out of 100?
- -1
- 45
- 101
- forty
-
What type of error is caused by dividing a number by zero during program execution?
- Logic error
- Syntax error
- Runtime error
- Compile error
-
What type of error is caused by a misspelled programming keyword?
- Syntax error
- Run-time error
- Logic error
- Arithmetic error
-
What happens when a test's actual result matches its expected result?
- Test fails
- Test passes
- Data rejected
- Error occurs
-
Which test value represents a boundary case for a password requiring at least 8 characters?
- 15 characters
- 0 characters
- 8 characters
- 5 characters
-
What benefit does using a test plan with expected results provide?
- Automatic debugging
- Objective comparison
- Faster execution
- Code optimisation
-
A program passes all normal and boundary tests but fails when text is entered in a number field. Which type of test data was missing?
- Erroneous test data
- Logic testing
- Iterative testing
- Final testing
-
Which test data type checks the edge of acceptable input values?
- Normal data
- Extreme data
- Erroneous data
- Boundary data
-
What type of error produces incorrect program output without crashing the software?
- System error
- Runtime error
- Syntax error
- Logic error
-
Which test would check that a number field rejects -5 when only positive whole numbers are allowed?
- Invalid test data
- Erroneous test data
- Boundary test data
- Normal test data
-
What test data value should be used to check that an empty name is rejected?
- Valid character
- Boolean false
- Null string
- Integer zero
-
A program accepts temperatures from -10 to 40 degrees. Which value is boundary test data?
- hot
- 0
- -10
- 45
Related quizzes
- Defensive design Quiz · 2.3.1 · 20 questions
- Architecture of the CPU Quiz · 1.1.1 · 20 questions
- Primary storage (memory) Quiz · 1.2.1 · 20 questions
- Networks and topologies Quiz · 1.3.1 · 20 questions
- Threats to computer systems and networks Quiz · 1.4.1 · 20 questions
- Operating systems Quiz · 1.5.1 · 20 questions
- Ethical, legal, cultural and environmental impact Quiz · 1.6.1 · 20 questions
- Computational thinking Quiz · 2.1.1 · 20 questions
- Programming fundamentals Quiz · 2.2.1 · 20 questions
- Boolean logic Quiz · 2.4.1 · 20 questions