Unit 7 Vocabulary

Subprogram

A collection of commands that are given a name.

def

A command that creates a function or subprogram.

Main

The central part of the program.

Parameter

A variable used to send information to a subprogram.

return

A keyword that tells a function or subprogram what value to send back.

local variable

A variable that exists only inside a function.

Tracing code

Reading through code to find errors and predict results.