Task summaryWhat you will learn:
How to follow an algorithm using a flowchart How to represent algorithms using pseudo code How you will be assessed: Wizard championships worksheet |
Key terminologyAlgorithm:
A set of instructions that a computer follows that leads to an output or result Pseudo code: Simplified programme code representing an algorithm |
Activities
Residents attackedTo the left you'll find 8 residents who have been attacked by dragons. Using the clues below work out how 3 of the residents were attacked.
Attack 1: IF hair = ginger and mustache = ginger THEN attack = lost finger Attack 2: IF wearing hat = true and glasses = true THEN attack = house burnt down Attack 3: IF female = true and hat = false and hair = long THEN attack = broken leg |
Wizards and dragons collide
Following the attacks on the residents the wizard that your class chose last week has arrived to take on the dragons.
Using the shared spreadsheet (your teacher will share this with you) select dragons at random that your wizard will battle. You could place your dragon names into this random name selector. For each dragon that you select use the wizard spell (found here) and let your dragons and wizards fight it out. Part of the spell asks for two random attributes for the dragon and wizard, you can find a scratch project here that will randomly select these. |
Assessment Task 4
The BattleAnother battle has broken out. This time all wizards are involved. Complete this form to show your understanding of the magic spell (algorithms and Pseudo code).
Going for Gold Some of these battles are quite tricky. Complete al of the questions with a good score to gain gold in this assessment task. |