At the conclusion of this activity, the student will learn the following coding concepts:
  1. Basic Sequences
  2. Patterns and Procedures
  3. Overloads
  4. Loops
  5. Conditionals

Computer Coding or Computer Programming is all around us. There is programming "behind the scenes" in many things that you encounter in your daily life. Whether or not you aspire to be a computer programmer or not, learning the ideas behind computer programming will be helpful. This lesson is designed to be fun, challenging, and teach you a little bit about computer coding. Enjoy!

Learn core programming logic starting from super-basic programming. Learn how to sequence commands, identify patterns, use procedures, overloads, conditionals, and utilize loops!
Lightbot Activity

This activity begins very basic and gets increasingly challenging. It may be more helpful to work in teams of 2-3 kids so that you can talk through challenges together. If you are on a computer, click the Web button to get started. The other buttons will help you if you want to download the app to an iOS device or an Android device.

  1. Click a command to move it into the command box (MAIN or PROC). Click a command in the command box to remove it.
  2. BE the robot. Put yourself in the robot's position... which way does the robot turn?
  3. Turns (left, right) are just turns. You have to use the forward command to move.
  4. The jump command makes the robot jump in the direction he's looking.
  5. The jump command will only go UP one level, but can jump DOWN multiple levels.
  6. Look for patterns then put them in the Procedures sections (P1 or P2).
  7. Try to do these challenges in as few steps as you can.
  8. In more complex puzzles, write your commands in parts. Do a little, try it, then build on it.
  9. If you try and fail, change the part of your code that went wrong, and try again. That's called "de-bugging."

Web Resources: