StudyBrixFree worksheets, study guides and courses

Computer science · University

Functions and decomposition · revision notes

A reusable named block that can accept inputs and return a result.

Make a worksheet

Key ideas and conditions

Function

A reusable named block that can accept inputs and return a result.

Parameter

A local name representing an input in a function definition.

Return value

The result a function sends back to its caller.

Decomposition

Breaking a larger problem into smaller, testable parts.

Explain without looking

  1. Give a short example showing how Return value would be used in practice.
  2. Summarize why Decomposition matters in the lesson “Functions and decomposition”.

Further reading and review references

These are reference links, not copied exercises, institutional endorsement or proof of independent review.

AI-assisted preview; independent educational review required. Level labels describe prerequisites, not accreditation or official curriculum alignment.