# NM 3A: 3A-AP-17

## CodeHS Lessons

Decompose problems into smaller components through systematic analysis, using constructs such as procedures, modules, and/or objects.

 2.4 Functions in Karel 2.4 Functions in Karel 2.5 The Start Function 2.5 The Start Function 2.6 Top Down Design and Decomposition in Karel 2.6 Top Down Design and Decomposition in Karel 2.7 Commenting Your Code 2.7 Commenting Your Code 2.8 Super Karel 2.8 Super Karel 2.9 For Loops 2.9 For Loops 2.10 If Statements 2.10 If Statements 2.11 If/Else Statements 2.11 If/Else Statements 2.12 While Loops in Karel 2.12 While Loops in Karel 2.13 Control Structures Example 2.13 Control Structures Example 2.14 Karel Algorithms 2.14 Karel Algorithms 2.15 How to Indent Your Code 2.15 How to Indent Your Code 2.16 Ultra Karel 2.16 Ultra Karel 2.17 Karel Challenges 2.17 Karel Challenges 6.2 Hello World 6.2 Hello World 12.1 Extra Karel Practice 12.1 Extra Karel Practice
 2.4 Functions in Karel 2.4 Functions in Karel 2.5 The Start Function 2.5 The Start Function 2.6 Top Down Design and Decomposition in Karel 2.6 Top Down Design and Decomposition in Karel 2.7 Commenting Your Code 2.7 Commenting Your Code 2.8 Abstraction 2.8 Abstraction 2.9 Super Karel 2.9 Super Karel 2.10 For Loops 2.10 For Loops 2.11 If Statements 2.11 If Statements 2.12 If/Else Statements 2.12 If/Else Statements 2.13 While Loops in Karel 2.13 While Loops in Karel 2.14 Control Structures Example 2.14 Control Structures Example 2.15 More Karel Examples and Testing 2.15 More Karel Examples and Testing 2.16 How to Indent Your Code 2.16 How to Indent Your Code 3.2 Challenge Problems 3.2 Challenge Problems 5.1 Hello World 5.1 Hello World 5.2 Variables 5.2 Variables 5.3 User Input 5.3 User Input 5.4 Basic Math in JavaScript 5.4 Basic Math in JavaScript 5.5 Using Graphics in JavaScript 5.5 Using Graphics in JavaScript 7.1 Booleans 7.1 Booleans 7.2 Logical Operators 7.2 Logical Operators 7.3 Comparison Operators 7.3 Comparison Operators 7.4 If Statements 7.4 If Statements 7.5 For Loops in JavaScript 7.5 For Loops in JavaScript 7.6 General For Loops 7.6 General For Loops 7.7 For Loop Practice 7.7 For Loop Practice 7.8 Random Numbers 7.8 Random Numbers 7.9 While Loops 7.9 While Loops 7.10 Loop and a Half 7.10 Loop and a Half 9.1 Functions and Parameters 1 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2 9.5 Functions and Return Values 2 9.6 Timers 9.6 Timers 9.7 Random Circles 9.7 Random Circles 9.8 Random Ghosts 9.8 Random Ghosts 9.9 Bouncing Ball 9.9 Bouncing Ball 9.10 Mouse Events: Mouse Clicked 9.10 Mouse Events: Mouse Clicked 9.11 Intro to Lists/Arrays 9.11 Intro to Lists/Arrays 9.12 Adding/Removing From an Array 9.12 Adding/Removing From an Array 9.13 Array Length and Looping Through Arrays 9.13 Array Length and Looping Through Arrays 9.14 Iterating Over an Array 9.14 Iterating Over an Array 15.1 Mouse Events: Mouse Moved 15.2 Drawing Lines 15.3 Key Events 15.4 Crazy Ball Game 16.1 Indexing Into an Array 16.2 Finding an Element in a List 16.3 Removing an Element From an Array 17.1 Intro to Objects/Maps 17.2 Basics of Objects 17.3 Iterating Over an Object 17.4 When Do I Use an Object? 17.5 Intro to Sets 17.6 Intro to Grids 17.7 Looping Over a Grid 17.8 Grid Example: Get a Row 17.9 Data Structures Challenges 12.1 Extra Karel Practice 14.1 Functions and Parameters Practice 15.1 Mouse Events: Mouse Moved 15.2 Drawing Lines 15.3 Key Events 15.4 Crazy Ball Game 16.1 Indexing Into an Array 16.2 Finding an Element in a List 16.3 Removing an Element From an Array 17.1 Intro to Objects/Maps 17.2 Basics of Objects 17.3 Iterating Over an Object 17.4 When Do I Use an Object? 17.5 Intro to Sets 17.6 Intro to Grids 17.7 Looping Over a Grid 17.8 Grid Example: Get a Row 17.9 Data Structures Challenges 12.1 Extra Karel Practice 14.1 Functions and Parameters Practice
 2.4 Functions in Karel 2.4 Functions in Karel 2.5 The Start Function 2.5 The Start Function 2.6 Top Down Design and Decomposition in Karel 2.6 Top Down Design and Decomposition in Karel 2.7 Commenting Your Code 2.7 Commenting Your Code 2.8 Abstraction 2.8 Abstraction 2.9 Super Karel 2.9 Super Karel 2.10 For Loops 2.10 For Loops 2.11 If Statements 2.11 If Statements 2.12 If/Else Statements 2.12 If/Else Statements 2.13 While Loops in Karel 2.13 While Loops in Karel 2.14 Control Structures Example 2.14 Control Structures Example 2.15 More Karel Examples and Testing 2.15 More Karel Examples and Testing 2.16 How to Indent Your Code 2.16 How to Indent Your Code 3.2 Challenge Problems 3.2 Challenge Problems 5.1 Hello World 5.1 Hello World 5.2 Variables 5.2 Variables 5.3 User Input 5.3 User Input 5.4 Basic Math in JavaScript 5.4 Basic Math in JavaScript 5.5 Using Graphics in JavaScript 5.5 Using Graphics in JavaScript 7.1 Booleans 7.1 Booleans 7.2 Logical Operators 7.2 Logical Operators 7.3 Comparison Operators 7.3 Comparison Operators 7.4 If Statements 7.4 If Statements 7.5 For Loops in JavaScript 7.5 For Loops in JavaScript 7.6 General For Loops 7.6 General For Loops 7.7 For Loop Practice 7.7 For Loop Practice 7.9 While Loops 7.9 While Loops 7.10 Loop and a Half 7.10 Loop and a Half 9.1 Functions and Parameters 1 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2 9.5 Functions and Return Values 2 9.6 Timers 9.6 Timers 9.7 Random Circles 9.7 Random Circles 9.8 Random Ghosts 9.8 Random Ghosts 9.9 Bouncing Ball 9.9 Bouncing Ball 9.10 Mouse Events: Mouse Clicked 9.10 Mouse Events: Mouse Clicked 9.11 Intro to Lists/Arrays 9.11 Intro to Lists/Arrays 9.12 Adding/Removing From an Array 9.12 Adding/Removing From an Array 9.13 Array Length and Looping Through Arrays 9.13 Array Length and Looping Through Arrays 9.14 Iterating Over an Array 9.14 Iterating Over an Array 15.1 Mouse Events: Mouse Moved 15.2 Drawing Lines 15.3 Key Events 15.4 Crazy Ball Game 16.1 Indexing Into an Array 16.2 Finding an Element in a List 16.3 Removing an Element From an Array 17.1 Intro to Objects/Maps 17.2 Basics of Objects 17.3 Iterating Over an Object 17.4 When Do I Use an Object? 17.5 Intro to Sets 17.6 Intro to Grids 17.7 Looping Over a Grid 17.8 Grid Example: Get a Row 17.9 Data Structures Challenges 12.1 Extra Karel Practice 14.1 Functions and Parameters Practice 15.1 Mouse Events: Mouse Moved 15.2 Drawing Lines 15.3 Key Events 15.4 Crazy Ball Game 16.1 Indexing Into an Array 16.2 Finding an Element in a List 16.3 Removing an Element From an Array 17.1 Intro to Objects/Maps 17.2 Basics of Objects 17.3 Iterating Over an Object 17.4 When Do I Use an Object? 17.5 Intro to Sets 17.6 Intro to Grids 17.7 Looping Over a Grid 17.8 Grid Example: Get a Row 17.9 Data Structures Challenges 12.1 Extra Karel Practice 14.1 Functions and Parameters Practice
 2.4 Functions in Karel 2.4 Functions in Karel 2.5 The Start Function 2.5 The Start Function 2.6 Top Down Design and Decomposition in Karel 2.6 Top Down Design and Decomposition in Karel 2.7 Commenting Your Code 2.7 Commenting Your Code 2.8 Abstraction 2.8 Abstraction 2.9 Super Karel 2.9 Super Karel 2.10 For Loops 2.10 For Loops 2.11 If Statements 2.11 If Statements 2.12 If/Else Statements 2.12 If/Else Statements 2.13 While Loops in Karel 2.13 While Loops in Karel 2.14 Control Structures Example 2.14 Control Structures Example 2.15 More Karel Examples and Testing 2.15 More Karel Examples and Testing 2.16 How to Indent Your Code 2.16 How to Indent Your Code 3.2 Challenge Problems 3.2 Challenge Problems 5.1 Hello World 5.1 Hello World 5.2 Variables 5.2 Variables 5.3 User Input 5.3 User Input 5.4 Basic Math in JavaScript 5.4 Basic Math in JavaScript 5.5 Using Graphics in JavaScript 5.5 Using Graphics in JavaScript 7.1 Booleans 7.1 Booleans 7.2 Logical Operators 7.2 Logical Operators 7.3 Comparison Operators 7.3 Comparison Operators 7.4 If Statements 7.4 If Statements 7.5 For Loops in JavaScript 7.5 For Loops in JavaScript 7.6 General For Loops 7.6 General For Loops 7.7 For Loop Practice 7.7 For Loop Practice 7.9 While Loops 7.9 While Loops 7.10 Loop and a Half 7.10 Loop and a Half 9.1 Functions and Parameters 1 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2 9.5 Functions and Return Values 2 9.6 Timers 9.6 Timers 9.7 Random Circles 9.7 Random Circles 9.8 Random Ghosts 9.8 Random Ghosts 9.9 Bouncing Ball 9.9 Bouncing Ball 9.10 Mouse Events: Mouse Clicked 9.10 Mouse Events: Mouse Clicked 9.11 Intro to Lists/Arrays 9.11 Intro to Lists/Arrays 9.12 Adding/Removing From an Array 9.12 Adding/Removing From an Array 9.13 Array Length and Looping Through Arrays 9.13 Array Length and Looping Through Arrays 9.14 Iterating Over an Array 9.14 Iterating Over an Array 15.1 Mouse Events: Mouse Moved 15.2 Drawing Lines 15.3 Key Events 15.4 Crazy Ball Game 16.1 Indexing Into an Array 16.2 Finding an Element in a List 16.3 Removing an Element From an Array 17.1 Intro to Objects/Maps 17.2 Basics of Objects 17.3 Iterating Over an Object 17.4 When Do I Use an Object? 17.5 Intro to Sets 17.6 Intro to Grids 17.7 Looping Over a Grid 17.8 Grid Example: Get a Row 17.9 Data Structures Challenges 12.1 Extra Karel Practice 14.1 Functions and Parameters Practice 15.1 Mouse Events: Mouse Moved 15.2 Drawing Lines 15.3 Key Events 15.4 Crazy Ball Game 16.1 Indexing Into an Array 16.2 Finding an Element in a List 16.3 Removing an Element From an Array 17.1 Intro to Objects/Maps 17.2 Basics of Objects 17.3 Iterating Over an Object 17.4 When Do I Use an Object? 17.5 Intro to Sets 17.6 Intro to Grids 17.7 Looping Over a Grid 17.8 Grid Example: Get a Row 17.9 Data Structures Challenges 12.1 Extra Karel Practice 14.1 Functions and Parameters Practice
 2.4 Functions in Karel 2.4 Functions in Karel 2.5 The Start Function 2.5 The Start Function 2.6 Top Down Design and Decomposition in Karel 2.6 Top Down Design and Decomposition in Karel 2.7 Commenting Your Code 2.7 Commenting Your Code 2.8 Abstraction 2.8 Abstraction 2.9 Super Karel 2.9 Super Karel 2.10 For Loops 2.10 For Loops 2.11 If Statements 2.11 If Statements 2.12 If/Else Statements 2.12 If/Else Statements 2.13 While Loops in Karel 2.13 While Loops in Karel 2.14 Control Structures Example 2.14 Control Structures Example 2.15 More Karel Examples and Testing 2.15 More Karel Examples and Testing 2.16 How to Indent Your Code 2.16 How to Indent Your Code 3.2 Challenge Problems 3.2 Challenge Problems 5.1 Hello World 5.1 Hello World 5.2 Variables 5.2 Variables 5.3 User Input 5.3 User Input 5.4 Basic Math in JavaScript 5.4 Basic Math in JavaScript 5.5 Using Graphics in JavaScript 5.5 Using Graphics in JavaScript 7.1 Booleans 7.1 Booleans 7.2 Logical Operators 7.2 Logical Operators 7.3 Comparison Operators 7.3 Comparison Operators 7.4 If Statements 7.4 If Statements 7.5 For Loops in JavaScript 7.5 For Loops in JavaScript 7.6 General For Loops 7.6 General For Loops 7.7 For Loop Practice 7.7 For Loop Practice 7.9 While Loops 7.9 While Loops 7.10 Loop and a Half 7.10 Loop and a Half 9.1 Functions and Parameters 1 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2 9.5 Functions and Return Values 2 9.6 Timers 9.6 Timers 9.7 Random Circles 9.7 Random Circles 9.8 Random Ghosts 9.8 Random Ghosts 9.9 Bouncing Ball 9.9 Bouncing Ball 9.10 Mouse Events: Mouse Clicked 9.10 Mouse Events: Mouse Clicked 9.11 Intro to Lists/Arrays 9.11 Intro to Lists/Arrays 9.12 Adding/Removing From an Array 9.12 Adding/Removing From an Array 9.13 Array Length and Looping Through Arrays 9.13 Array Length and Looping Through Arrays 9.14 Iterating Over an Array 9.14 Iterating Over an Array 15.1 Mouse Events: Mouse Moved 15.2 Drawing Lines 15.3 Key Events 15.4 Crazy Ball Game 16.1 Indexing Into an Array 16.2 Finding an Element in a List 16.3 Removing an Element From an Array 17.1 Intro to Objects/Maps 17.2 Basics of Objects 17.3 Iterating Over an Object 17.4 When Do I Use an Object? 17.5 Intro to Sets 17.6 Intro to Grids 17.7 Looping Over a Grid 17.8 Grid Example: Get a Row 17.9 Data Structures Challenges 12.1 Extra Karel Practice 14.1 Functions and Parameters Practice 15.1 Mouse Events: Mouse Moved 15.2 Drawing Lines 15.3 Key Events 15.4 Crazy Ball Game 16.1 Indexing Into an Array 16.2 Finding an Element in a List 16.3 Removing an Element From an Array 17.1 Intro to Objects/Maps 17.2 Basics of Objects 17.3 Iterating Over an Object 17.4 When Do I Use an Object? 17.5 Intro to Sets 17.6 Intro to Grids 17.7 Looping Over a Grid 17.8 Grid Example: Get a Row 17.9 Data Structures Challenges 12.1 Extra Karel Practice 14.1 Functions and Parameters Practice
 2.4 Functions in Karel 2.4 Functions in Karel 2.5 The Start Function 2.5 The Start Function 2.6 Top Down Design and Decomposition in Karel 2.6 Top Down Design and Decomposition in Karel 2.7 Commenting Your Code 2.7 Commenting Your Code 2.8 Abstraction 2.8 Abstraction 2.9 Super Karel 2.9 Super Karel 2.10 For Loops 2.10 For Loops 2.11 If Statements 2.11 If Statements 2.12 If/Else Statements 2.12 If/Else Statements 2.13 While Loops in Karel 2.13 While Loops in Karel 2.14 Control Structures Example 2.14 Control Structures Example 2.15 More Karel Examples and Testing 2.15 More Karel Examples and Testing 2.16 How to Indent Your Code 2.16 How to Indent Your Code 3.2 Challenge Problems 3.2 Challenge Problems 5.1 Hello World 5.1 Hello World 5.2 Variables 5.2 Variables 5.3 User Input 5.3 User Input 5.4 Basic Math in JavaScript 5.4 Basic Math in JavaScript 5.5 Using Graphics in JavaScript 5.5 Using Graphics in JavaScript 7.1 Booleans 7.1 Booleans 7.2 Logical Operators 7.2 Logical Operators 7.3 Comparison Operators 7.3 Comparison Operators 7.4 If Statements 7.4 If Statements 7.5 For Loops in JavaScript 7.5 For Loops in JavaScript 7.6 General For Loops 7.6 General For Loops 7.7 For Loop Practice 7.7 For Loop Practice 7.9 While Loops 7.9 While Loops 7.10 Loop and a Half 7.10 Loop and a Half 9.1 Functions and Parameters 1 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2 9.5 Functions and Return Values 2 9.6 Timers 9.6 Timers 9.7 Random Circles 9.7 Random Circles 9.8 Random Ghosts 9.8 Random Ghosts 9.9 Bouncing Ball 9.9 Bouncing Ball 9.10 Mouse Events: Mouse Clicked 9.10 Mouse Events: Mouse Clicked 9.11 Intro to Lists/Arrays 9.11 Intro to Lists/Arrays 9.12 Adding/Removing From an Array 9.12 Adding/Removing From an Array 9.13 Array Length and Looping Through Arrays 9.13 Array Length and Looping Through Arrays 9.14 Iterating Over an Array 9.14 Iterating Over an Array 15.1 Mouse Events: Mouse Moved 15.2 Drawing Lines 15.3 Key Events 15.4 Crazy Ball Game 16.1 Indexing Into an Array 16.2 Finding an Element in a List 16.3 Removing an Element From an Array 17.1 Intro to Objects/Maps 17.2 Basics of Objects 17.3 Iterating Over an Object 17.4 When Do I Use an Object? 17.5 Intro to Sets 17.6 Intro to Grids 17.7 Looping Over a Grid 17.8 Grid Example: Get a Row 17.9 Data Structures Challenges 12.1 Extra Karel Practice 14.1 Functions and Parameters Practice 15.1 Mouse Events: Mouse Moved 15.2 Drawing Lines 15.3 Key Events 15.4 Crazy Ball Game 16.1 Indexing Into an Array 16.2 Finding an Element in a List 16.3 Removing an Element From an Array 17.1 Intro to Objects/Maps 17.2 Basics of Objects 17.3 Iterating Over an Object 17.4 When Do I Use an Object? 17.5 Intro to Sets 17.6 Intro to Grids 17.7 Looping Over a Grid 17.8 Grid Example: Get a Row 17.9 Data Structures Challenges 12.1 Extra Karel Practice 14.1 Functions and Parameters Practice
 2.4 Functions in Karel 2.4 Functions in Karel 2.5 The Start Function 2.5 The Start Function 2.6 Top Down Design and Decomposition in Karel 2.6 Top Down Design and Decomposition in Karel 2.7 Commenting Your Code 2.7 Commenting Your Code 2.8 Abstraction 2.8 Abstraction 2.9 Super Karel 2.9 Super Karel 2.10 For Loops 2.10 For Loops 2.11 If Statements 2.11 If Statements 2.12 If/Else Statements 2.12 If/Else Statements 2.13 While Loops in Karel 2.13 While Loops in Karel 2.14 Control Structures Example 2.14 Control Structures Example 2.15 More Karel Examples and Testing 2.15 More Karel Examples and Testing 2.16 How to Indent Your Code 2.16 How to Indent Your Code 3.2 Challenge Problems 3.2 Challenge Problems 5.1 Hello World 5.1 Hello World 5.2 Variables 5.2 Variables 5.3 User Input 5.3 User Input 5.4 Basic Math in JavaScript 5.4 Basic Math in JavaScript 5.5 Using Graphics in JavaScript 5.5 Using Graphics in JavaScript 7.1 Booleans 7.1 Booleans 7.2 Logical Operators 7.2 Logical Operators 7.3 Comparison Operators 7.3 Comparison Operators 7.4 If Statements 7.4 If Statements 7.5 For Loops in JavaScript 7.5 For Loops in JavaScript 7.6 General For Loops 7.6 General For Loops 7.7 For Loop Practice 7.7 For Loop Practice 7.9 While Loops 7.9 While Loops 7.10 Loop and a Half 7.10 Loop and a Half 9.1 Functions and Parameters 1 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2 9.5 Functions and Return Values 2 9.6 Timers 9.6 Timers 9.7 Random Circles 9.7 Random Circles 9.8 Random Ghosts 9.8 Random Ghosts 9.9 Bouncing Ball 9.9 Bouncing Ball 9.10 Mouse Events: Mouse Clicked 9.10 Mouse Events: Mouse Clicked 9.11 Intro to Lists/Arrays 9.11 Intro to Lists/Arrays 9.12 Adding/Removing From an Array 9.12 Adding/Removing From an Array 9.13 Array Length and Looping Through Arrays 9.13 Array Length and Looping Through Arrays 9.14 Iterating Over an Array 9.14 Iterating Over an Array 15.1 Mouse Events: Mouse Moved 15.2 Drawing Lines 15.3 Key Events 15.4 Crazy Ball Game 16.1 Indexing Into an Array 16.2 Finding an Element in a List 16.3 Removing an Element From an Array 17.1 Intro to Objects/Maps 17.2 Basics of Objects 17.3 Iterating Over an Object 17.4 When Do I Use an Object? 17.5 Intro to Sets 17.6 Intro to Grids 17.7 Looping Over a Grid 17.8 Grid Example: Get a Row 17.9 Data Structures Challenges 12.1 Extra Karel Practice 14.1 Functions and Parameters Practice 15.1 Mouse Events: Mouse Moved 15.2 Drawing Lines 15.3 Key Events 15.4 Crazy Ball Game 16.1 Indexing Into an Array 16.2 Finding an Element in a List 16.3 Removing an Element From an Array 17.1 Intro to Objects/Maps 17.2 Basics of Objects 17.3 Iterating Over an Object 17.4 When Do I Use an Object? 17.5 Intro to Sets 17.6 Intro to Grids 17.7 Looping Over a Grid 17.8 Grid Example: Get a Row 17.9 Data Structures Challenges 12.1 Extra Karel Practice 14.1 Functions and Parameters Practice
 2.4 Functions in Karel 2.4 Functions in Karel 2.5 The Start Function 2.5 The Start Function 2.6 Top Down Design and Decomposition in Karel 2.6 Top Down Design and Decomposition in Karel 2.7 Commenting Your Code 2.7 Commenting Your Code 2.8 Abstraction 2.8 Abstraction 2.9 Super Karel 2.9 Super Karel 2.10 For Loops 2.10 For Loops 2.11 If Statements 2.11 If Statements 2.12 If/Else Statements 2.12 If/Else Statements 2.13 While Loops in Karel 2.13 While Loops in Karel 2.14 Control Structures Example 2.14 Control Structures Example 2.15 More Karel Examples and Testing 2.15 More Karel Examples and Testing 2.16 How to Indent Your Code 2.16 How to Indent Your Code 3.2 Challenge Problems 3.2 Challenge Problems 5.1 Hello World 5.1 Hello World 5.2 Variables 5.2 Variables 5.3 User Input 5.3 User Input 5.4 Basic Math in JavaScript 5.4 Basic Math in JavaScript 5.5 Using Graphics in JavaScript 5.5 Using Graphics in JavaScript 7.1 Booleans 7.1 Booleans 7.2 Logical Operators 7.2 Logical Operators 7.3 Comparison Operators 7.3 Comparison Operators 7.4 If Statements 7.4 If Statements 7.5 For Loops in JavaScript 7.5 For Loops in JavaScript 7.6 General For Loops 7.6 General For Loops 7.7 For Loop Practice 7.7 For Loop Practice 7.9 While Loops 7.9 While Loops 7.10 Loop and a Half 7.10 Loop and a Half 9.1 Functions and Parameters 1 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2 9.5 Functions and Return Values 2 9.6 Timers 9.6 Timers 9.7 Random Circles 9.7 Random Circles 9.8 Random Ghosts 9.8 Random Ghosts 9.9 Bouncing Ball 9.9 Bouncing Ball 9.10 Mouse Events: Mouse Clicked 9.10 Mouse Events: Mouse Clicked 9.11 Intro to Lists/Arrays 9.11 Intro to Lists/Arrays 9.12 Adding/Removing From an Array 9.12 Adding/Removing From an Array 9.13 Array Length and Looping Through Arrays 9.13 Array Length and Looping Through Arrays 9.14 Iterating Over an Array 9.14 Iterating Over an Array 15.1 Mouse Events: Mouse Moved 15.2 Drawing Lines 15.3 Key Events 15.4 Crazy Ball Game 16.1 Indexing Into an Array 16.2 Finding an Element in a List 16.3 Removing an Element From an Array 17.1 Intro to Objects/Maps 17.2 Basics of Objects 17.3 Iterating Over an Object 17.4 When Do I Use an Object? 17.5 Intro to Sets 17.6 Intro to Grids 17.7 Looping Over a Grid 17.8 Grid Example: Get a Row 17.9 Data Structures Challenges 12.1 Extra Karel Practice 14.1 Functions and Parameters Practice 15.1 Mouse Events: Mouse Moved 15.2 Drawing Lines 15.3 Key Events 15.4 Crazy Ball Game 16.1 Indexing Into an Array 16.2 Finding an Element in a List 16.3 Removing an Element From an Array 17.1 Intro to Objects/Maps 17.2 Basics of Objects 17.3 Iterating Over an Object 17.4 When Do I Use an Object? 17.5 Intro to Sets 17.6 Intro to Grids 17.7 Looping Over a Grid 17.8 Grid Example: Get a Row 17.9 Data Structures Challenges 12.1 Extra Karel Practice 14.1 Functions and Parameters Practice
 2.4 Functions in Karel 2.4 Functions in Karel 2.5 The Start Function 2.5 The Start Function 2.6 Top Down Design and Decomposition in Karel 2.6 Top Down Design and Decomposition in Karel 2.7 Commenting Your Code 2.7 Commenting Your Code 2.8 Abstraction 2.8 Abstraction 2.9 Super Karel 2.9 Super Karel 2.10 For Loops 2.10 For Loops 2.11 If Statements 2.11 If Statements 2.12 If/Else Statements 2.12 If/Else Statements 2.13 While Loops in Karel 2.13 While Loops in Karel 2.14 Control Structures Example 2.14 Control Structures Example 2.15 More Karel Examples and Testing 2.15 More Karel Examples and Testing 2.16 How to Indent Your Code 2.16 How to Indent Your Code 3.2 Challenge Problems 3.2 Challenge Problems 5.1 Hello World 5.1 Hello World 5.2 Variables 5.2 Variables 5.3 User Input 5.3 User Input 5.4 Basic Math in JavaScript 5.4 Basic Math in JavaScript 5.5 Using Graphics in JavaScript 5.5 Using Graphics in JavaScript 7.1 Booleans 7.1 Booleans 7.2 Logical Operators 7.2 Logical Operators 7.3 Comparison Operators 7.3 Comparison Operators 7.4 If Statements 7.4 If Statements 7.5 For Loops in JavaScript 7.5 For Loops in JavaScript 7.6 General For Loops 7.6 General For Loops 7.7 For Loop Practice 7.7 For Loop Practice 7.9 While Loops 7.9 While Loops 7.10 Loop and a Half 7.10 Loop and a Half 9.1 Functions and Parameters 1 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2 9.5 Functions and Return Values 2 9.6 Timers 9.6 Timers 9.7 Random Circles 9.7 Random Circles 9.8 Random Ghosts 9.8 Random Ghosts 9.9 Bouncing Ball 9.9 Bouncing Ball 9.10 Mouse Events: Mouse Clicked 9.10 Mouse Events: Mouse Clicked 9.11 Intro to Lists/Arrays 9.11 Intro to Lists/Arrays 9.12 Adding/Removing From an Array 9.12 Adding/Removing From an Array 9.13 Array Length and Looping Through Arrays 9.13 Array Length and Looping Through Arrays 9.14 Iterating Over an Array 9.14 Iterating Over an Array 15.1 Mouse Events: Mouse Moved 15.2 Drawing Lines 15.3 Key Events 15.4 Crazy Ball Game 16.1 Indexing Into an Array 16.2 Finding an Element in a List 16.3 Removing an Element From an Array 17.1 Intro to Objects/Maps 17.2 Basics of Objects 17.3 Iterating Over an Object 17.4 When Do I Use an Object? 17.5 Intro to Sets 17.6 Intro to Grids 17.7 Looping Over a Grid 17.8 Grid Example: Get a Row 17.9 Data Structures Challenges 12.1 Extra Karel Practice 14.1 Functions and Parameters Practice 15.1 Mouse Events: Mouse Moved 15.2 Drawing Lines 15.3 Key Events 15.4 Crazy Ball Game 16.1 Indexing Into an Array 16.2 Finding an Element in a List 16.3 Removing an Element From an Array 17.1 Intro to Objects/Maps 17.2 Basics of Objects 17.3 Iterating Over an Object 17.4 When Do I Use an Object? 17.5 Intro to Sets 17.6 Intro to Grids 17.7 Looping Over a Grid 17.8 Grid Example: Get a Row 17.9 Data Structures Challenges 12.1 Extra Karel Practice 14.1 Functions and Parameters Practice
 2.4 Functions in Karel 2.4 Functions in Karel 2.5 The Start Function 2.5 The Start Function 2.6 Top Down Design and Decomposition in Karel 2.6 Top Down Design and Decomposition in Karel 2.7 Commenting Your Code 2.7 Commenting Your Code 2.8 Abstraction 2.8 Abstraction 2.9 Super Karel 2.9 Super Karel 2.10 For Loops 2.10 For Loops 2.11 If Statements 2.11 If Statements 2.12 If/Else Statements 2.12 If/Else Statements 2.13 While Loops in Karel 2.13 While Loops in Karel 2.14 Control Structures Example 2.14 Control Structures Example 2.15 More Karel Examples and Testing 2.15 More Karel Examples and Testing 2.16 How to Indent Your Code 2.16 How to Indent Your Code 3.2 Challenge Problems 3.2 Challenge Problems 5.1 Hello World 5.1 Hello World 5.2 Variables 5.2 Variables 5.3 User Input 5.3 User Input 5.4 Basic Math in JavaScript 5.4 Basic Math in JavaScript 5.5 Using Graphics in JavaScript 5.5 Using Graphics in JavaScript 7.1 Booleans 7.1 Booleans 7.2 Logical Operators 7.2 Logical Operators 7.3 Comparison Operators 7.3 Comparison Operators 7.4 If Statements 7.4 If Statements 7.5 For Loops in JavaScript 7.5 For Loops in JavaScript 7.6 General For Loops 7.6 General For Loops 7.7 For Loop Practice 7.7 For Loop Practice 7.9 While Loops 7.9 While Loops 7.10 Loop and a Half 7.10 Loop and a Half 9.1 Functions and Parameters 1 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2 9.5 Functions and Return Values 2 9.6 Timers 9.6 Timers 9.7 Random Circles 9.7 Random Circles 9.8 Random Ghosts 9.8 Random Ghosts 9.9 Bouncing Ball 9.9 Bouncing Ball 9.10 Mouse Events: Mouse Clicked 9.10 Mouse Events: Mouse Clicked 9.11 Intro to Lists/Arrays 9.11 Intro to Lists/Arrays 9.12 Adding/Removing From an Array 9.12 Adding/Removing From an Array 9.13 Array Length and Looping Through Arrays 9.13 Array Length and Looping Through Arrays 9.14 Iterating Over an Array 9.14 Iterating Over an Array 15.1 Mouse Events: Mouse Moved 15.2 Drawing Lines 15.3 Key Events 15.4 Crazy Ball Game 16.1 Indexing Into an Array 16.2 Finding an Element in a List 16.3 Removing an Element From an Array 17.1 Intro to Objects/Maps 17.2 Basics of Objects 17.3 Iterating Over an Object 17.4 When Do I Use an Object? 17.5 Intro to Sets 17.6 Intro to Grids 17.7 Looping Over a Grid 17.8 Grid Example: Get a Row 17.9 Data Structures Challenges 12.1 Extra Karel Practice 14.1 Functions and Parameters Practice 15.1 Mouse Events: Mouse Moved 15.2 Drawing Lines 15.3 Key Events 15.4 Crazy Ball Game 16.1 Indexing Into an Array 16.2 Finding an Element in a List 16.3 Removing an Element From an Array 17.1 Intro to Objects/Maps 17.2 Basics of Objects 17.3 Iterating Over an Object 17.4 When Do I Use an Object? 17.5 Intro to Sets 17.6 Intro to Grids 17.7 Looping Over a Grid 17.8 Grid Example: Get a Row 17.9 Data Structures Challenges 12.1 Extra Karel Practice 14.1 Functions and Parameters Practice
 2.4 Functions in Karel 2.4 Functions in Karel 2.5 The Start Function 2.5 The Start Function 2.6 Top Down Design and Decomposition in Karel 2.6 Top Down Design and Decomposition in Karel 2.7 Commenting Your Code 2.7 Commenting Your Code 2.8 Abstraction 2.8 Abstraction 2.9 Super Karel 2.9 Super Karel 2.10 For Loops 2.10 For Loops 2.11 If Statements 2.11 If Statements 2.12 If/Else Statements 2.12 If/Else Statements 2.13 While Loops in Karel 2.13 While Loops in Karel 2.14 Control Structures Example 2.14 Control Structures Example 2.15 More Karel Examples and Testing 2.15 More Karel Examples and Testing 2.16 How to Indent Your Code 2.16 How to Indent Your Code 3.2 Challenge Problems 3.2 Challenge Problems 5.1 Hello World 5.1 Hello World 5.2 Variables 5.2 Variables 5.3 User Input 5.3 User Input 5.4 Basic Math in JavaScript 5.4 Basic Math in JavaScript 5.5 Using Graphics in JavaScript 5.5 Using Graphics in JavaScript 7.1 Booleans 7.1 Booleans 7.2 Logical Operators 7.2 Logical Operators 7.3 Comparison Operators 7.3 Comparison Operators 7.4 If Statements 7.4 If Statements 7.5 For Loops in JavaScript 7.5 For Loops in JavaScript 7.6 General For Loops 7.6 General For Loops 7.7 For Loop Practice 7.7 For Loop Practice 7.9 While Loops 7.9 While Loops 7.10 Loop and a Half 7.10 Loop and a Half 9.1 Functions and Parameters 1 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2 9.5 Functions and Return Values 2 9.6 Timers 9.6 Timers 9.7 Random Circles 9.7 Random Circles 9.8 Random Ghosts 9.8 Random Ghosts 9.9 Bouncing Ball 9.9 Bouncing Ball 9.10 Mouse Events: Mouse Clicked 9.10 Mouse Events: Mouse Clicked 9.11 Intro to Lists/Arrays 9.11 Intro to Lists/Arrays 9.12 Adding/Removing From an Array 9.12 Adding/Removing From an Array 9.13 Array Length and Looping Through Arrays 9.13 Array Length and Looping Through Arrays 9.14 Iterating Over an Array 9.14 Iterating Over an Array 15.1 Mouse Events: Mouse Moved 15.2 Drawing Lines 15.3 Key Events 15.4 Crazy Ball Game 16.1 Indexing Into an Array 16.2 Finding an Element in a List 16.3 Removing an Element From an Array 17.1 Intro to Objects/Maps 17.2 Basics of Objects 17.3 Iterating Over an Object 17.4 When Do I Use an Object? 17.5 Intro to Sets 17.6 Intro to Grids 17.7 Looping Over a Grid 17.8 Grid Example: Get a Row 17.9 Data Structures Challenges 12.1 Extra Karel Practice 14.1 Functions and Parameters Practice 15.1 Mouse Events: Mouse Moved 15.2 Drawing Lines 15.3 Key Events 15.4 Crazy Ball Game 16.1 Indexing Into an Array 16.2 Finding an Element in a List 16.3 Removing an Element From an Array 17.1 Intro to Objects/Maps 17.2 Basics of Objects 17.3 Iterating Over an Object 17.4 When Do I Use an Object? 17.5 Intro to Sets 17.6 Intro to Grids 17.7 Looping Over a Grid 17.8 Grid Example: Get a Row 17.9 Data Structures Challenges 12.1 Extra Karel Practice 14.1 Functions and Parameters Practice
 2.4 Functions in Karel 2.4 Functions in Karel 2.5 The Start Function 2.5 The Start Function 2.6 Top Down Design and Decomposition in Karel 2.6 Top Down Design and Decomposition in Karel 2.7 Commenting Your Code 2.7 Commenting Your Code 2.8 Abstraction 2.8 Abstraction 2.9 Super Karel 2.9 Super Karel 2.10 For Loops 2.10 For Loops 2.11 If Statements 2.11 If Statements 2.12 If/Else Statements 2.12 If/Else Statements 2.13 While Loops in Karel 2.13 While Loops in Karel 2.14 Control Structures Example 2.14 Control Structures Example 2.15 More Karel Examples and Testing 2.15 More Karel Examples and Testing 2.16 How to Indent Your Code 2.16 How to Indent Your Code 3.2 Challenge Problems 3.2 Challenge Problems 5.1 Hello World 5.1 Hello World 5.2 Variables 5.2 Variables 5.3 User Input 5.3 User Input 5.4 Basic Math in JavaScript 5.4 Basic Math in JavaScript 5.5 Using Graphics in JavaScript 5.5 Using Graphics in JavaScript 7.1 Booleans 7.1 Booleans 7.2 Logical Operators 7.2 Logical Operators 7.3 Comparison Operators 7.3 Comparison Operators 7.4 If Statements 7.4 If Statements 7.5 For Loops in JavaScript 7.5 For Loops in JavaScript 7.6 General For Loops 7.6 General For Loops 7.7 For Loop Practice 7.7 For Loop Practice 7.9 While Loops 7.9 While Loops 7.10 Loop and a Half 7.10 Loop and a Half 9.1 Functions and Parameters 1 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2 9.5 Functions and Return Values 2 9.6 Timers 9.6 Timers 9.7 Random Circles 9.7 Random Circles 9.8 Random Ghosts 9.8 Random Ghosts 9.9 Bouncing Ball 9.9 Bouncing Ball 9.10 Mouse Events: Mouse Clicked 9.10 Mouse Events: Mouse Clicked 9.11 Intro to Lists/Arrays 9.11 Intro to Lists/Arrays 9.12 Adding/Removing From an Array 9.12 Adding/Removing From an Array 9.13 Array Length and Looping Through Arrays 9.13 Array Length and Looping Through Arrays 9.14 Iterating Over an Array 9.14 Iterating Over an Array 15.1 Mouse Events: Mouse Moved 15.2 Drawing Lines 15.3 Key Events 15.4 Crazy Ball Game 16.1 Indexing Into an Array 16.2 Finding an Element in a List 16.3 Removing an Element From an Array 17.1 Intro to Objects/Maps 17.2 Basics of Objects 17.3 Iterating Over an Object 17.4 When Do I Use an Object? 17.5 Intro to Sets 17.6 Intro to Grids 17.7 Looping Over a Grid 17.8 Grid Example: Get a Row 17.9 Data Structures Challenges 12.1 Extra Karel Practice 14.1 Functions and Parameters Practice 15.1 Mouse Events: Mouse Moved 15.2 Drawing Lines 15.3 Key Events 15.4 Crazy Ball Game 16.1 Indexing Into an Array 16.2 Finding an Element in a List 16.3 Removing an Element From an Array 17.1 Intro to Objects/Maps 17.2 Basics of Objects 17.3 Iterating Over an Object 17.4 When Do I Use an Object? 17.5 Intro to Sets 17.6 Intro to Grids 17.7 Looping Over a Grid 17.8 Grid Example: Get a Row 17.9 Data Structures Challenges 12.1 Extra Karel Practice 14.1 Functions and Parameters Practice
 2.4 Functions in Karel 2.4 Functions in Karel 2.5 The Start Function 2.5 The Start Function 2.6 Top Down Design and Decomposition in Karel 2.6 Top Down Design and Decomposition in Karel 2.7 Commenting Your Code 2.7 Commenting Your Code 2.8 Abstraction 2.8 Abstraction 2.9 Super Karel 2.9 Super Karel 2.10 For Loops 2.10 For Loops 2.11 If Statements 2.11 If Statements 2.12 If/Else Statements 2.12 If/Else Statements 2.13 While Loops in Karel 2.13 While Loops in Karel 2.14 Control Structures Example 2.14 Control Structures Example 2.15 More Karel Examples and Testing 2.15 More Karel Examples and Testing 2.16 How to Indent Your Code 2.16 How to Indent Your Code 3.2 Challenge Problems 3.2 Challenge Problems 5.1 Hello World 5.1 Hello World 5.2 Variables 5.2 Variables 5.3 User Input 5.3 User Input 5.4 Basic Math in JavaScript 5.4 Basic Math in JavaScript 5.5 Using Graphics in JavaScript 5.5 Using Graphics in JavaScript 14.1 Booleans 14.2 Logical Operators 14.3 Comparison Operators 14.4 If Statements 14.5 For Loops in JavaScript 14.6 General For Loops 14.7 For Loop Practice 14.8 Random Numbers 14.9 While Loops 14.10 Loop and a Half 17.1 Functions and Parameters 1 17.2 Functions and Parameters 2 17.3 Functions and Parameters 3 17.4 Functions and Return Values 1 17.5 Functions and Return Values 2 17.6 Timers 17.7 Random Circles 17.8 Random Ghosts 17.9 Bouncing Ball 17.10 Mouse Events: Mouse Clicked 16.1 Mouse Events: Mouse Moved 16.2 Drawing Lines 16.3 Key Events 16.4 Crazy Ball Game 17.11 Intro to Lists/Arrays 19.1 Indexing Into an Array 17.12 Adding/Removing From an Array 17.13 Array Length and Looping Through Arrays 17.14 Iterating Over an Array 19.2 Finding an Element in a List 19.3 Removing an Element From an Array 20.1 Intro to Objects/Maps 20.2 Basics of Objects 20.3 Iterating Over an Object 20.4 When Do I Use an Object? 20.5 Intro to Sets 20.6 Intro to Grids 20.7 Looping Over a Grid 20.8 Grid Example: Get a Row 20.9 Data Structures Challenges 12.1 Extra Karel Practice 18.1 Functions and Parameters Practice 14.1 Booleans 14.2 Logical Operators 14.3 Comparison Operators 14.4 If Statements 14.5 For Loops in JavaScript 14.6 General For Loops 14.7 For Loop Practice 14.8 Random Numbers 14.9 While Loops 14.10 Loop and a Half 17.1 Functions and Parameters 1 17.2 Functions and Parameters 2 17.3 Functions and Parameters 3 17.4 Functions and Return Values 1 17.5 Functions and Return Values 2 17.6 Timers 17.7 Random Circles 17.8 Random Ghosts 17.9 Bouncing Ball 17.10 Mouse Events: Mouse Clicked 16.1 Mouse Events: Mouse Moved 16.2 Drawing Lines 16.3 Key Events 16.4 Crazy Ball Game 17.11 Intro to Lists/Arrays 19.1 Indexing Into an Array 17.12 Adding/Removing From an Array 17.13 Array Length and Looping Through Arrays 17.14 Iterating Over an Array 19.2 Finding an Element in a List 19.3 Removing an Element From an Array 20.1 Intro to Objects/Maps 20.2 Basics of Objects 20.3 Iterating Over an Object 20.4 When Do I Use an Object? 20.5 Intro to Sets 20.6 Intro to Grids 20.7 Looping Over a Grid 20.8 Grid Example: Get a Row 20.9 Data Structures Challenges 12.1 Extra Karel Practice 18.1 Functions and Parameters Practice
 2.4 Functions in Karel 2.4 Functions in Karel 2.5 The Start Function 2.5 The Start Function 2.6 Top Down Design and Decomposition in Karel 2.6 Top Down Design and Decomposition in Karel 2.7 Commenting Your Code 2.7 Commenting Your Code 2.8 Abstraction 2.8 Abstraction 2.9 Super Karel 2.9 Super Karel 2.10 For Loops 2.10 For Loops 2.11 If Statements 2.11 If Statements 2.12 If/Else Statements 2.12 If/Else Statements 2.13 While Loops in Karel 2.13 While Loops in Karel 2.14 Control Structures Example 2.14 Control Structures Example 2.15 More Karel Examples and Testing 2.15 More Karel Examples and Testing 2.16 How to Indent Your Code 2.16 How to Indent Your Code 3.2 Challenge Problems 3.2 Challenge Problems 5.1 Hello World 5.1 Hello World 5.2 Variables 5.2 Variables 5.3 User Input 5.3 User Input 5.4 Basic Math in JavaScript 5.4 Basic Math in JavaScript 5.5 Using Graphics in JavaScript 5.5 Using Graphics in JavaScript 7.1 Booleans 7.1 Booleans 7.2 Logical Operators 7.2 Logical Operators 7.3 Comparison Operators 7.3 Comparison Operators 7.4 If Statements 7.4 If Statements 7.5 For Loops in JavaScript 7.5 For Loops in JavaScript 7.6 General For Loops 7.6 General For Loops 7.7 For Loop Practice 7.7 For Loop Practice 7.8 Random Numbers 7.8 Random Numbers 7.9 While Loops 7.9 While Loops 7.10 Loop and a Half 7.10 Loop and a Half 9.1 Functions and Parameters 1 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2 9.5 Functions and Return Values 2 9.6 Timers 9.6 Timers 9.7 Random Circles 9.7 Random Circles 9.8 Random Ghosts 9.8 Random Ghosts 9.9 Bouncing Ball 9.9 Bouncing Ball 9.10 Mouse Events: Mouse Clicked 9.10 Mouse Events: Mouse Clicked 9.11 Intro to Lists/Arrays 9.11 Intro to Lists/Arrays 9.12 Adding/Removing From an Array 9.12 Adding/Removing From an Array 9.13 Array Length and Looping Through Arrays 9.13 Array Length and Looping Through Arrays 9.14 Iterating Over an Array 9.14 Iterating Over an Array 15.1 Mouse Events: Mouse Moved 15.2 Drawing Lines 15.3 Key Events 15.4 Crazy Ball Game 16.1 Indexing Into an Array 16.2 Finding an Element in a List 16.3 Removing an Element From an Array 17.1 Intro to Objects/Maps 17.2 Basics of Objects 17.3 Iterating Over an Object 17.4 When Do I Use an Object? 17.5 Intro to Sets 17.6 Intro to Grids 17.7 Looping Over a Grid 17.8 Grid Example: Get a Row 17.9 Data Structures Challenges 12.1 Extra Karel Practice 14.1 Functions and Parameters Practice 15.1 Mouse Events: Mouse Moved 15.2 Drawing Lines 15.3 Key Events 15.4 Crazy Ball Game 16.1 Indexing Into an Array 16.2 Finding an Element in a List 16.3 Removing an Element From an Array 17.1 Intro to Objects/Maps 17.2 Basics of Objects 17.3 Iterating Over an Object 17.4 When Do I Use an Object? 17.5 Intro to Sets 17.6 Intro to Grids 17.7 Looping Over a Grid 17.8 Grid Example: Get a Row 17.9 Data Structures Challenges 12.1 Extra Karel Practice 14.1 Functions and Parameters Practice
 1.10 Simulation 1.10 Simulation 2.4 Functions in Karel 2.4 Functions in Karel 2.5 The Start Function 2.5 The Start Function 2.6 Top Down Design and Decomposition in Karel 2.6 Top Down Design and Decomposition in Karel 2.7 Commenting Your Code 2.7 Commenting Your Code 2.8 Abstraction 2.8 Abstraction 2.9 Super Karel 2.9 Super Karel 2.10 For Loops 2.10 For Loops 2.11 If Statements 2.11 If Statements 2.12 If/Else Statements 2.12 If/Else Statements 2.13 While Loops in Karel 2.13 While Loops in Karel 2.14 Control Structures Example 2.14 Control Structures Example 2.15 More Karel Examples and Testing 2.15 More Karel Examples and Testing 2.16 How to Indent Your Code 2.16 How to Indent Your Code 3.2 Challenge Problems 3.2 Challenge Problems 5.1 What is Code 5.1 What is Code 5.2 Hello World 5.2 Hello World 5.3 Variables 5.3 Variables 5.4 User Input 5.4 User Input 5.5 Basic Math in JavaScript 5.5 Basic Math in JavaScript 5.6 Using Graphics in JavaScript 5.6 Using Graphics in JavaScript 7.1 Booleans 7.1 Booleans 7.2 Logical Operators 7.2 Logical Operators 7.3 Comparison Operators 7.3 Comparison Operators 7.4 If Statements 7.4 If Statements 7.5 For Loops in JavaScript 7.5 For Loops in JavaScript 7.6 General For Loops 7.6 General For Loops 7.7 For Loop Practice 7.7 For Loop Practice 7.8 Random Numbers 7.8 Random Numbers 7.9 While Loops 7.9 While Loops 7.10 Loop and a Half 7.10 Loop and a Half 9.1 Functions and Parameters 1 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2 9.5 Functions and Return Values 2 9.6 Local Variables and Scope 9.6 Local Variables and Scope 9.7 Timers 9.7 Timers 9.8 Random Circles 9.8 Random Circles 9.9 Random Ghosts 9.9 Random Ghosts 9.10 Bouncing Ball 9.10 Bouncing Ball 9.11 Mouse Events: Mouse Clicked 9.11 Mouse Events: Mouse Clicked 9.12 Intro to Lists/Arrays 9.12 Intro to Lists/Arrays 9.13 Adding/Removing From an Array 9.13 Adding/Removing From an Array 9.14 Array Length and Looping Through Arrays 9.14 Array Length and Looping Through Arrays 9.15 Iterating Over an Array 9.15 Iterating Over an Array 15.1 Mouse Events: Mouse Moved 15.2 Drawing Lines 15.3 Key Events 15.4 Crazy Ball Game 16.1 Indexing Into an Array 16.2 Finding an Element in a List 16.3 Removing an Element From an Array 17.1 Intro to Objects/Maps 17.2 Basics of Objects 17.3 Iterating Over an Object 17.4 When Do I Use an Object? 17.5 Intro to Sets 17.6 Intro to Grids 17.7 Looping Over a Grid 17.8 Grid Example: Get a Row 17.9 Data Structures Challenges 12.1 Extra Karel Practice 14.1 Functions and Parameters Practice 15.1 Mouse Events: Mouse Moved 15.2 Drawing Lines 15.3 Key Events 15.4 Crazy Ball Game 16.1 Indexing Into an Array 16.2 Finding an Element in a List 16.3 Removing an Element From an Array 17.1 Intro to Objects/Maps 17.2 Basics of Objects 17.3 Iterating Over an Object 17.4 When Do I Use an Object? 17.5 Intro to Sets 17.6 Intro to Grids 17.7 Looping Over a Grid 17.8 Grid Example: Get a Row 17.9 Data Structures Challenges 12.1 Extra Karel Practice 14.1 Functions and Parameters Practice
 1.10 Simulation 1.10 Simulation 2.4 Functions in Karel 2.4 Functions in Karel 2.5 The Start Function 2.5 The Start Function 2.6 Top Down Design and Decomposition in Karel 2.6 Top Down Design and Decomposition in Karel 2.7 Commenting Your Code 2.7 Commenting Your Code 2.8 Abstraction 2.8 Abstraction 2.9 Super Karel 2.9 Super Karel 2.10 For Loops 2.10 For Loops 2.11 If Statements 2.11 If Statements 2.12 If/Else Statements 2.12 If/Else Statements 2.13 While Loops in Karel 2.13 While Loops in Karel 2.14 Control Structures Example 2.14 Control Structures Example 2.15 More Karel Examples and Testing 2.15 More Karel Examples and Testing 2.16 How to Indent Your Code 2.16 How to Indent Your Code 3.2 Challenge Problems 3.2 Challenge Problems 6.1 Hello World 6.1 Hello World 6.2 Variables 6.2 Variables 6.3 User Input 6.3 User Input 6.4 Basic Math in JavaScript 6.4 Basic Math in JavaScript 6.5 Using Graphics in JavaScript 6.5 Using Graphics in JavaScript 9.1 Booleans 9.1 Booleans 9.2 Logical Operators 9.2 Logical Operators 9.3 Comparison Operators 9.3 Comparison Operators 9.4 If Statements 9.4 If Statements 9.5 For Loops in JavaScript 9.5 For Loops in JavaScript 9.6 General For Loops 9.6 General For Loops 9.7 For Loop Practice 9.7 For Loop Practice 9.8 Random Numbers 9.8 Random Numbers 9.9 While Loops 9.9 While Loops 9.10 Loop and a Half 9.10 Loop and a Half 11.1 Functions and Parameters 1 11.1 Functions and Parameters 1 11.2 Functions and Parameters 2 11.2 Functions and Parameters 2 11.3 Functions and Parameters 3 11.3 Functions and Parameters 3 11.4 Functions and Return Values 1 11.4 Functions and Return Values 1 11.5 Functions and Return Values 2 11.5 Functions and Return Values 2 11.6 Timers 11.6 Timers 11.7 Random Circles 11.7 Random Circles 11.8 Random Ghosts 11.8 Random Ghosts 11.9 Bouncing Ball 11.9 Bouncing Ball 11.10 Mouse Events: Mouse Clicked 11.10 Mouse Events: Mouse Clicked 11.11 Intro to Lists/Arrays 11.11 Intro to Lists/Arrays 11.12 Adding/Removing From an Array 11.12 Adding/Removing From an Array 11.13 Array Length and Looping Through Arrays 11.13 Array Length and Looping Through Arrays 11.14 Iterating Over an Array 11.14 Iterating Over an Array 17.1 Mouse Events: Mouse Moved 17.2 Drawing Lines 17.3 Key Events 17.4 Crazy Ball Game 18.1 Indexing Into an Array 18.2 Finding an Element in a List 18.3 Removing an Element From an Array 19.1 Intro to Objects/Maps 19.2 Basics of Objects 19.3 Iterating Over an Object 19.4 When Do I Use an Object? 19.5 Intro to Sets 19.6 Intro to Grids 19.7 Looping Over a Grid 19.8 Grid Example: Get a Row 19.9 Data Structures Challenges 14.1 Extra Karel Practice 16.1 Functions and Parameters Practice 17.1 Mouse Events: Mouse Moved 17.2 Drawing Lines 17.3 Key Events 17.4 Crazy Ball Game 18.1 Indexing Into an Array 18.2 Finding an Element in a List 18.3 Removing an Element From an Array 19.1 Intro to Objects/Maps 19.2 Basics of Objects 19.3 Iterating Over an Object 19.4 When Do I Use an Object? 19.5 Intro to Sets 19.6 Intro to Grids 19.7 Looping Over a Grid 19.8 Grid Example: Get a Row 19.9 Data Structures Challenges 14.1 Extra Karel Practice 16.1 Functions and Parameters Practice
 3.4 Functions in Karel 3.4 Functions in Karel 3.5 The Start Function 3.5 The Start Function 3.6 Top Down Design and Decomposition in Karel 3.6 Top Down Design and Decomposition in Karel 3.7 Commenting Your Code 3.7 Commenting Your Code 3.8 Abstraction 3.8 Abstraction 3.9 Super Karel 3.9 Super Karel 3.10 For Loops 3.10 For Loops 3.11 If Statements 3.11 If Statements 3.12 If/Else Statements 3.12 If/Else Statements 3.13 While Loops in Karel 3.13 While Loops in Karel 3.14 Control Structures Example 3.14 Control Structures Example 3.15 More Karel Examples and Testing 3.15 More Karel Examples and Testing 3.16 How to Indent Your Code 3.16 How to Indent Your Code 4.2 Challenge Problems 4.2 Challenge Problems 6.1 Hello World 6.1 Hello World 6.2 Variables 6.2 Variables 6.3 User Input 6.3 User Input 6.4 Basic Math in JavaScript 6.4 Basic Math in JavaScript 6.5 Using Graphics in JavaScript 6.5 Using Graphics in JavaScript 8.1 Booleans 8.1 Booleans 8.2 Logical Operators 8.2 Logical Operators 8.3 Comparison Operators 8.3 Comparison Operators 8.4 If Statements 8.4 If Statements 8.5 For Loops in JavaScript 8.5 For Loops in JavaScript 8.6 General For Loops 8.6 General For Loops 8.7 For Loop Practice 8.7 For Loop Practice 8.8 Random Numbers 8.8 Random Numbers 8.9 While Loops 8.9 While Loops 8.10 Loop and a Half 8.10 Loop and a Half 10.1 Functions and Parameters 1 10.1 Functions and Parameters 1 10.2 Functions and Parameters 2 10.2 Functions and Parameters 2 10.3 Functions and Parameters 3 10.3 Functions and Parameters 3 10.4 Functions and Return Values 1 10.4 Functions and Return Values 1 10.5 Functions and Return Values 2 10.5 Functions and Return Values 2 10.6 Timers 10.6 Timers 10.7 Random Circles 10.7 Random Circles 10.8 Random Ghosts 10.8 Random Ghosts 10.9 Bouncing Ball 10.9 Bouncing Ball 10.10 Mouse Events: Mouse Clicked 10.10 Mouse Events: Mouse Clicked 10.11 Intro to Lists/Arrays 10.11 Intro to Lists/Arrays 10.12 Adding/Removing From an Array 10.12 Adding/Removing From an Array 10.13 Array Length and Looping Through Arrays 10.13 Array Length and Looping Through Arrays 10.14 Iterating Over an Array 10.14 Iterating Over an Array 16.1 Mouse Events: Mouse Moved 16.2 Drawing Lines 16.3 Key Events 16.4 Crazy Ball Game 17.1 Indexing Into an Array 17.2 Finding an Element in a List 17.3 Removing an Element From an Array 18.1 Intro to Objects/Maps 18.2 Basics of Objects 18.3 Iterating Over an Object 18.4 When Do I Use an Object? 18.5 Intro to Sets 18.6 Intro to Grids 18.7 Looping Over a Grid 18.8 Grid Example: Get a Row 18.9 Data Structures Challenges 13.1 Extra Karel Practice 15.1 Functions and Parameters Practice 16.1 Mouse Events: Mouse Moved 16.2 Drawing Lines 16.3 Key Events 16.4 Crazy Ball Game 17.1 Indexing Into an Array 17.2 Finding an Element in a List 17.3 Removing an Element From an Array 18.1 Intro to Objects/Maps 18.2 Basics of Objects 18.3 Iterating Over an Object 18.4 When Do I Use an Object? 18.5 Intro to Sets 18.6 Intro to Grids 18.7 Looping Over a Grid 18.8 Grid Example: Get a Row 18.9 Data Structures Challenges 13.1 Extra Karel Practice 15.1 Functions and Parameters Practice
 3.4 Functions in Karel 3.4 Functions in Karel 3.5 The Start Function 3.5 The Start Function 3.6 Top Down Design and Decomposition in Karel 3.6 Top Down Design and Decomposition in Karel 3.7 Commenting Your Code 3.7 Commenting Your Code 3.8 Abstraction 3.8 Abstraction 3.9 Super Karel 3.9 Super Karel 3.10 For Loops 3.10 For Loops 3.11 If Statements 3.11 If Statements 3.12 If/Else Statements 3.12 If/Else Statements 3.13 While Loops in Karel 3.13 While Loops in Karel 3.14 Control Structures Example 3.14 Control Structures Example 3.15 More Karel Examples and Testing 3.15 More Karel Examples and Testing 3.16 How to Indent Your Code 3.16 How to Indent Your Code 4.2 Challenge Problems 4.2 Challenge Problems 6.1 Hello World 6.1 Hello World 6.2 Variables 6.2 Variables 6.3 User Input 6.3 User Input 6.4 Basic Math in JavaScript 6.4 Basic Math in JavaScript 6.5 Using Graphics in JavaScript 6.5 Using Graphics in JavaScript 10.1 Booleans 10.2 Logical Operators 10.3 Comparison Operators 10.4 If Statements 10.5 For Loops in JavaScript 10.6 General For Loops 10.7 For Loop Practice 10.8 Random Numbers 10.9 While Loops 10.10 Loop and a Half 12.1 Functions and Parameters 1 12.2 Functions and Parameters 2 12.3 Functions and Parameters 3 12.4 Functions and Return Values 1 12.5 Functions and Return Values 2 12.6 Timers 12.7 Random Circles 12.8 Random Ghosts 12.9 Bouncing Ball 12.10 Mouse Events: Mouse Clicked 17.1 Mouse Events: Mouse Moved 17.2 Drawing Lines 17.3 Key Events 17.4 Crazy Ball Game 12.11 Intro to Lists/Arrays 18.1 Indexing Into an Array 12.12 Adding/Removing From an Array 12.13 Array Length and Looping Through Arrays 12.14 Iterating Over an Array 18.2 Finding an Element in a List 18.3 Removing an Element From an Array 19.1 Intro to Objects/Maps 19.2 Basics of Objects 19.3 Iterating Over an Object 19.4 When Do I Use an Object? 19.5 Intro to Sets 19.6 Intro to Grids 19.7 Looping Over a Grid 19.8 Grid Example: Get a Row 19.9 Data Structures Challenges 14.1 Extra Karel Practice 16.1 Functions and Parameters Practice 10.1 Booleans 10.2 Logical Operators 10.3 Comparison Operators 10.4 If Statements 10.5 For Loops in JavaScript 10.6 General For Loops 10.7 For Loop Practice 10.8 Random Numbers 10.9 While Loops 10.10 Loop and a Half 12.1 Functions and Parameters 1 12.2 Functions and Parameters 2 12.3 Functions and Parameters 3 12.4 Functions and Return Values 1 12.5 Functions and Return Values 2 12.6 Timers 12.7 Random Circles 12.8 Random Ghosts 12.9 Bouncing Ball 12.10 Mouse Events: Mouse Clicked 17.1 Mouse Events: Mouse Moved 17.2 Drawing Lines 17.3 Key Events 17.4 Crazy Ball Game 12.11 Intro to Lists/Arrays 18.1 Indexing Into an Array 12.12 Adding/Removing From an Array 12.13 Array Length and Looping Through Arrays 12.14 Iterating Over an Array 18.2 Finding an Element in a List 18.3 Removing an Element From an Array 19.1 Intro to Objects/Maps 19.2 Basics of Objects 19.3 Iterating Over an Object 19.4 When Do I Use an Object? 19.5 Intro to Sets 19.6 Intro to Grids 19.7 Looping Over a Grid 19.8 Grid Example: Get a Row 19.9 Data Structures Challenges 14.1 Extra Karel Practice 16.1 Functions and Parameters Practice
 2.4 Functions in Karel 2.4 Functions in Karel 2.5 The Start Function 2.5 The Start Function 2.6 Top Down Design and Decomposition in Karel 2.6 Top Down Design and Decomposition in Karel 2.7 Commenting Your Code 2.7 Commenting Your Code 2.8 Abstraction 2.8 Abstraction 2.9 Super Karel 2.9 Super Karel 2.10 For Loops 2.10 For Loops 2.11 If Statements 2.11 If Statements 2.12 If/Else Statements 2.12 If/Else Statements 2.13 While Loops in Karel 2.13 While Loops in Karel 2.14 Control Structures Example 2.14 Control Structures Example 2.15 More Karel Examples and Testing 2.15 More Karel Examples and Testing 2.16 How to Indent Your Code 2.16 How to Indent Your Code 3.2 Challenge Problems 3.2 Challenge Problems 4.2 Hello World 4.2 Hello World 4.3 Variables 4.3 Variables 4.4 User Input 4.4 User Input 4.5 Basic Math in JavaScript 4.5 Basic Math in JavaScript 4.6 Using Graphics in JavaScript 4.6 Using Graphics in JavaScript 13.1 Booleans 13.2 Logical Operators 13.3 Comparison Operators 13.4 If Statements 13.5 For Loops in JavaScript 13.6 General For Loops 13.7 For Loop Practice 13.8 Random Numbers 13.9 While Loops 13.10 Loop and a Half 11.1 Extra Karel Practice 13.1 Booleans 13.2 Logical Operators 13.3 Comparison Operators 13.4 If Statements 13.5 For Loops in JavaScript 13.6 General For Loops 13.7 For Loop Practice 13.8 Random Numbers 13.9 While Loops 13.10 Loop and a Half 11.1 Extra Karel Practice
 3.10 Top Down Design 3.10 Top Down Design 4.1 Practice PT: Pair-Programming Paint! 4.1 Practice PT: Pair-Programming Paint!
 2.4 Functions in Karel 2.4 Functions in Karel 2.5 The Start Function 2.5 The Start Function 2.6 Top Down Design and Decomposition in Karel 2.6 Top Down Design and Decomposition in Karel 2.7 Commenting Your Code 2.7 Commenting Your Code 2.8 Super Karel 2.8 Super Karel 2.9 For Loops 2.9 For Loops 2.10 If Statements 2.10 If Statements 2.11 If/Else Statements 2.11 If/Else Statements 2.12 While Loops in Karel 2.12 While Loops in Karel 2.13 Control Structures Example 2.13 Control Structures Example 2.14 More Karel Examples and Testing 2.14 More Karel Examples and Testing 2.15 How to Indent Your Code 2.15 How to Indent Your Code 3.1 Hello World 3.1 Hello World 3.2 Variables 3.2 Variables 3.3 User Input 3.3 User Input 3.4 Basic Math in JavaScript 3.4 Basic Math in JavaScript 3.5 Using Graphics in JavaScript 3.5 Using Graphics in JavaScript 4.1 Extra Karel Practice 6.10 Top Down Design 4.1 Extra Karel Practice 6.10 Top Down Design
 1.4 Functions in Karel 1.4 Functions in Karel 1.5 The Start Function 1.5 The Start Function 1.6 Top Down Design and Decomposition in Karel 1.6 Top Down Design and Decomposition in Karel 1.7 Commenting Your Code 1.7 Commenting Your Code 1.8 Super Karel 1.8 Super Karel 1.9 For Loops 1.9 For Loops 1.10 If Statements 1.10 If Statements 1.11 If/Else Statements 1.11 If/Else Statements 1.12 While Loops in Karel 1.12 While Loops in Karel 1.13 Control Structures Example 1.13 Control Structures Example 1.14 More Karel Examples and Testing 1.14 More Karel Examples and Testing 1.15 How to Indent Your Code 1.15 How to Indent Your Code
 2.4 Functions in Karel 2.4 Functions in Karel 2.5 The Start Function 2.5 The Start Function 2.6 Top Down Design and Decomposition in Karel 2.6 Top Down Design and Decomposition in Karel 2.7 Commenting Your Code 2.7 Commenting Your Code 2.8 Super Karel 2.8 Super Karel 2.9 For Loops 2.9 For Loops 2.10 If Statements 2.10 If Statements 2.11 If/Else Statements 2.11 If/Else Statements 2.12 While Loops in Karel 2.12 While Loops in Karel 2.13 Control Structures Example 2.13 Control Structures Example 2.14 More Karel Examples and Testing 2.14 More Karel Examples and Testing 2.15 How to Indent Your Code 2.15 How to Indent Your Code 3.10 Top Down Design 3.10 Top Down Design 4.1 Extra Karel Practice 4.1 Extra Karel Practice
 1.10 Top Down Design 1.10 Top Down Design 3.3 Comments & Pseudocode 11.4 Functions in Karel 11.5 The Start Function 11.6 Top Down Design and Decomposition in Karel 11.7 Commenting Your Code 11.8 Super Karel 11.9 For Loops 11.10 If Statements 11.11 If/Else Statements 11.12 While Loops in Karel 11.13 Control Structures Example 11.14 More Karel Examples and Testing 11.15 How to Indent Your Code 11.4 Functions in Karel 11.5 The Start Function 11.6 Top Down Design and Decomposition in Karel 11.7 Commenting Your Code 11.8 Super Karel 11.9 For Loops 11.10 If Statements 11.11 If/Else Statements 11.12 While Loops in Karel 11.13 Control Structures Example 11.14 More Karel Examples and Testing 11.15 How to Indent Your Code 14.5 Functions