Louise writes a program to work out if a number entered by the user is odd or even. Her first attempt at this program is shown.
The program contains a logic error on line 02.
State what is meant by a logic error.
Unit 2.3 Testing

Quiz
•
Computers
•
11th Grade
•
Easy
Sarah Burchell
Used 1+ times
FREE Resource
7 questions
Show all answers
1.
OPEN ENDED QUESTION
3 mins • 1 pt
Evaluate responses using AI:
OFF
2.
OPEN ENDED QUESTION
5 mins • 1 pt
Give a corrected version of line 2 that fixes the logic error
Evaluate responses using AI:
OFF
3.
OPEN ENDED QUESTION
3 mins • 1 pt
The program contains a syntax error on line 05.
State what is meant by a syntax error.
Evaluate responses using AI:
OFF
4.
OPEN ENDED QUESTION
3 mins • 1 pt
Give a corrected version of line 05 that fixes the syntax error
Evaluate responses using AI:
OFF
5.
OPEN ENDED QUESTION
3 mins • 2 pts
A vending machine has the following options available.
Users insert coins into the vending machine and then enter the two character item code of their selection. If the user has inserted enough money, the vending machine will release the chosen item and output any change required. If the user enters an invalid item code then a suitable error message is displayed.
The vending machine is tested before it is released.
Explain the purpose of testing the vending machine
Evaluate responses using AI:
OFF
6.
OPEN ENDED QUESTION
3 mins • 2 pts
Describe the difference between iterative and final testing
Evaluate responses using AI:
OFF
7.
OPEN ENDED QUESTION
5 mins • 3 pts
Complete the following test plan for the vending machine
Type in row going along order e.g. row 1 starts with B1,
so row 2 = , row 3 = and row 4 =
Evaluate responses using AI:
OFF
Similar Resources on Quizizz
12 questions
Python Gr 12

Quiz
•
11th - 12th Grade
10 questions
7.9 Identifying and Correcting Errors Cambridge IGCSE 0478

Quiz
•
10th Grade - University
10 questions
Topic 1.1 Video 3 - Syntax and Logic Errors

Quiz
•
11th Grade
10 questions
Iterative Development Process

Quiz
•
9th - 12th Grade
11 questions
List of References

Quiz
•
9th - 12th Grade
8 questions
Python Debugging

Quiz
•
9th - 12th Grade
8 questions
Python Introduction Quiz

Quiz
•
7th - 11th Grade
11 questions
Python Boolean

Quiz
•
11th - 12th Grade
Popular Resources on Quizizz
10 questions
Chains by Laurie Halse Anderson Chapters 1-3 Quiz

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
15 questions
Character Analysis

Quiz
•
4th Grade
12 questions
Multiplying Fractions

Quiz
•
6th Grade
30 questions
Biology Regents Review #1

Quiz
•
9th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
Discover more resources for Computers
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
50 questions
Biology Regents Review: Structure & Function

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
14 questions
Attributes of Linear Functions

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
50 questions
Biology Regents Review 2: Ecology

Quiz
•
9th - 12th Grade
20 questions
Investing

Quiz
•
9th - 12th Grade