A step-by-step procedure for solving a problem, especially by a computer.
Shorthand notation for programming which uses a combination of informal programming structures and verbal descriptions of code.
The set of rules that defines the combinations of symbols that are considered to be a correctly structured document or fragment in that language.
Set of instructions that control the operation of a computer.
SUMMARY: The algorithm is used to generate the pseudocode which is further expanded by following a particular syntax of a programming language to create the code of the program.
Graph Paper Programming
In this activity, we are going to guide each other toward making drawings, without letting the other people in the group see the original image. Essentially you will develop an algorithm and encode it into a program.
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 color
Discussion Post:
The goal of this quick discussion is to call out that while robots may seem to behave like people, they're actually responding only to their programming. By "programming" one another to draw pictures, students get an opportunity to experience some of the core concepts of programming in a fun and accessible way. Write a reflection for this activity. Reflection questions to guide you:
How do you suppose that robots know how to do the things that they do?
Do robots have brains that work the same way that ours do?
What did you learn about algorithms and programs while participating in this activity?