# VA PRG: PRG.6

## CodeHS Lessons

The student will design and implement an algorithm a) with compound conditional execution, and analyze and evaluate complex Boolean conditions; and b) using complex iteration, including nested loops.

 Standard 1.14 Control Structures Example 2.1 Challenge Problems 6.1 Booleans 6.2 If/Else Statements 6.3 Logical Operators 6.4 Comparison Operators 9.1 Functions Challenges 12.1 Breakout
 Standard 2.13 Control Structures Example 2.15 Algorithms 2.17 Karel Challenges 5.3 Comparison Operators 5.4 Logical Operators 7.4 Nested Control Structures 22.2 De Morgan's Laws 24.21 Putting Together Control Structures
 Standard 1.15 Control Structures Example 1.17 Karel Algorithms 1.20 Karel Challenges 4.1 Booleans 4.2 Logical Operators 4.3 Comparison Operators 4.4 If Statements 4.6 For Loops in JavaScript
 Standard 1.14 Control Structures Example 1.16 Algorithms 1.18 Karel Challenges 4.1 Booleans 4.2 Logical Operators 4.3 Comparison Operators 4.4 If Statements 28.2 De Morgan's Laws
 Standard 9.5 Booleans 9.6 Logical Operators 9.7 Comparison Operators 9.8 If Statements 9.10 For Loop Practice
 Standard 1.15 Control Structures Example 1.17 Karel Algorithms 1.20 Karel Challenges 4.1 Booleans 4.2 Logical Operators 4.3 Comparison Operators 4.4 If Statements 4.7 For Loops in JavaScript
 Standard 1.14 Control Structures Example 1.16 Challenge Problems 5.1 Booleans 5.2 If/Else Statements 5.3 Logical Operators 5.4 Comparison Operators 8.1 Functions Challenges 11.1 Breakout
 Standard 1.14 Control Structures Example 2.1 Challenge Problems 6.1 Booleans 6.2 If/Else Statements 6.3 Logical Operators 6.4 Comparison Operators 9.1 Functions Challenges 12.1 Breakout
 Standard 1.14 Control Structures Example 2.1 Challenge Problems 6.1 Booleans 6.2 If/Else Statements 6.3 Logical Operators 6.4 Comparison Operators 9.1 Functions Challenges 13.1 Breakout
 Standard 8.1 Putting Together Control Structures
 Standard 8.1 Putting Together Control Structures
 Standard 4.3 Booleans 4.4 If/Else Statements
 Standard 6.2 Control Structures Example 7.1 Challenge Problems
 Standard 2.9 For Loops 2.10 If Statements 2.13 Control Structures Example 2.16 Karel Challenges 3.19 Putting Together Control Structures
 Standard 2.9 For Loops 2.10 If Statements 2.13 Control Structures Example 2.16 Karel Challenges 6.19 Putting Together Control Structures
 Standard 1.9 For Loops 1.10 If Statements 1.13 Control Structures Example 1.16 Karel Challenges 13.19 Putting Together Control Structures
 Standard 7.8 Comparison Operators 7.9 Logical Operators
 Standard 1.9 For Loops 1.10 If Statements 1.13 Control Structures Example 1.16 Karel Challenges
 Standard 7.1 Writing BlackJack
 Standard 1.19 Putting Together Control Structures 4.3 Comparison Operators 4.4 Logical Operators 5.4 Nested Control Structures 7.1 Loops 7.2 If/Else Statements 7.3 Arithmetic, Comparison, and Logical Operators 12.1 Arduino Challenges 15.1 Advanced Challenges with Tracy 17.2 De Morgan's Laws
 Standard 1.13 Control Structures Example 2.1 Challenge Problems 6.1 Booleans 6.2 Logical Operators 6.3 Comparison Operators 6.4 If Statements 6.7 For Loop Practice 9.1 Functions Challenges 10.1 Loops 10.2 If/Else Statements 10.3 Arithmetic, Comparison, and Logical Operators 13.1 Breakout 14.1 Arduino Challenges
 Standard 7.1 For Loops 7.2 While Loops 7.3 Operators 7.4 If/Else Statements 8.1 Putting Together Control Structures 9.1 micro:bit Challenges 10.1 Advanced Challenges with Tracy
 Standard 7.1 For Loops 7.2 While Loops 7.3 Operators 7.4 If/Else Statements 10.1 micro:bit Challenges
 Standard 2.1 For Loops 2.2 While Loops 2.3 Operators 2.4 If/Else Statements 3.1 micro:bit Challenges
 Standard 2.1 Loops 2.2 If/Else Statements 2.3 Arithmetic, Comparison, and Logical Operators 3.1 Arduino Challenges
 Standard 2.14 Control Structures Example 3.2 Challenge Problems 7.1 Booleans 7.2 Logical Operators 7.3 Comparison Operators 7.4 If Statements 7.7 For Loop Practice
 Standard 1.19 Putting Together Control Structures 11.13 Control Structures Example 11.16 Karel Challenges 11.10 If Statements 11.9 For Loops 14.1 For Loops 14.2 While Loops 14.3 Operators 14.4 If/Else Statements 15.1 micro:bit Challenges
 Standard 1.16 Karel Challenges 5.7 2D Arrays (Matrices or Grids) 5.10 Writing BlackJack 5.11 Battleship
 Standard 6.1 Writing BlackJack 8.2 Linear Search 8.3 Binary Search 8.7 Mergesort 10.1 Final Project
 Standard 1.13 Control Structures Example 2.1 Challenge Problems 5.1 Booleans 5.2 Logical Operators 5.3 Comparison Operators 5.4 If Statements 5.7 For Loop Practice 8.1 Functions Challenges 11.1 Breakout
 Standard 1.13 Control Structures Example 2.1 Challenge Problems 5.1 Booleans 5.2 Logical Operators 5.3 Comparison Operators 5.4 If Statements 5.7 For Loop Practice 8.1 Functions Challenges 11.1 Breakout
 Standard 1.13 Control Structures Example 2.1 Challenge Problems 5.1 Booleans 5.2 Logical Operators 5.3 Comparison Operators 5.4 If Statements 5.7 For Loop Practice 9.1 Functions Challenges 9.1 Functions Challenges
 Standard 6.1 Putting Together Control Structures 7.1 Advanced Challenges with Tracy 10.14 Control Structures Example 10.18 Karel Challenges 10.16 Algorithms
 Standard 2.19 Putting Together Control Structures 4.3 Comparison Operators 4.4 Logical Operators 5.4 Nested Control Structures 13.1 Advanced Challenges with Tracy 15.2 De Morgan's Laws 23.14 Control Structures Example 23.18 Karel Challenges 23.16 Algorithms
 Standard 2.9 If Statements 2.10 For Loops in JavaScript 2.16 Functions and Parameters 1 8.5 Iterating Over an Array 8.14 Looping Over a Grid 8.15 Grid Example: Get a Row
 Standard 6.5 Booleans 6.6 Logical Operators 6.7 Comparison Operators 6.8 If Statements
 Standard 9.2 Linear Search 9.3 Binary Search 9.7 Mergesort
 Standard 2.14 Control Structures Example 3.2 Challenge Problems 7.1 Booleans 7.2 Logical Operators 7.3 Comparison Operators 7.4 If Statements 7.7 For Loop Practice
 Standard 2.14 Control Structures Example 3.2 Challenge Problems 8.1 Booleans 8.2 Logical Operators 8.3 Comparison Operators 8.4 If Statements 8.7 For Loop Practice
 Standard 2.22 Putting Together Control Structures 6.3 Comparison Operators 6.4 Logical Operators 7.4 Nested Control Structures 16.1 Advanced Challenges with Tracy 17.2 De Morgan's Laws
 Standard 3.14 Control Structures Example 4.2 Challenge Problems 8.1 Booleans 8.2 Logical Operators 8.3 Comparison Operators 8.4 If Statements 8.7 For Loop Practice
 Standard 2.14 Control Structures Example 3.2 Challenge Problems 7.1 Booleans 7.2 Logical Operators 7.3 Comparison Operators 7.4 If Statements 7.7 For Loop Practice
 Standard 1.19 Putting Together Control Structures 11.13 Control Structures Example 11.16 Karel Challenges 11.10 If Statements 11.9 For Loops 14.1 For Loops 14.2 While Loops 14.3 Operators 14.4 If/Else Statements 15.1 micro:bit Challenges
 Standard 2.14 Control Structures Example 3.2 Challenge Problems 7.1 Booleans 7.2 Logical Operators 7.3 Comparison Operators 7.4 If Statements 7.7 For Loop Practice
 Standard 1.19 Putting Together Control Structures 11.13 Control Structures Example 11.16 Karel Challenges 11.10 If Statements 11.9 For Loops 14.1 For Loops 14.2 While Loops 14.3 Operators 14.4 If/Else Statements 15.1 micro:bit Challenges
 Standard 2.14 Control Structures Example 3.2 Challenge Problems 9.1 Booleans 9.2 Logical Operators 9.3 Comparison Operators 9.4 If Statements 9.7 For Loop Practice
 Standard 3.19 Putting Together Control Structures
 Standard 2.16 Control Structures Example 3.2 Challenge Problems 14.1 Booleans 14.3 Logical Operators 14.4 Comparison Operators 14.2 If/Else Statements
 Standard 1.14 Control Structures Example 1.16 Karel Algorithms 1.19 Karel Challenges 4.1 Booleans 4.2 Logical Operators 4.3 Comparison Operators 4.4 If Statements 4.6 For Loops in JavaScript
 Standard 2.14 Control Structures Example 3.2 Challenge Problems 14.1 Booleans 14.2 Logical Operators 14.3 Comparison Operators 14.4 If Statements 14.7 For Loop Practice
 Standard 4.3 Comparison Operators 4.4 Logical Operators 5.4 Nested Control Structures 18.19 Putting Together Control Structures
 Standard 2.14 Control Structures Example 3.2 Challenge Problems 15.1 Booleans 15.2 Logical Operators 15.3 Comparison Operators 15.4 If Statements 15.7 For Loop Practice
 Standard 2.14 Control Structures Example 3.2 Challenge Problems 7.1 Booleans 7.2 Logical Operators 7.3 Comparison Operators 7.4 If Statements 7.7 For Loop Practice
 Standard 1.19 Putting Together Control Structures 6.13 Control Structures Example 6.16 Karel Challenges 6.10 If Statements 6.9 For Loops 9.1 For Loops 9.2 While Loops 9.3 Operators 9.4 If/Else Statements 10.1 micro:bit Challenges
 Standard 1.14 Control Structures Example 4.1 Booleans 4.2 If/Else Statements 4.3 Logical Operators 4.4 Comparison Operators 18.1 Challenge Problems 25.1 Functions Challenges 27.1 Breakout
 Standard 1.13 Control Structures Example 2.1 Challenge Problems 10.1 Booleans 10.2 Logical Operators 10.3 Comparison Operators 10.4 If Statements 10.7 For Loop Practice 13.1 Functions Challenges 23.1 Breakout
 Standard 1.13 Control Structures Example 2.1 Challenge Problems 10.1 Booleans 10.2 Logical Operators 10.3 Comparison Operators 10.4 If Statements 10.7 For Loop Practice 13.1 Functions Challenges 23.1 Breakout
 Standard 1.13 Control Structures Example 2.1 Challenge Problems 6.1 Booleans 6.2 Logical Operators 6.3 Comparison Operators 6.4 If Statements 6.7 For Loop Practice 9.1 Functions Challenges 12.1 Breakout
 Standard 1.19 Putting Together Control Structures 11.13 Control Structures Example 11.16 Karel Challenges 11.10 If Statements 11.9 For Loops 14.1 For Loops 14.2 While Loops 14.3 Operators 14.4 If/Else Statements 15.1 micro:bit Challenges
 Standard 2.14 Control Structures Example 3.2 Challenge Problems 7.1 Booleans 7.2 Logical Operators 7.3 Comparison Operators 7.4 If Statements 7.7 For Loop Practice
 Standard 2.14 Control Structures Example 3.2 Challenge Problems 7.1 Booleans 7.2 Logical Operators 7.3 Comparison Operators 7.4 If Statements 7.7 For Loop Practice
 Standard 1.19 Putting Together Control Structures 11.13 Control Structures Example 11.16 Karel Challenges 11.10 If Statements 11.9 For Loops 14.1 For Loops 14.2 While Loops 14.3 Operators 14.4 If/Else Statements 15.1 micro:bit Challenges
 Standard 2.14 Control Structures Example 3.2 Challenge Problems 7.1 Booleans 7.2 Logical Operators 7.3 Comparison Operators 7.4 If Statements 7.7 For Loop Practice
 Standard 1.19 Putting Together Control Structures 11.13 Control Structures Example 11.16 Karel Challenges 11.10 If Statements 11.9 For Loops 14.1 For Loops 14.2 While Loops 14.3 Operators 14.4 If/Else Statements 15.1 micro:bit Challenges
 Standard 8.7 Booleans 8.9 Logical Operators 8.10 Comparison Operators 7.8 Comparison Operators 7.9 Logical Operators 8.8 If/Else Statements
 Standard 2.14 Control Structures Example 3.2 Challenge Problems 7.1 Booleans 7.2 Logical Operators 7.3 Comparison Operators 7.4 If Statements 7.7 For Loop Practice
 Standard 1.19 Putting Together Control Structures 11.13 Control Structures Example 11.16 Karel Challenges 11.10 If Statements 11.9 For Loops 14.1 For Loops 14.2 While Loops 14.3 Operators 14.4 If/Else Statements 15.1 micro:bit Challenges
 Standard 1.14 Control Structures Example 1.16 Karel Algorithms 1.18 Karel Challenges 3.1 Booleans 3.2 Logical Operators 3.3 Comparison Operators 3.4 If Statements 3.5 For Loops in JavaScript
 Standard 1.14 Control Structures Example 1.16 Karel Algorithms 1.18 Karel Challenges 3.1 Booleans 3.2 Logical Operators 3.3 Comparison Operators 3.4 If Statements 3.5 For Loops in JavaScript
 Standard 1.19 Putting Together Control Structures 14.13 Control Structures Example 14.16 Karel Challenges 14.10 If Statements 14.9 For Loops 6.1 For Loops 6.2 While Loops 6.3 Operators 6.4 If/Else Statements 7.1 micro:bit Challenges
 Standard 2.14 Control Structures Example 3.2 Challenge Problems 7.1 Booleans 7.2 Logical Operators 7.3 Comparison Operators 7.4 If Statements 7.7 For Loop Practice
 Standard 1.19 Putting Together Control Structures 11.13 Control Structures Example 11.16 Karel Challenges 11.10 If Statements 11.9 For Loops 14.1 For Loops 14.2 While Loops 14.3 Operators 14.4 If/Else Statements 15.1 micro:bit Challenges
 Standard 3.19 Putting Together Control Structures 8.9 For Loops 8.10 If Statements 8.13 Control Structures Example 8.16 Karel Challenges
 Standard 3.20 Putting Together Control Structures 7.1 Advanced Challenges with Tracy
 Standard 9.2 Linear Search 9.3 Binary Search 9.7 Mergesort
 Standard 2.15 Control Structures Example 7.1 Booleans 7.2 If/Else Statements 7.3 Logical Operators 7.4 Comparison Operators
 Standard 2.14 Control Structures Example 6.1 Booleans 6.2 If/Else Statements 6.3 Logical Operators 6.4 Comparison Operators 11.4 For Loops 11.5 While Loops 14.1 Challenge Problems 21.1 Functions Challenges 23.1 Breakout
 Standard 1.14 Control Structures Example 1.17 Karel Algorithms 1.20 Karel Challenges 3.1 Booleans 3.2 Logical Operators 3.3 Comparison Operators 3.4 If Statements 3.6 For Loops in JavaScript
 Standard 1.20 Putting Together Control Structures
 Standard 1.20 Putting Together Control Structures
 Standard 1.14 Control Structures Example 2.2 Challenge Problems 5.1 Booleans 5.2 Logical Operators 5.3 Comparison Operators 5.4 If Statements 5.7 For Loop Practice
 Standard 2.1 Booleans 2.2 Logical Operators 2.3 Comparison Operators 2.4 If Statements
 Standard 1.19 Putting Together Control Structures 11.13 Control Structures Example 11.16 Karel Challenges 11.10 If Statements 11.9 For Loops 14.1 For Loops 14.2 While Loops 14.3 Operators 14.4 If/Else Statements 15.1 micro:bit Challenges
 Standard 2.14 Control Structures Example 3.2 Challenge Problems 7.1 Booleans 7.2 Logical Operators 7.3 Comparison Operators 7.4 If Statements 7.7 For Loop Practice
 Standard 1.13 Control Structures Example 1.15 Algorithms 1.17 Karel Challenges 3.1 Booleans 3.2 Logical Operators 3.3 Comparison Operators 3.4 If Statements
 Standard 1.19 Putting Together Control Structures 12.13 Control Structures Example 12.16 Karel Challenges 12.10 If Statements 12.9 For Loops 14.1 For Loops 14.2 While Loops 14.3 Operators 14.4 If/Else Statements 15.1 micro:bit Challenges
 Standard 3.13 Control Structures Example 3.15 Algorithms 3.17 Karel Challenges 6.3 Comparison Operators 6.4 Logical Operators 7.4 Nested Control Structures 16.21 Putting Together Control Structures
 Standard 2.1 Booleans 2.2 Logical Operators 2.3 Comparison Operators 2.4 If Statements
 Standard 3.13 Control Structures Example 3.15 Algorithms 3.17 Karel Challenges 6.3 Comparison Operators 6.4 Logical Operators 7.4 Nested Control Structures 16.21 Putting Together Control Structures
 Standard 2.1 Booleans 2.2 Logical Operators 2.3 Comparison Operators 2.4 If Statements
 Standard 3.14 Control Structures Example 4.2 Challenge Problems 13.1 Booleans 13.2 Logical Operators 13.3 Comparison Operators 13.4 If Statements 13.7 For Loop Practice
 Standard 13.5 Booleans 13.6 Logical Operators 13.7 Comparison Operators 13.8 If Statements 13.10 For Loop Practice
 Standard 14.5 Booleans 14.6 Logical Operators 14.7 Comparison Operators 14.8 If Statements 14.10 For Loop Practice
 Standard 1.13 Control Structures Example
 Standard 4.14 Control Structures Example 6.1 Booleans 6.2 Logical Operators 6.3 Comparison Operators 6.4 If Statements 6.7 For Loop Practice
 Standard 2.13 Control Structures Example 2.14 Karel Algorithms 2.17 Karel Challenges
 Standard 2.15 Control Structures Example 3.1 Challenge Problems 8.2 If/Else Statements 8.3 Logical Operators 8.4 Comparison Operators 12.1 Breakout
 Standard 6.1 Putting Together Control Structures 7.1 Advanced Challenges with Tracy
 Standard 2.13 Control Structures Example 3.2 Challenge Problems 7.1 Booleans 7.2 Logical Operators 7.3 Comparison Operators 7.4 If Statements 7.7 For Loop Practice
 Standard 2.14 Control Structures Example 3.2 Challenge Problems 7.1 Booleans 7.2 Logical Operators 7.3 Comparison Operators 7.4 If Statements 7.7 For Loop Practice
 Standard 1.19 Putting Together Control Structures 11.13 Control Structures Example 11.16 Karel Challenges 11.10 If Statements 11.9 For Loops 14.1 For Loops 14.2 While Loops 14.3 Operators 14.4 If/Else Statements 15.1 micro:bit Challenges
 Standard 3.5 For Loops 3.6 While Loops 7.1 Operators 7.2 If/Else Statements 8.1 micro:bit Challenges
 Standard 1.13 Control Structures Example 1.15 Algorithms 1.17 Karel Challenges 4.3 Comparison Operators 4.4 Logical Operators 6.4 Nested Control Structures
 Standard 4.3 Booleans 4.4 If/Else Statements
 Standard 8.1 Putting Together Control Structures
 Standard 8.1 Putting Together Control Structures
 Standard 1.13 Control Structures Example 1.15 Algorithms 1.17 Karel Challenges 4.3 Comparison Operators 4.4 Logical Operators 6.4 Nested Control Structures
 Standard 1.13 Control Structures Example 1.15 Algorithms 1.17 Karel Challenges 4.3 Comparison Operators 4.4 Logical Operators 6.4 Nested Control Structures 11.21 Putting Together Control Structures
 Standard 8.5 Booleans 8.6 Logical Operators 8.7 Comparison Operators 8.8 If Statements 8.10 For Loop Practice
 Standard 12.5 Booleans 12.6 Logical Operators 12.7 Comparison Operators 12.8 If Statements 12.10 For Loop Practice
 Standard 9.2 Linear Search 9.3 Binary Search 9.7 Mergesort
 Standard 21.1 Challenge Problems 22.1 Booleans 22.2 Logical Operators 22.3 Comparison Operators 22.4 If Statements 22.7 For Loop Practice