Software Engineering Vocabulary

syntax. = language rules like spelling, indentation, punctuation
debugging. = find and fix errors

functions.= reusable code (user defined or provided by the system)

parameters = the information that is sent into a function

decomposition. = divide up code (then you have to put it back together again!)
loops. = repeat code
documentation. = comments. Notes for humans to understand the code start with #
algorithm. = a detailed plan



the comments are green

the parameters are blue

there is one function named flower that is defined at the top

there is a loop that repeats 5 times

the basic algorithm is:

  1. go to the starting position
  2. repeat 5 times:
    1. draw a flower
    2. draw the step
    3. move to the next location
  3. draw the ground underneath