Codecademy Logo

Software Development Basics


Pseudocode is a description of an algorithm using everyday wording, but molded to appear similar to a simplified programming language.

define password
create a pass_length variable and set it to 0
create a contains_number variable and set it to False
if the entire password hasn't been searched:
iterate to the next character of the password
increment the pass_length variable
if the current character of the password contains number:
set contains_number to True
if pass_length is greater than 8 and if contain_number is equal to True:
valid password
invalid password

Flowchart Shapes

In code-based flowcharts, common ANSI shapes are ovals for terminals, arrows for flowlines, rhomboids for inputs and outputs, rhombuses for decisions, and rectangles for processes.

Learn More on Codecademy