Monthly Archives: March 2013

Remote Controlled Car

The first assignment is to write psuedocode for a remote control car like the one here.


Here is the functionality of the remote. The left control moves up and down. This is your forward and reverse. The right control moves left and right which controls the direction of the car. There is a power switch and a power indicator light. Batteries must be considered when writing your psuedocode.


  • The left control has 3 positions: top 100% forward motion, middle is stop and bottom is 100% reverse motion.
  • The right controller turns the wheels of the car up to a 45 degree angle in either direction. The middle is 0 degrees, right is 45 and left is -45
  • The controller is initially off
  • The batter has NOT been depleted of it’s energy
  • Left and Right controls start in their middle positions (no motion/stop and going straight)

My answer will be posted in a following post.



I believe that before you can even begin to write programs you need to be able to think like a programmer. Basically you need to be able to break down a problem into the simplest of ideas and thoughts. You can do this before you ever learn a programming language by learning how to write the problem’s solution out in English or as we tend to call it psuedocode.

Psuedocode is an informal high-level description of the operating principle of a computer program or other algorithm.

The first few lessons will be focusing on turning everyday simple machines into psuedocode. By the end we will be implementing simple games like guess my number and hangman in psuedocode.

But before we begin trying our hand at some psuedocode we first must learn how to write psudeocode so that it can easily be read and in turn translated into an actual program.


The first thing you need to do is break down the problem into smaller pieces until you have a basic statement. As an example we will draw a simple house with one door, two windows and a chimney, like the one below.


How would you draw this house?

Continue reading



My girls are 7 and almost 6 at the time of writing this article.  We decided we wanted our kids to understand how computers work and teach them the basics of programming.  Thankfully I do that for a living.

I am not a teacher however so these aren’t going to be lesson plans per say, but the thoughts and ideas that go into teaching someone with a much smaller knowledge base than you namely children.

I’d love to hear thoughts and comments on what these posts bring.  Hopefully my children will love doing this and if the start early enough maybe they’ll know what they want to be when they grow up sooner rather than later.

%d bloggers like this: