Cards (4)

  • A function is a named sequence of statements that performs a computation.
  • The standard procedure of a function is when it is called with an argument, and then returns a return value.
  • A parameter is a variable inside the parentheses of a function header, while an argument is the values actually being passed into the function.
  • Local variables only exist inside the function, whereas Global variables exist anywhere in the program.