Introduction to PseudoCode

Introduction to PseudoCode - Introduction Pseudo code(or...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Introduction Pseudo code (or Structured English) is used to specify program logic in a (somewhat) English like manner, that aims to be independent of any particular programming language. This simplifies program development by separating it into two main parts, logic design and coding. The use of pseudo code allows the programmer to focus on the logic of the program rather than implementation details such as how data is displayed Once the logic is developed, coding becomes the translation of the pseudo code into the required programming language. Sequence Assignment Format variable = expression Examples total = 0 y = x * x + z / 4 - 1 name = "Joan Smith" validLength = True Input Format Input variable, variable, . .. Examples Input custName Input distance, speed Display Format Display value, value, . .. Examples Display "Hello World" Display totalPrice, taxPayable Display "Customer Number: ", custNum, "Name: ", custName Selection If-Else Format IF condition THEN statement statement ...
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
ENDIF IF condition THEN statement statement ... ELSE statement statement ... ENDIF
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 08/12/2011 for the course IT 215 taught by Professor Danielreddy during the Spring '11 term at University of Phoenix.

Page1 / 7

Introduction to PseudoCode - Introduction Pseudo code(or...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online