Programming Languages

PDFs
Can't find a translation? Check our projects page for status.
Harold the Robot

In this activity children simply give directions to a “robot” (either an adult or another child) and find out which instructions the robot is able to follow, and how their instructions are taken literally.

This simple but effective activity was invented at a workshop for Postgrad Computer Science students in April 2008.

Contributed by:
Richard Nelson, Jason Clutterbuck, Sebastian Höhna, Stefan Marks and Wilson Siringoringo

  • Robots need simple instructions
Extension 
Other Resources 
  • Karel the Robot website with fundamentals and activities is an excellent method for introducing students to computer programming is described by Richard E. Pattis in his book titled Karel the Robot . By initially limiting the student's language repertoire to easily grasped imperative commands whose actions are visually displayed, the Karel approach quickly introduces students to such concepts as procedures and the major control structures. Although originally based on Pascal, the Karel approach has been used successfully with several different computer programming languages. These pages describe a version of Karel that uses the C / C++ language.

  • Mordechai (Moti) Ben-Ari from the Weizmann Institute of Science, Israel has programmed Karel the Robot programs in Scratch in Scratch . These programs provide a framework for implementing Karel the Robot programs in Scratch. The correspondence is not precise, but the learner who knows Scratch can experience robot programming without learning a new programming language and environment.

    This can be downloaded in a zip file of the complete set of activities . Please read the ReadMe.txt and the included text file named "scratch-karel" for more documentation on using these programs.

Log In