# VA CSF: CSF.17

## CodeHS Lessons

The student will trace the execution of an algorithm, illustrating output and changes in values of named variables.

 Standard 6.6 While Loops 6.9 For Loops 9.1 Functions Challenges
 Standard 5.3 Comparison Operators 7.2 For Loops 24.10 Variables 24.16 Using i in For Loops 24.20 While Loops
 Standard 9.9 For Loops in JavaScript 9.15 Functions and Parameters 2 9.10 For Loop Practice 9.12 While Loops 9.14 Functions and Parameters 1 9.16 Functions and Return Values 1 9.17 Functions and Return Values 2
 Standard 4.1 Programming Concepts 22.5 For Loops in JavaScript 22.6 General For Loops 22.7 For Loop Practice 22.9 While Loops
 Standard 5.6 While Loops 5.9 For Loops 8.1 Functions Challenges
 Standard 6.6 While Loops 6.9 For Loops 9.1 Functions Challenges
 Standard 6.6 While Loops 6.9 For Loops 9.1 Functions Challenges
 Standard 5.1 Variables 5.9 Using i in For Loops 7.4 While Loops 8.1 Putting Together Control Structures
 Standard 5.1 Variables 5.9 Using i in For Loops 7.4 While Loops 8.1 Putting Together Control Structures
 Standard 1.9 For Loops 1.12 While Loops in Karel 1.13 Control Structures Example 1.16 Karel Challenges 13.11 Variables 13.14 Using i in For Loops 13.18 While Loops 13.19 Putting Together Control Structures
 Standard 2.9 For Loops 2.12 While Loops in Karel 2.13 Control Structures Example 2.16 Karel Challenges 3.11 Variables 3.14 Using i in For Loops 3.18 While Loops 3.19 Putting Together Control Structures
 Standard 2.9 For Loops 2.12 While Loops in Karel 2.13 Control Structures Example 2.16 Karel Challenges 6.11 Variables 6.14 Using i in For Loops 6.18 While Loops 6.19 Putting Together Control Structures
 Standard 7.8 Comparison Operators 7.11 For Loops
 Standard 1.9 For Loops 1.12 While Loops in Karel 1.13 Control Structures Example 1.16 Karel Challenges
 Standard 1.11 Variables 1.14 Using i in For Loops 1.18 While Loops 1.19 Putting Together Control Structures 4.3 Comparison Operators 5.2 For Loops 7.1 Loops 7.2 If/Else Statements 7.3 Arithmetic, Comparison, and Logical Operators 7.4 Functions 7.5 Using Motors 12.1 Arduino Challenges
 Standard 6.5 For Loops in JavaScript 6.6 General For Loops 6.7 For Loop Practice 6.9 While Loops 8.1 Functions and Parameters 1 8.2 Functions and Parameters 2 8.3 Functions and Parameters 3 8.4 Functions and Return Values 1 8.5 Functions and Return Values 2 9.1 Functions Challenges 10.1 Loops 10.2 If/Else Statements 10.3 Arithmetic, Comparison, and Logical Operators 10.4 Functions 10.5 Using Motors 14.1 Arduino Challenges
 Standard 4.1 Variables 4.4 Using i in For Loops 6.3 While Loops 7.3 Operators 7.5 Functions 8.1 Putting Together Control Structures 9.1 micro:bit Challenges
 Standard 7.3 Operators 7.5 Functions 10.1 micro:bit Challenges
 Standard 2.3 Operators 2.5 Functions 3.1 micro:bit Challenges
 Standard 2.1 Loops 2.2 If/Else Statements 2.3 Arithmetic, Comparison, and Logical Operators 2.4 Functions 2.5 Using Motors 3.1 Arduino Challenges
 Standard 7.5 For Loops in JavaScript 7.6 General For Loops 7.7 For Loop Practice 7.9 While Loops 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2
 Standard 1.11 Variables 1.14 Using i in For Loops 1.18 While Loops 1.19 Putting Together Control Structures 11.9 For Loops 11.12 While Loops in Karel 11.13 Control Structures Example 11.16 Karel Challenges 15.1 micro:bit Challenges 14.3 Operators 14.5 Functions
 Standard 3.2 Methods and Parameters 3.3 Methods and Return Values 3.4 Javadocs and More Methods 4.10 Local Variables and Scope
 Standard 5.5 For Loops in JavaScript 5.6 General For Loops 5.7 For Loop Practice 5.9 While Loops 7.1 Functions and Parameters 1 7.2 Functions and Parameters 2 7.3 Functions and Parameters 3 7.4 Functions and Return Values 1 7.5 Functions and Return Values 2 8.1 Functions Challenges
 Standard 5.5 For Loops in JavaScript 5.6 General For Loops 5.7 For Loop Practice 5.9 While Loops 7.1 Functions and Parameters 1 7.2 Functions and Parameters 2 7.3 Functions and Parameters 3 7.4 Functions and Return Values 1 7.5 Functions and Return Values 2 8.1 Functions Challenges
 Standard 5.5 For Loops in JavaScript 5.6 General For Loops 5.7 For Loop Practice 5.9 While Loops 7.1 Functions and Parameters 1 7.2 Functions and Parameters 2 7.3 Functions and Parameters 3 7.4 Functions and Return Values 1 7.5 Functions and Return Values 2 9.1 Functions Challenges 9.1 Functions Challenges
 Standard 4.1 Variables 4.4 Using i in For Loops 5.3 While Loops 6.1 Putting Together Control Structures
 Standard 2.11 Variables 2.14 Using i in For Loops 2.18 While Loops 2.19 Putting Together Control Structures 4.3 Comparison Operators 5.2 For Loops
 Standard 1.14 More Karel Examples and Testing 2.12 For Loop Practice 2.21 Local Variables and Scope
 Standard 14.9 For Loops in JavaScript 14.10 Functions and Parameters 1 14.11 Functions and Parameters 2 14.12 Functions and Return Values 1
 Standard 7.5 For Loops in JavaScript 7.6 General For Loops 7.7 For Loop Practice 7.9 While Loops 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2
 Standard 8.5 For Loops in JavaScript 8.6 General For Loops 8.7 For Loop Practice 8.9 While Loops 10.1 Functions and Parameters 1 10.2 Functions and Parameters 2 10.3 Functions and Parameters 3 10.4 Functions and Return Values 1 10.5 Functions and Return Values 2
 Standard 2.12 Variables 2.16 Using i in For Loops 2.20 While Loops 2.22 Putting Together Control Structures 6.3 Comparison Operators 7.2 For Loops
 Standard 8.5 For Loops in JavaScript 8.6 General For Loops 8.7 For Loop Practice 8.9 While Loops 10.1 Functions and Parameters 1 10.2 Functions and Parameters 2 10.3 Functions and Parameters 3 10.4 Functions and Return Values 1 10.5 Functions and Return Values 2
 Standard 7.5 For Loops in JavaScript 7.6 General For Loops 7.7 For Loop Practice 7.9 While Loops 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2
 Standard 1.11 Variables 1.14 Using i in For Loops 1.18 While Loops 1.19 Putting Together Control Structures 11.9 For Loops 11.12 While Loops in Karel 11.13 Control Structures Example 11.16 Karel Challenges 15.1 micro:bit Challenges 14.3 Operators 14.5 Functions
 Standard 7.5 For Loops in JavaScript 7.6 General For Loops 7.7 For Loop Practice 7.9 While Loops 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2
 Standard 1.11 Variables 1.14 Using i in For Loops 1.18 While Loops 1.19 Putting Together Control Structures 11.9 For Loops 11.12 While Loops in Karel 11.13 Control Structures Example 11.16 Karel Challenges 15.1 micro:bit Challenges 14.3 Operators 14.5 Functions
 Standard 9.5 For Loops in JavaScript 9.6 General For Loops 9.7 For Loop Practice 9.9 While Loops 11.1 Functions and Parameters 1 11.2 Functions and Parameters 2 11.3 Functions and Parameters 3 11.4 Functions and Return Values 1 11.5 Functions and Return Values 2
 Standard 3.11 Variables 3.14 Using i in For Loops 3.18 While Loops 3.19 Putting Together Control Structures
 Standard 6.1 Programming Concepts
 Standard 15.5 For Loops in JavaScript 15.6 General For Loops 15.7 For Loop Practice 15.9 While Loops
 Standard 14.5 For Loops in JavaScript 17.2 Functions and Parameters 2 17.3 Functions and Parameters 3 14.6 General For Loops 14.7 For Loop Practice 14.9 While Loops 17.1 Functions and Parameters 1 17.4 Functions and Return Values 1 17.5 Functions and Return Values 2
 Standard 4.3 Comparison Operators 5.2 For Loops 18.11 Variables 18.14 Using i in For Loops 18.18 While Loops 18.19 Putting Together Control Structures
 Standard 7.5 For Loops in JavaScript 7.6 General For Loops 7.7 For Loop Practice 7.9 While Loops 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2
 Standard 1.11 Variables 1.14 Using i in For Loops 1.18 While Loops 1.19 Putting Together Control Structures 6.9 For Loops 6.12 While Loops in Karel 6.13 Control Structures Example 6.16 Karel Challenges 10.1 micro:bit Challenges 9.3 Operators 9.5 Functions
 Standard 4.6 While Loops 4.9 For Loops 25.1 Functions Challenges
 Standard 10.5 For Loops in JavaScript 10.6 General For Loops 10.7 For Loop Practice 10.9 While Loops 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 13.1 Functions Challenges
 Standard 6.5 For Loops in JavaScript 6.6 General For Loops 6.7 For Loop Practice 6.9 While Loops 8.1 Functions and Parameters 1 8.2 Functions and Parameters 2 8.3 Functions and Parameters 3 8.4 Functions and Return Values 1 8.5 Functions and Return Values 2 9.1 Functions Challenges
 Standard 23.1 Programming Concepts
 Standard 1.11 Variables 1.14 Using i in For Loops 1.18 While Loops 1.19 Putting Together Control Structures 11.9 For Loops 11.12 While Loops in Karel 11.13 Control Structures Example 11.16 Karel Challenges 15.1 micro:bit Challenges 14.3 Operators 14.5 Functions
 Standard 7.5 For Loops in JavaScript 7.6 General For Loops 7.7 For Loop Practice 7.9 While Loops 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2
 Standard 7.5 For Loops in JavaScript 7.6 General For Loops 7.7 For Loop Practice 7.9 While Loops 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2
 Standard 1.11 Variables 1.14 Using i in For Loops 1.18 While Loops 1.19 Putting Together Control Structures 11.9 For Loops 11.12 While Loops in Karel 11.13 Control Structures Example 11.16 Karel Challenges 15.1 micro:bit Challenges 14.3 Operators 14.5 Functions
 Standard 7.5 For Loops in JavaScript 7.6 General For Loops 7.7 For Loop Practice 7.9 While Loops 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2
 Standard 1.11 Variables 1.14 Using i in For Loops 1.18 While Loops 1.19 Putting Together Control Structures 11.9 For Loops 11.12 While Loops in Karel 11.13 Control Structures Example 11.16 Karel Challenges 15.1 micro:bit Challenges 14.3 Operators 14.5 Functions
 Standard 7.5 For Loops in JavaScript 7.6 General For Loops 7.7 For Loop Practice 7.9 While Loops 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2
 Standard 1.11 Variables 1.14 Using i in For Loops 1.18 While Loops 1.19 Putting Together Control Structures 11.9 For Loops 11.12 While Loops in Karel 11.13 Control Structures Example 11.16 Karel Challenges 15.1 micro:bit Challenges 14.3 Operators 14.5 Functions
 Standard 1.11 Variables 1.14 Using i in For Loops 1.18 While Loops 1.19 Putting Together Control Structures 14.9 For Loops 14.12 While Loops in Karel 14.13 Control Structures Example 14.16 Karel Challenges 7.1 micro:bit Challenges 6.3 Operators 6.5 Functions
 Standard 7.5 For Loops in JavaScript 7.6 General For Loops 7.7 For Loop Practice 7.9 While Loops 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2
 Standard 1.11 Variables 1.14 Using i in For Loops 1.18 While Loops 1.19 Putting Together Control Structures 11.9 For Loops 11.12 While Loops in Karel 11.13 Control Structures Example 11.16 Karel Challenges 15.1 micro:bit Challenges 14.3 Operators 14.5 Functions
 Standard 3.11 Variables 3.14 Using i in For Loops 3.18 While Loops 3.19 Putting Together Control Structures 8.9 For Loops 8.12 While Loops in Karel 8.13 Control Structures Example 8.16 Karel Challenges
 Standard 3.12 Variables 3.15 Using i in For Loops 3.19 While Loops 3.20 Putting Together Control Structures
 Standard 5.2 Methods and Parameters 5.3 Methods and Return Values 5.4 Javadocs and More Methods 6.10 Local Variables and Scope
 Standard 7.6 While Loops 7.9 For Loops
 Standard 6.6 While Loops 6.9 For Loops 21.1 Functions Challenges
 Standard 1.11 Variables 1.14 Using i in For Loops 1.18 While Loops 1.19 Putting Together Control Structures 11.9 For Loops 11.12 While Loops in Karel 11.13 Control Structures Example 11.16 Karel Challenges 15.1 micro:bit Challenges 14.3 Operators 14.5 Functions
 Standard 7.5 For Loops in JavaScript 7.6 General For Loops 7.7 For Loop Practice 7.9 While Loops 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2
 Standard 10.5 For Loops in JavaScript 24.2 Functions and Parameters 2 24.2 Functions and Parameters 2 24.3 Functions and Parameters 3 24.3 Functions and Parameters 3 10.6 General For Loops 10.7 For Loop Practice 10.9 While Loops 24.1 Functions and Parameters 1 24.1 Functions and Parameters 1 24.4 Functions and Return Values 1 24.4 Functions and Return Values 1 24.5 Functions and Return Values 2 24.5 Functions and Return Values 2
 Standard 16.1 Programming Concepts
 Standard 6.5 For Loops in JavaScript 6.6 General For Loops 6.7 For Loop Practice 6.9 While Loops 7.1 Functions and Parameters 1 7.2 Functions and Parameters 2 7.3 Functions and Parameters 3 7.4 Functions and Return Values 1 7.5 Functions and Return Values 2
 Standard 8.6 While Loops 8.9 For Loops
 Standard 21.1 Programming Concepts
 Standard 4.2 Variables 4.6 Using i in For Loops 5.3 While Loops 6.1 Putting Together Control Structures
 Standard 7.5 For Loops in JavaScript 7.6 General For Loops 7.7 For Loop Practice 7.9 While Loops 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2
 Standard 5.1 Programming Concepts
 Standard 7.5 For Loops in JavaScript 7.6 General For Loops 7.7 For Loop Practice 7.9 While Loops 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2
 Standard 1.11 Variables 1.14 Using i in For Loops 1.18 While Loops 1.19 Putting Together Control Structures 11.9 For Loops 11.12 While Loops in Karel 11.13 Control Structures Example 11.16 Karel Challenges 15.1 micro:bit Challenges 14.3 Operators 14.5 Functions
 Standard 12.10 Local Variables and Scope
 Standard 18.10 Local Variables and Scope
 Standard 13.9 For Loops in JavaScript 13.15 Functions and Parameters 2 13.10 For Loop Practice 13.12 While Loops 13.14 Functions and Parameters 1 13.16 Functions and Return Values 1 13.17 Functions and Return Values 2
 Standard 4.3 Comparison Operators 6.2 For Loops
 Standard 5.1 Variables 5.9 Using i in For Loops 7.4 While Loops 8.1 Putting Together Control Structures
 Standard 5.1 Variables 5.9 Using i in For Loops 7.4 While Loops 8.1 Putting Together Control Structures
 Standard 4.3 Comparison Operators 6.2 For Loops
 Standard 4.3 Comparison Operators 6.2 For Loops 11.10 Variables 11.16 Using i in For Loops 11.20 While Loops
 Standard 8.9 For Loops in JavaScript 8.15 Functions and Parameters 2 8.10 For Loop Practice 8.12 While Loops 8.14 Functions and Parameters 1 8.16 Functions and Return Values 1 8.17 Functions and Return Values 2
 Standard 12.9 For Loops in JavaScript 12.15 Functions and Parameters 2 12.10 For Loop Practice 12.12 While Loops 12.14 Functions and Parameters 1 12.16 Functions and Return Values 1 12.17 Functions and Return Values 2
 Standard 5.2 Methods and Parameters 5.3 Methods and Return Values 5.4 Javadocs and More Methods 6.10 Local Variables and Scope
 Standard 7.5 For Loops in JavaScript 7.6 General For Loops 7.7 For Loop Practice 7.9 While Loops 9.1 Functions and Parameters 1 9.2 Functions and Parameters 2 9.3 Functions and Parameters 3 9.4 Functions and Return Values 1 9.5 Functions and Return Values 2