Types of Code
What Will Happen
Find the Bug
Press Repeat
coding Poetry?
100

What type of Code is this:

Have a dog walk around a garden 4 times

Repeating

100

Start at 3

Add 3 (loop 3 times)

12

100

You want the answer to be 20. Where is the Bug?

Start at 18

Add 4

Add 2

Start at 14

100

What is the output?

Start at 4 

Add 4 (loop 3 times)

16

100

What type of figurative language doe this code make?

Write Big

Write Blue

Write Ball

Alliteration

200

What type of Code is this:

Drive up 1.

Drive down 4.

Eat apple.

Sequential

200

Start at 10

Subtract 2

Loop 2 times

6

200

You want the answer to be 10. Where is the Bug?

Start at 18

Subtract 4

Subtract 2

Start at 16

200

What is the output

Start at 20.

Subtract 2 (loop 5 times)

10

200

What type of figurative language did the code write?

Write Buzz

Onomatopoeia

300

What type of Code is this:

Drive up 4.

Drive right 3.

Loop 3 times.

Repeating

300

Start at 0,0

Move right 1

Move up 1

Where are you located now?

(1,1)

300

You want the answer to be 100. Where is the Bug?

Start at 50

Multiply by 2

Add 3

Remove, "Add 3"

300

Start at 100

Subtract 10 (loop 4 times)

60

300

What type of figurative language did the code write?

Write Time

Write is

Write like

Write a

Write wheel

simile

400

What type of Code is this:

Move up 3. If there is an apple, pick up. Otherwise, continue moving 3 up.

Nested

400
Start at 2


Add 3

Add 5

Output number

10

400

You want the answer to be 50. Where is the Bug?

Start at 20

Multiply by 3

Add 10

Multiply by 2

400

Start at 30

Multiply by 2 (loop 2 times)

120

400

What type of figurative language did the code write?

Write The

Write Tornado

Write is

Write hungry

personification

500

What type of code is this?


Move up AND change colour every 2 seconds.

Concurrent

500

Start at 100

Divide by 2

Add 5


55

500

You want the answer to be 1000. Where is the Bug?

Start at 200

Multiply by 8

Add 200

Multiply by 4

500

Start at 50

Add 7 (loop 4 times)

78

500

What type of figurative language did the code write?

Write The

Write Man

Write is

Write a

Write mountain

Metaphor