Skip to content
PlayOwl

Coding · Grade 5

Functions and Parameters

Fifth graders define procedures with several parameters and call them with arguments, write functions that RETURN values used in expressions, trace calls inside loops and nested calls, and decompose programs (and robot routes) into functions with one clear job each.

  • 4 lessons
  • About 90 minutes
  • Functions check: 8 questions
  • Ways to answer: program with blocks, choose an answer, trace code, match pairs, type a number and sort into groups
Try it now (no account) One of the five free starter courses Open in PlayOwl

What learners will discover

  • Define a procedure with one or more parameters and call it with arguments.
  • Write and use functions that return a value, and tell functions from procedures.
  • Trace programs with calls, parameters and return values, including calls in loops and nested calls.
  • Decompose a task into functions with clear jobs, including a robot function used with loops.

Lessons

  1. Procedures with parameters 4 steps2 practiceabout 17 min
  2. Functions that return a value 5 steps3 practiceabout 17 min
  3. Tracing calls in loops 4 steps2 practiceabout 16 min
  4. Designing with functions 5 steps2 practiceabout 17 min
  5. Functions check 8 questions at the end

Keep exploring

Games to practice with

More 5th grade coding

Guide for grown-ups