Coding
Algorithm - Say it with me: Al-go-ri-thm
A list of steps that you can follow to finish a task
Program - Say it with me: Pro-gram
An algorithm that has been coded into something that can be run by a machine
A list of steps that you can follow to finish a task
Program - Say it with me: Pro-gram
An algorithm that has been coded into something that can be run by a machine
Introduce Graph Paper Programming
In this activity, we are going to guide each other toward making drawings, without letting the other people in our group see the original image.
For this exercise, we will use sheets of 4x4 graph paper. Starting at the upper left-hand corner, we’ll guide our teammates’ Automatic Realization Machine (ARM) with simple instructions. Those instructions include:
In this activity, we are going to guide each other toward making drawings, without letting the other people in our group see the original image.
For this exercise, we will use sheets of 4x4 graph paper. Starting at the upper left-hand corner, we’ll guide our teammates’ Automatic Realization Machine (ARM) with simple instructions. Those instructions include:
- Move One Square Right
- Move One Square Left
- Move One Square Up
- Move One Square Down
- Fill-In Square with colour
That’s simple enough, but it would take a lot of writing to provide instructions for a square like this:
With one little substitution, we can do this much more easily! Instead of having to write out an entire phrase for each instruction, we can use arrows.
In this instance, the arrow symbols are the “program” code and the words are the “algorithm” piece. This means that we could write the algorithm:
“Move one square right, Move one square right, Fill-in square with color”
and that would correspond to the program:
“Move one square right, Move one square right, Fill-in square with color”
and that would correspond to the program:
Using arrows, we can redo the code from the previous image much more easily!
Practice Together
Start your class off in the world of programming by drawing or projecting the provided key onto the board.
Start your class off in the world of programming by drawing or projecting the provided key onto the board.
Your turn to have go:)
- You will be in pairs
- Choose an image from the worksheet.
- Discuss the algorithm to draw that image with partner.
- Convert algorithm into a program using symbols.
- Trade programs with another pair and draw one another's image.
- Choose another image and go again!
activity1-graphpaperprogramming.pdf | |
File Size: | 584 kb |
File Type: |
WRAP-UP (5 MIN)
What did we learn?
Vocab Shmocab
- What did we learn today?
- What if we used the same arrows, but replaced "Fill-In Square" with "Lay Brick"? What might we be able to do?
- What else could we program if we just changed what the arrows meant?
Vocab Shmocab
- Which one of these definitions did we learn a word for today?
"A large tropical parrot with a very long tail and beautiful feathers"
"A list of steps that you can follow to finish a task"
"An incredibly stinky flower that blooms only once a year"
...and what is the word that we learned?
- Which one of these is the most like a "program"?
*A shoebox full of pretty rocks
*Twelve pink flowers in a vase
*Sheet music for your favorite song
Explain why you chose your answer.