Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works

New to programming

  • Please log in to reply




  • Member
  • PipPip
  • 43 posts
I'm looking for a tutorial on pseudocode and how to properly translate eveyday task such as mowing lawn or driving a car into pseudocode. I have searched around on the internet but get a wide range of information. Any help would be useful.
  • 0




    Trusted Tech

  • Technician
  • 2,579 posts
Pseudocode is a way of thinking out a program in terms of a programming language, without actually using a programming language.

So, for example, for mowing the lawn, some pseudocode could look like:

if the lawn is greater than 5 inches long, then mow the lawn.
It could also look more formatted like a programming language:
function mowTheLawn()
   use lawnMower on lawn

if (lawn > 5)
Basically, pseudocode can look however you want it to look, as by definition it doesn't follow any specific syntax.
  • 0




  • Member
  • PipPipPip
  • 226 posts
Pretty much think about creating a set of instructions for a program, that a human can read. If you look at his examples, you can see that they are geared toward helping him write a program. However, someone who knows english can still understand what his instructions are.

If you were to look at making a program to simulate cooking, you can kind of look at the cooking directions as the pseudocode.
  • 0

Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP