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
10 questions
Programming - Syntax & Logic Errors

Quiz
•
3rd - 12th Grade
11 questions
Translators

Quiz
•
11th Grade
11 questions
71. Prog_Lang - Assembler, Compiler, and Interpreter Quiz

Quiz
•
9th - 12th Grade
11 questions
Python Boolean

Quiz
•
11th - 12th Grade
10 questions
Global and local variables

Quiz
•
10th - 12th Grade
12 questions
Python Gr 12

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

Quiz
•
11th Grade
11 questions
AP CSP Vocab Quiz BI 1, 2

Quiz
•
9th - 12th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade