Key Terms — Return Values, Scope (Local vs Global), & Code Reusability
Course 3: Introduction to Programming / Unit 5: Modular Programming & User-Defined Methods / Lesson 2: Return Values, Scope (Local vs Global), & Code Reusability
Vocabulary focus
Return Value, Local Scope, Global Scope, Name Space, Code Reusability, Side Effect, Function Output, Lifetime, Variable Binding, Encapsulation
Build your glossary
For each term or concept, write an explanation in your own words and add an example from this lesson. Check your explanation against the lesson resources.
| Term or concept | My explanation | Example |
|---|---|---|
| ________________ | ________________ | ________________ |
| ________________ | ________________ | ________________ |