# Student Handout — Return Values, Scope (Local vs Global), & Code Reusability

- Link: https://doss.academy/course-3-introduction-to-programming/unit-5-modular-programming-user-defined-methods/lesson-2-return-values-scope-local-vs-global-code-reusability/student-handout/
- Published: 2026-10-18T12:31:14-04:00
- Author: matthew.leffler@jefferson.kyschools.us

Course 3: Introduction to Programming / Unit 5: Modular Programming & User-Defined
Methods / Lesson 2: Return Values, Scope (Local vs Global), & Code Reusability

## Variable Scope & Return Values Reference.

Name: ____________________ Date: ____________________

## Explore and practice

Variable scope presentation, return value tracing lab, and modular utility building.

## Record your work

Describe what you tried, show your work or attach your artifact, and explain what
your evidence demonstrates.

________________________________________________________________

________________________________________________________________

________________________________________________________________

## Use the vocabulary

Return Value, Local Scope, Global Scope, Name Space, Code Reusability, Side Effect,
Function Output, Lifetime, Variable Binding, Encapsulation

Use relevant terms above to explain one part of your work.

## Check and reflect

 * I completed the assigned activity and recorded my work.
 * I used lesson vocabulary accurately.
 * I can explain one thing I learned and one question I still have.
