Tag Archives: introduction

PsuedoCode

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.

Psuedocode

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.

full-house

How would you draw this house?

Continue reading

Advertisements
Tagged
%d bloggers like this: