What type of Code is this:
Have a dog walk around a garden 4 times
Repeating
Start at 3
Add 3 (loop 3 times)
12
You want the answer to be 20. Where is the Bug?
Start at 18
Add 4
Add 2
Start at 14
What is the output?
Start at 4
Add 4 (loop 3 times)
16
What type of figurative language doe this code make?
Write Big
Write Blue
Write Ball
Alliteration
What type of Code is this:
Drive up 1.
Drive down 4.
Eat apple.
Sequential
Start at 10
Subtract 2
Loop 2 times
6
You want the answer to be 10. Where is the Bug?
Start at 18
Subtract 4
Subtract 2
Start at 16
What is the output
Start at 20.
Subtract 2 (loop 5 times)
10
What type of figurative language did the code write?
Write Buzz
Onomatopoeia
What type of Code is this:
Drive up 4.
Drive right 3.
Loop 3 times.
Repeating
Start at 0,0
Move right 1
Move up 1
Where are you located now?
(1,1)
You want the answer to be 100. Where is the Bug?
Start at 50
Multiply by 2
Add 3
Remove, "Add 3"
Start at 100
Subtract 10 (loop 4 times)
60
What type of figurative language did the code write?
Write Time
Write is
Write like
Write a
Write wheel
simile
What type of Code is this:
Move up 3. If there is an apple, pick up. Otherwise, continue moving 3 up.
Nested
Add 3
Add 5
Output number
10
You want the answer to be 50. Where is the Bug?
Start at 20
Multiply by 3
Add 10
Multiply by 2
Start at 30
Multiply by 2 (loop 2 times)
120
What type of figurative language did the code write?
Write The
Write Tornado
Write is
Write hungry
personification
What type of code is this?
Move up AND change colour every 2 seconds.
Concurrent
Start at 100
Divide by 2
Add 5
55
You want the answer to be 1000. Where is the Bug?
Start at 200
Multiply by 8
Add 200
Multiply by 4
Start at 50
Add 7 (loop 4 times)
78
What type of figurative language did the code write?
Write The
Write Man
Write is
Write a
Write mountain
Metaphor