Functions, Parameters, and Return Values

Chapter 08 of 13 · Beginner

Define small function contracts and trace how arguments become local parameters and returned results.

Start Chapter Practice

Chapter plan

What you will be able to do

  • State a function's inputs, output, assumptions, and side-effect boundary.
  • Distinguish parameters in a definition from arguments in a call.
  • Trace local values through a function to an explicit return.
  • Test a focused function independently with normal and boundary examples.
Study time
2633 minutes, self-paced
Course
Programming Logic & Debugging (Beginner)
Practice order
Four sets, completed in sequence

Chapter practice

Practice in chapter order

10 activities · 80% mastery target