Algorithm and Flowchart WS 2
Algorithm and Flowchart WS 2
GRADE 7
The flowchart below displays a partly completed algorithm for a game that
simulates the throwing of three dice to find the player’s score.
• If all three are equal, then the score is the total of the dice.
• If two are equal the score is equal to the sum of the two equal dice minus
the third.
• If none are equal, then the score is zero.
1 Complete the flowchart of the algorithm.
Use the algorithm to calculate the
2 scores from the following dice throws:
a363
b545
3 It is possible to obtain a negative score using the algorithm.
State three dice numbers that would result in a negative score.
[1]
[10]