# OH 7: ATP.VDR.7.a

## CodeHS Lessons

Use test cases to trace variable values to determine the result.

 Standard 6.2 If/Else Statements 6.3 Logical Operators 6.4 Comparison Operators 6.6 While Loops 6.7 The Break Statement
 Standard 5.4 Logical Operators 7.1 While Loops 7.2 For Loops 7.4 Nested Control Structures 9.2 Functions and Parameters 10.4 Strings and For Loops 12.3 For Loops and Lists 24.10 Variables 24.16 Using i in For Loops 24.17 Extended Loop Control 24.18 If Statements 24.19 If/Else Statements 24.20 While Loops 24.21 Putting Together Control Structures
 Standard 33.4 Strings and For Loops
 Standard 9.6 Logical Operators 9.7 Comparison Operators 9.8 If Statements 9.12 While Loops 9.13 Loop and a Half
 Standard 5.2 If/Else Statements 5.3 Logical Operators 5.4 Comparison Operators 5.6 While Loops 5.7 The Break Statement
 Standard 6.2 If/Else Statements 6.3 Logical Operators 6.4 Comparison Operators 6.6 While Loops 6.7 The Break Statement
 Standard 6.2 If/Else Statements 6.3 Logical Operators 6.4 Comparison Operators 6.6 While Loops 6.7 The Break Statement
 Standard 5.5 For Loops 8.3 Variables
 Standard 1.5 For Loops 4.3 Variables
 Standard 5.1 Variables 5.9 Using i in For Loops 5.10 Extended Loop Control 7.1 If Statements 7.2 If/Else Statements 7.4 While Loops 8.1 Putting Together Control Structures
 Standard 5.1 Variables 5.9 Using i in For Loops 5.10 Extended Loop Control 7.1 If Statements 7.2 If/Else Statements 7.4 While Loops 8.1 Putting Together Control Structures
 Standard 1.4 Variables
 Standard 4.4 If/Else Statements
 Standard 3.11 Variables 3.14 Using i in For Loops 3.15 Extended Loop Control 3.16 If Statements 3.17 If/ Else Statements 3.18 While Loops 3.19 Putting Together Control Structures
 Standard 6.11 Variables 6.14 Using i in For Loops 6.15 Extended Loop Control 6.16 If Statements 6.17 If/ Else Statements 6.18 While Loops 6.19 Putting Together Control Structures
 Standard 13.11 Variables 13.14 Using i in For Loops 13.15 Extended Loop Control 13.16 If Statements 13.17 If/ Else Statements 13.18 While Loops 13.19 Putting Together Control Structures
 Standard 7.9 Logical Operators 7.11 For Loops 7.15 Functions and Parameters
 Standard 1.11 Variables 1.14 Using i in For Loops 1.15 Extended Loop Control 1.16 If Statements 1.17 If/ Else Statements 1.18 While Loops 1.19 Putting Together Control Structures 4.4 Logical Operators 5.1 While Loops 5.2 For Loops 5.4 Nested Control Structures 6.2 Functions and Parameters 7.1 Loops 7.2 If/Else Statements 8.4 Strings and For Loops 9.3 For Loops and Lists 12.1 Arduino Challenges
 Standard 6.2 Logical Operators 6.3 Comparison Operators 6.4 If Statements 6.9 While Loops 6.10 Loop and a Half 10.1 Loops 10.2 If/Else Statements 14.1 Arduino Challenges
 Standard 4.1 Variables 4.4 Using i in For Loops 4.5 Extended Loop Control 6.1 If Statements 6.2 If/ Else Statements 6.3 While Loops 7.2 While Loops 7.4 If/Else Statements 8.1 Putting Together Control Structures 9.1 micro:bit Challenges
 Standard 7.2 While Loops 7.4 If/Else Statements 10.1 micro:bit Challenges
 Standard 2.2 While Loops 2.4 If/Else Statements 3.1 micro:bit Challenges
 Standard 2.1 Loops 2.2 If/Else Statements 3.1 Arduino Challenges
 Standard 7.2 Logical Operators 7.3 Comparison Operators 7.4 If Statements 7.9 While Loops 7.10 Loop and a Half
 Standard 1.11 Variables 1.14 Using i in For Loops 1.15 Extended Loop Control 1.16 If Statements 1.17 If/ Else Statements 1.18 While Loops 1.19 Putting Together Control Structures 14.2 While Loops 14.4 If/Else Statements 15.1 micro:bit Challenges
 Standard 5.2 Logical Operators 5.3 Comparison Operators 5.4 If Statements 5.9 While Loops 5.10 Loop and a Half
 Standard 5.2 Logical Operators 5.3 Comparison Operators 5.4 If Statements 5.9 While Loops 5.10 Loop and a Half
 Standard 5.2 Logical Operators 5.3 Comparison Operators 5.4 If Statements 5.9 While Loops 5.10 Loop and a Half
 Standard 4.1 Variables 4.4 Using i in For Loops 4.5 Extended Loop Control 5.1 If Statements 5.2 If/ Else Statements 5.3 While Loops 6.1 Putting Together Control Structures
 Standard 2.11 Variables 2.14 Using i in For Loops 2.15 Extended Loop Control 2.16 If Statements 2.17 If/ Else Statements 2.18 While Loops 2.19 Putting Together Control Structures 4.4 Logical Operators 5.1 While Loops 5.2 For Loops 5.4 Nested Control Structures 6.2 Functions and Parameters 7.4 Strings and For Loops 8.3 For Loops and Lists
 Standard 6.6 Logical Operators 6.7 Comparison Operators 6.8 If Statements
 Standard 7.2 Logical Operators 7.3 Comparison Operators 7.4 If Statements 7.9 While Loops 7.10 Loop and a Half
 Standard 8.2 Logical Operators 8.3 Comparison Operators 8.4 If Statements 8.9 While Loops 8.10 Loop and a Half
 Standard 2.12 Variables 2.16 Using i in For Loops 2.17 Extended Loop Control 2.18 If Statements 2.19 If/ Else Statements 2.20 While Loops 2.22 Putting Together Control Structures 6.4 Logical Operators 7.1 While Loops 7.2 For Loops 7.4 Nested Control Structures 8.2 Functions and Parameters 9.4 Strings and For Loops 10.3 For Loops and Lists
 Standard 8.2 Logical Operators 8.3 Comparison Operators 8.4 If Statements 8.9 While Loops 8.10 Loop and a Half
 Standard 7.2 Logical Operators 7.3 Comparison Operators 7.4 If Statements 7.9 While Loops 7.10 Loop and a Half
 Standard 1.11 Variables 1.14 Using i in For Loops 1.15 Extended Loop Control 1.16 If Statements 1.17 If/ Else Statements 1.18 While Loops 1.19 Putting Together Control Structures 14.2 While Loops 14.4 If/Else Statements 15.1 micro:bit Challenges
 Standard 7.2 Logical Operators 7.3 Comparison Operators 7.4 If Statements 7.9 While Loops 7.10 Loop and a Half
 Standard 1.11 Variables 1.14 Using i in For Loops 1.15 Extended Loop Control 1.16 If Statements 1.17 If/ Else Statements 1.18 While Loops 1.19 Putting Together Control Structures 14.2 While Loops 14.4 If/Else Statements 15.1 micro:bit Challenges
 Standard 9.2 Logical Operators 9.3 Comparison Operators 9.4 If Statements 9.9 While Loops 9.10 Loop and a Half
 Standard 3.11 Variables 3.14 Using i in For Loops 3.15 Extended Loop Control 3.16 If Statements 3.17 If/ Else Statements 3.18 While Loops 3.19 Putting Together Control Structures
 Standard 14.3 Logical Operators 14.4 Comparison Operators 14.2 If/Else Statements 14.6 While Loops 14.7 The Break Statement
 Standard 14.2 Logical Operators 14.3 Comparison Operators 14.4 If Statements 14.9 While Loops 14.10 Loop and a Half
 Standard 4.4 Logical Operators 5.1 While Loops 5.2 For Loops 5.4 Nested Control Structures 6.2 Functions and Parameters 8.4 Strings and For Loops 9.3 For Loops and Lists 18.11 Variables 18.14 Using i in For Loops 18.15 Extended Loop Control 18.16 If Statements 18.17 If/ Else Statements 18.18 While Loops 18.19 Putting Together Control Structures
 Standard 15.2 Logical Operators 15.3 Comparison Operators 15.4 If Statements 15.9 While Loops 15.10 Loop and a Half
 Standard 7.2 Logical Operators 7.3 Comparison Operators 7.4 If Statements 7.9 While Loops 7.10 Loop and a Half
 Standard 1.11 Variables 1.14 Using i in For Loops 1.15 Extended Loop Control 1.16 If Statements 1.17 If/ Else Statements 1.18 While Loops 1.19 Putting Together Control Structures 9.2 While Loops 9.4 If/Else Statements 10.1 micro:bit Challenges
 Standard 4.2 If/Else Statements 4.3 Logical Operators 4.4 Comparison Operators 4.6 While Loops 4.7 The Break Statement
 Standard 1.5 For Loops 3.3 Variables
 Standard 10.2 Logical Operators 10.3 Comparison Operators 10.4 If Statements 10.9 While Loops 10.10 Loop and a Half
 Standard 10.2 Logical Operators 10.3 Comparison Operators 10.4 If Statements 10.9 While Loops 10.10 Loop and a Half
 Standard 5.2 Functions and Parameters 6.3 For Loops and Lists
 Standard 6.2 Logical Operators 6.3 Comparison Operators 6.4 If Statements 6.9 While Loops 6.10 Loop and a Half
 Standard 1.11 Variables 1.14 Using i in For Loops 1.15 Extended Loop Control 1.16 If Statements 1.17 If/ Else Statements 1.18 While Loops 1.19 Putting Together Control Structures 14.2 While Loops 14.4 If/Else Statements 15.1 micro:bit Challenges
 Standard 7.2 Logical Operators 7.3 Comparison Operators 7.4 If Statements 7.9 While Loops 7.10 Loop and a Half
 Standard 7.2 Logical Operators 7.3 Comparison Operators 7.4 If Statements 7.9 While Loops 7.10 Loop and a Half
 Standard 1.11 Variables 1.14 Using i in For Loops 1.15 Extended Loop Control 1.16 If Statements 1.17 If/ Else Statements 1.18 While Loops 1.19 Putting Together Control Structures 14.2 While Loops 14.4 If/Else Statements 15.1 micro:bit Challenges
 Standard 7.2 Logical Operators 7.3 Comparison Operators 7.4 If Statements 7.9 While Loops 7.10 Loop and a Half
 Standard 1.11 Variables 1.14 Using i in For Loops 1.15 Extended Loop Control 1.16 If Statements 1.17 If/ Else Statements 1.18 While Loops 1.19 Putting Together Control Structures 14.2 While Loops 14.4 If/Else Statements 15.1 micro:bit Challenges
 Standard 6.10 Variables 6.13 If Statements 6.14 If/ Else Statements 6.15 While Loops 8.9 Logical Operators 8.10 Comparison Operators 8.11 While Loops 7.9 Logical Operators 7.11 While Loops 7.12 For Loops 8.8 If/Else Statements
 Standard 7.2 Logical Operators 7.3 Comparison Operators 7.4 If Statements 7.9 While Loops 7.10 Loop and a Half
 Standard 1.11 Variables 1.14 Using i in For Loops 1.15 Extended Loop Control 1.16 If Statements 1.17 If/ Else Statements 1.18 While Loops 1.19 Putting Together Control Structures 14.2 While Loops 14.4 If/Else Statements 15.1 micro:bit Challenges
 Standard 1.11 Variables 1.14 Using i in For Loops 1.15 Extended Loop Control 1.16 If Statements 1.17 If/ Else Statements 1.18 While Loops 1.19 Putting Together Control Structures 6.2 While Loops 6.4 If/Else Statements 7.1 micro:bit Challenges
 Standard 7.2 Logical Operators 7.3 Comparison Operators 7.4 If Statements 7.9 While Loops 7.10 Loop and a Half
 Standard 1.11 Variables 1.14 Using i in For Loops 1.15 Extended Loop Control 1.16 If Statements 1.17 If/ Else Statements 1.18 While Loops 1.19 Putting Together Control Structures 14.2 While Loops 14.4 If/Else Statements 15.1 micro:bit Challenges
 Standard 3.11 Variables 3.14 Using i in For Loops 3.15 Extended Loop Control 3.16 If Statements 3.17 If/ Else Statements 3.18 While Loops 3.19 Putting Together Control Structures
 Standard 3.12 Variables 3.15 Using i in For Loops 3.16 Extended Loop Control 3.17 If Statements 3.18 If/ Else Statements 3.19 While Loops 3.20 Putting Together Control Structures
 Standard 7.2 If/Else Statements 7.3 Logical Operators 7.4 Comparison Operators 7.6 While Loops 7.7 The Break Statement
 Standard 2.5 For Loops 5.3 Variables
 Standard 6.2 If/Else Statements 6.3 Logical Operators 6.4 Comparison Operators 6.6 While Loops 6.7 The Break Statement 11.5 While Loops
 Standard 1.12 Variables 1.15 Using i in For Loops 1.16 Extended Loop Control 1.17 If Statements 1.18 If/ Else Statements 1.19 While Loops 1.20 Putting Together Control Structures
 Standard 1.12 Variables 1.15 Using i in For Loops 1.16 Extended Loop Control 1.17 If Statements 1.18 If/ Else Statements 1.19 While Loops 1.20 Putting Together Control Structures
 Standard 5.2 Logical Operators 5.3 Comparison Operators 5.4 If Statements 5.9 While Loops 5.10 Loop and a Half
 Standard 4.4 Strings and For Loops
 Standard 1.11 Variables 1.14 Using i in For Loops 1.15 Extended Loop Control 1.16 If Statements 1.17 If/ Else Statements 1.18 While Loops 1.19 Putting Together Control Structures 14.2 While Loops 14.4 If/Else Statements 15.1 micro:bit Challenges
 Standard 7.2 Logical Operators 7.3 Comparison Operators 7.4 If Statements 7.9 While Loops 7.10 Loop and a Half
 Standard 18.4 Strings and For Loops
 Standard 1.11 Variables 1.14 Using i in For Loops 1.15 Extended Loop Control 1.16 If Statements 1.17 If/ Else Statements 1.18 While Loops 1.19 Putting Together Control Structures 14.2 While Loops 14.4 If/Else Statements 15.1 micro:bit Challenges
 Standard 6.4 Logical Operators 7.1 While Loops 7.2 For Loops 7.4 Nested Control Structures 8.2 Functions and Parameters 16.10 Variables 16.16 Using i in For Loops 16.17 Extended Loop Control 16.18 If Statements 16.19 If/Else Statements 16.20 While Loops 16.21 Putting Together Control Structures
 Standard 15.4 Strings and For Loops
 Standard 6.4 Logical Operators 7.1 While Loops 7.2 For Loops 7.4 Nested Control Structures 8.2 Functions and Parameters 16.10 Variables 16.16 Using i in For Loops 16.17 Extended Loop Control 16.18 If Statements 16.19 If/Else Statements 16.20 While Loops 16.21 Putting Together Control Structures
 Standard 15.4 Strings and For Loops
 Standard 13.2 Logical Operators 13.3 Comparison Operators 13.4 If Statements 13.9 While Loops 13.10 Loop and a Half
 Standard 13.6 Logical Operators 13.7 Comparison Operators 13.8 If Statements 13.12 While Loops 13.13 Loop and a Half
 Standard 14.6 Logical Operators 14.7 Comparison Operators 14.8 If Statements 14.12 While Loops 14.13 Loop and a Half
 Standard 6.2 Logical Operators 6.3 Comparison Operators 6.4 If Statements 6.9 While Loops 6.10 Loop and a Half
 Standard 8.2 If/Else Statements 8.3 Logical Operators 8.4 Comparison Operators 8.6 While Loops 8.7 The Break Statement
 Standard 4.2 Variables 4.6 Using i in For Loops 4.7 Extended Loop Control 5.1 If Statements 5.2 If/ Else Statements 5.3 While Loops 6.1 Putting Together Control Structures
 Standard 7.2 Logical Operators 7.3 Comparison Operators 7.4 If Statements 7.9 While Loops 7.10 Loop and a Half
 Standard 7.2 Logical Operators 7.3 Comparison Operators 7.4 If Statements 7.9 While Loops 7.10 Loop and a Half
 Standard 1.11 Variables 1.14 Using i in For Loops 1.15 Extended Loop Control 1.16 If Statements 1.17 If/ Else Statements 1.18 While Loops 1.19 Putting Together Control Structures 14.2 While Loops 14.4 If/Else Statements 15.1 micro:bit Challenges
 Standard 1.5 For Loops 5.3 Variables
 Standard 1.5 For Loops 3.6 While Loops 7.2 If/Else Statements 8.1 micro:bit Challenges
 Standard 4.4 Logical Operators 6.1 While Loops 6.2 For Loops 6.4 Nested Control Structures
 Standard 1.2 Functions and Parameters 2.4 Strings and For Loops 4.3 For Loops and Lists
 Standard 4.4 If/Else Statements
 Standard 5.1 Variables 5.9 Using i in For Loops 5.10 Extended Loop Control 7.1 If Statements 7.2 If/Else Statements 7.4 While Loops 8.1 Putting Together Control Structures
 Standard 5.1 Variables 5.9 Using i in For Loops 5.10 Extended Loop Control 7.1 If Statements 7.2 If/Else Statements 7.4 While Loops 8.1 Putting Together Control Structures
 Standard 4.4 Logical Operators 6.1 While Loops 6.2 For Loops 6.4 Nested Control Structures 9.2 Functions and Parameters 10.4 Strings and For Loops 12.3 For Loops and Lists
 Standard 4.4 Logical Operators 6.1 While Loops 6.2 For Loops 6.4 Nested Control Structures 11.10 Variables 11.16 Using i in For Loops 11.17 Extended Loop Control 11.18 If Statements 11.19 If/Else Statements 11.20 While Loops 11.21 Putting Together Control Structures
 Standard 1.2 Functions and Parameters 2.4 Strings and For Loops 4.3 For Loops and Lists
 Standard 8.6 Logical Operators 8.7 Comparison Operators 8.8 If Statements 8.12 While Loops 8.13 Loop and a Half
 Standard 12.6 Logical Operators 12.7 Comparison Operators 12.8 If Statements 12.12 While Loops 12.13 Loop and a Half
 Standard 6.3 For Loops and Lists
 Standard 22.2 Logical Operators 22.3 Comparison Operators 22.4 If Statements 22.9 While Loops 22.10 Loop and a Half