Instructions are essential to everyday life and programming. Good instructions allow tasks to be completed correctly, clearly, and efficiently, even in the absence of an expert. In programming, instructions are given via code. If the instructions are unclear, ambiguous, or incomplete, the computer won’t interpret them correctly.
In this activity, you will explore the importance of precise, step-by-step directives by writing pseudocode to build a paper airplane. You may see firsthand how a lack of clarity can lead to unexpected results.
Understand the importance and difficulty of clear communication
Understand the step-by-step logic used by computers
Visualize the connection between writing each step of a task out and programming a similar task into a computer
Explore effective structuring practices for effective pseudocode and code
Two or more people (for collaborating and sharing code)
Writing utensil (pencil or pen)
8.5"x11" paper sheets
Tape (optional)
Code - A set of program instructions, provided to a computer to complete a specific task or application.
Instruction - A command that tells the computer processor to perform a specific operation.
Pseudocode - A simplified version of a programming language, generally used for the design of programs for specific applications.
When we write instructions for other people, we are able to use our words, visual aids, body language, and have a conversation to convey our message to the other people. When people are confused by our instructions, they are able to ask questions and obtain clarification. However, computers are not able to communicate and understand the same way humans can.
When we write instructions for computers, we must write exact and precise instructions. A computer will only do exactly what we tell it to do through code. When you code in any language, you must be aware of how a machine will interpret your directions. Unlike humans, most computers will not be able to make assumptions about what you don’t say, nor will they be able to make decisions on actions they don’t recognize. They generally don’t have access to context, body language, or all of the other patterns we are so accustomed to recognizing as humans.
Acquaint yourself with why computer instructions are necessary
Review the task, rules, and hints, then write your pseudocode.
Swap written instructions with a partner to test the written pseudocode.
There are multitudes of available resources to assist in furthering your understanding of the concepts presented in this activity. The resources listed below are here to help you get started.