Flowchart
Arithmetic test
Flowchart content
Start
x = random number from 0 to 10
y = random number from 0 to 10
counter = 0
Is
counter == 1
or 4 or 7
or 10?
counter = counter + 1
Output
x "+" y "="
Input = answer
Is
answer ==
x+y ?
Yes
Output
"Correct! Well
done"
correctAnswer = correctAnswer+1
correctAnswer = 0
Output
"That is not correct"
Yes
No
Is
counter == 2
or 5 or 8?
Output
x "-" y "="
Input = answer
Is
answer ==
x-y ?
Yes
No
Output
x "X" y "="
Input = answer
Is
answer ==
x*y ?
Yes
No
Is
counter == 3
or 6 or 9?
Output
"You have scored"
correctAnswer
"correct answers"
Output
"What is your name?"
Name = input
End
No
No
No
Yes
Yes
Information
- Description
- GCSE Computing Flowchart on Arithmetic test, created by Holly Anderson on 09/12/2016.
- Created by
- Holly Anderson
- Views
- 2
- Rating