# TN 6-8: CCP.27

## CodeHS Lessons

Define and use procedures that hide the complexity of a task and can be reused to solve similar tasks. (Clarification: Students use and modify, but do not necessarily create, procedures with parameters.)

 Standard 1.4 Functions in Karel 1.8 Super Karel 3.4 Basic Math
 Standard 9.1 Functions 9.2 Functions and Parameters 19.4 Using Functions in Graphics
 Standard 3.6 Basic Math in JavaScript 3.7 Using Graphics in JavaScript 3.8 Mouse Events: Mouse Clicked 4.5 Key Events
 Standard 3.6 Basic Math in JavaScript 3.7 Using Graphics in JavaScript 3.8 Mouse Events: Mouse Clicked 4.6 Key Events
 Standard 9.4 Basic Math in JavaScript
 Standard 1.4 Functions in Karel 1.8 Super Karel 2.4 Basic Math
 Standard 1.4 Functions in Karel 1.8 Super Karel 3.4 Basic Math
 Standard 1.4 Functions in Karel 1.8 Super Karel 3.4 Basic Math
 Standard 2.2 A Day at the Park 3.4 Under the Sea 5.4 Multiple Functions 5.6 Conditional Statements 5.7 If/Else Statements 5.8 While Loops 8.1 Getting Started 8.2 Color 8.3 Variables 8.4 The Draw Loop 8.5 Color Transitions 8.6 Shape Transformations 8.7 Direction 8.8 Mouse Data 8.9 Keyboard Data 8.10 Project: Animate an Emoji 9.7 Program Structure 9.8 Understanding the Canvas 9.9 Your First Sprites
 Standard 2.2 A Day at the Park 4.4 Under the Sea
 Standard 1.4 Multiple Functions 1.6 Conditional Statements 1.7 If/Else Statements 1.8 While Loops 4.1 Getting Started 4.2 Color 4.3 Variables 4.4 The Draw Loop 4.5 Color Transitions 4.6 Shape Transformations 4.7 Direction 4.8 Mouse Data 4.9 Keyboard Data 4.10 Project: Animate an Emoji 5.7 Program Structure 5.8 Understanding the Canvas 5.9 Your First Sprites
 Standard 3.3 Functions 5.6 Parameters
 Standard 3.3 Functions 5.6 Parameters
 Standard 1.3 Color 1.4 Variables 2.1 The Draw Loop 2.2 Color Transitions 2.3 Shape Transformations 2.4 Direction 3.2 Mouse Data 3.3 Keyboard Data
 Standard 3.2 Program Structure 3.3 Understanding the Canvas 3.4 Your First Sprites
 Standard 2.1 Functions in Karel 3.2 Super Karel 6.2 More Karel Examples and Testing 7.1 Karel Challenges 8.1 Final Project
 Standard 1.4 Functions in Karel 1.8 Super Karel 1.14 More Karel Examples and Testing 1.16 Karel Challenges 13.8 Functions 13.13 Parameters
 Standard 2.4 Functions in Karel 2.8 Super Karel 2.14 More Karel Examples and Testing 2.16 Karel Challenges 3.8 Functions 3.13 Parameters
 Standard 2.4 Functions in Karel 2.8 Super Karel 2.14 More Karel Examples and Testing 2.16 Karel Challenges 3.4 Basic Math in JavaScript 6.8 Functions 6.13 Parameters
 Standard 7.14 Functions 7.15 Functions and Parameters
 Standard 1.4 Functions in Karel 1.8 Super Karel 1.14 More Karel Examples and Testing 1.16 Karel Challenges 3.4 Functions in Karel 3.8 Super Karel 3.14 More Karel Examples and Testing 3.17 Karel Challenges 3.18 Final Project
 Standard 1.8 Functions 1.13 Parameters 6.1 Functions 6.2 Functions and Parameters 7.4 Functions
 Standard 1.4 Functions in Karel 1.8 Super Karel 3.4 Basic Math in JavaScript 10.4 Functions
 Standard 3.3 Functions 4.3 Parameters 7.5 Functions
 Standard 3.1 Functions in Karel 4.2 Super Karel 7.5 Functions 8.2 More Karel Examples and Testing 9.1 Karel Challenges 11.1 Final Project
 Standard 2.5 Functions
 Standard 2.4 Functions
 Standard 2.4 Functions in Karel 2.9 Super Karel 5.4 Basic Math in JavaScript
 Standard 1.8 Functions 1.13 Parameters 11.4 Functions in Karel 11.8 Super Karel 11.14 More Karel Examples and Testing 11.16 Karel Challenges 14.5 Functions
 Standard 1.4 Functions in Karel 1.8 Super Karel 3.4 Basic Math in JavaScript
 Standard 1.4 Functions in Karel 1.8 Super Karel 3.4 Basic Math in JavaScript
 Standard 1.4 Functions in Karel 1.8 Super Karel 3.4 Basic Math in JavaScript
 Standard 3.3 Functions 4.3 Parameters
 Standard 2.8 Functions 2.13 Parameters 6.1 Functions 6.2 Functions and Parameters 22.4 Using Functions in Graphics
 Standard 14.4 Basic Math in JavaScript
 Standard 2.4 Functions in Karel 2.9 Super Karel 5.4 Basic Math in JavaScript
 Standard 2.4 Functions in Karel 2.9 Super Karel 6.5 Basic Math in JavaScript
 Standard 2.8 Functions 2.14 Parameters 8.1 Functions 8.2 Functions and Parameters
 Standard 3.4 Functions in Karel 3.9 Super Karel 6.4 Basic Math in JavaScript
 Standard 2.4 Functions in Karel 2.9 Super Karel 5.4 Basic Math in JavaScript
 Standard 1.8 Functions 1.13 Parameters 11.4 Functions in Karel 11.8 Super Karel 11.14 More Karel Examples and Testing 11.16 Karel Challenges 14.5 Functions
 Standard 2.4 Functions in Karel 2.9 Super Karel 5.4 Basic Math in JavaScript
 Standard 1.8 Functions 1.13 Parameters 11.4 Functions in Karel 11.8 Super Karel 11.14 More Karel Examples and Testing 11.16 Karel Challenges 14.5 Functions
 Standard 2.4 Functions in Karel 2.9 Super Karel 6.4 Basic Math in JavaScript
 Standard 3.8 Functions 3.13 Parameters
 Standard 2.4 Functions in Karel 2.9 Super Karel 10.5 Basic Math in JavaScript
 Standard 3.6 Basic Math in JavaScript 3.7 Using Graphics in JavaScript 3.8 Mouse Events: Mouse Clicked 4.5 Key Events
 Standard 2.4 Functions in Karel 2.9 Super Karel 5.4 Basic Math in JavaScript
 Standard 6.1 Functions 6.2 Functions and Parameters 18.8 Functions 18.13 Parameters
 Standard 2.4 Functions in Karel 2.9 Super Karel 5.4 Basic Math in JavaScript
 Standard 1.8 Functions 1.13 Parameters 6.4 Functions in Karel 6.8 Super Karel 6.14 More Karel Examples and Testing 6.16 Karel Challenges 9.5 Functions
 Standard 1.4 Functions in Karel 1.8 Super Karel 2.4 Basic Math
 Standard 1.4 Functions in Karel 1.8 Super Karel 8.5 Basic Math in JavaScript
 Standard 1.4 Functions in Karel 1.8 Super Karel 4.4 Basic Math in JavaScript
 Standard 1.8 Functions 1.13 Parameters 11.4 Functions in Karel 11.8 Super Karel 11.14 More Karel Examples and Testing 11.16 Karel Challenges 14.5 Functions
 Standard 2.4 Functions in Karel 2.9 Super Karel 5.4 Basic Math in JavaScript
 Standard 2.4 Functions in Karel 2.9 Super Karel 5.4 Basic Math in JavaScript
 Standard 1.8 Functions 1.13 Parameters 11.4 Functions in Karel 11.8 Super Karel 11.14 More Karel Examples and Testing 11.16 Karel Challenges 14.5 Functions
 Standard 2.4 Functions in Karel 2.9 Super Karel 5.4 Basic Math in JavaScript
 Standard 1.8 Functions 1.13 Parameters 11.4 Functions in Karel 11.8 Super Karel 11.14 More Karel Examples and Testing 11.16 Karel Challenges 14.5 Functions
 Standard 2.4 Functions in Karel 2.9 Super Karel 5.4 Basic Math in JavaScript
 Standard 1.8 Functions 1.13 Parameters 11.4 Functions in Karel 11.8 Super Karel 11.14 More Karel Examples and Testing 11.16 Karel Challenges 14.5 Functions
 Standard 2.4 Basic Math in JavaScript 21.5 Mouse Events: Mouse Clicked
 Standard 2.4 Basic Math in JavaScript 22.5 Mouse Events: Mouse Clicked
 Standard 1.8 Functions 1.13 Parameters 14.4 Functions in Karel 14.8 Super Karel 14.14 More Karel Examples and Testing 14.16 Karel Challenges 6.5 Functions
 Standard 2.4 Functions in Karel 2.9 Super Karel 5.4 Basic Math in JavaScript
 Standard 1.8 Functions 1.13 Parameters 11.4 Functions in Karel 11.8 Super Karel 11.14 More Karel Examples and Testing 11.16 Karel Challenges 14.5 Functions
 Standard 3.8 Functions 3.13 Parameters 8.4 Functions in Karel 8.8 Super Karel 8.14 More Karel Examples and Testing 8.16 Karel Challenges
 Standard 3.8 Functions 3.14 Parameters
 Standard 2.4 Functions in Karel 2.9 Super Karel 3.4 Basic Math
 Standard 2.4 Multiple Functions 2.6 Conditional Statements 2.7 If/Else Statements 2.8 While Loops 5.1 Getting Started 5.2 Color 5.3 Variables 5.4 The Draw Loop 5.5 Color Transitions 5.6 Shape Transformations 5.7 Direction 5.8 Mouse Data 5.9 Keyboard Data 5.10 Project: Animate an Emoji
 Standard 2.4 Functions in Karel 2.8 Super Karel 4.4 Basic Math
 Standard 2.6 Basic Math in JavaScript 2.7 Using Graphics in JavaScript 2.8 Mouse Events: Mouse Clicked 3.5 Key Events
 Standard 1.8 Functions 1.13 Parameters 11.4 Functions in Karel 11.8 Super Karel 11.14 More Karel Examples and Testing 11.16 Karel Challenges 14.5 Functions
 Standard 2.4 Functions in Karel 2.9 Super Karel 5.4 Basic Math in JavaScript
 Standard 3.4 Functions in Karel 3.9 Super Karel 6.4 Basic Math in JavaScript
 Standard 1.4 Functions in Karel 1.8 Super Karel
 Standard 4.4 Functions in Karel 4.9 Super Karel 5.4 Basic Math in JavaScript
 Standard 2.4 Functions in Karel 2.8 Super Karel 5.4 Basic Math
 Standard 3.3 Functions 4.4 Parameters
 Standard 2.4 Functions in Karel 2.8 Super Karel 5.4 Basic Math in JavaScript
 Standard 2.4 Functions in Karel 2.9 Super Karel 5.4 Basic Math in JavaScript
 Standard 1.8 Functions 1.13 Parameters 11.4 Functions in Karel 11.8 Super Karel 11.14 More Karel Examples and Testing 11.16 Karel Challenges 14.5 Functions
 Standard 13.4 Basic Math in JavaScript
 Standard 1.4 Multiple Functions 1.6 Conditional Statements 1.7 If/Else Statements 1.8 While Loops 5.1 Getting Started 5.2 Color 5.3 Variables 5.4 The Draw Loop 5.5 Color Transitions 5.6 Shape Transformations 5.7 Direction 5.8 Mouse Data 5.9 Keyboard Data 5.10 Project: Animate an Emoji
 Standard 1.1 Functions 1.2 Functions and Parameters
 Standard 3.2 Program Structure 3.3 Understanding the Canvas 3.4 Your First Sprites
 Standard 3.3 Functions 5.6 Parameters
 Standard 3.3 Functions 5.6 Parameters
 Standard 9.1 Functions 9.2 Functions and Parameters
 Standard 1.1 Functions 1.2 Functions and Parameters 11.4 Using Functions in Graphics
 Standard 8.4 Basic Math in JavaScript
 Standard 12.4 Basic Math in JavaScript