Please enable JavaScript to use CodeHS

OH 8: ATP.PD.8.b

CodeHS Lessons

Systematically test and refine programs using a range of test cases.

Standard
1.10 If Statements and Conditionals
1.11 If/Else Statements
1.12 While Loops
2.1 Challenge Problems
7.1 Control Structures Challenges
9.1 Functions Challenges
11.1 Animation Challenges
Standard
5.4 Logical Operators
7.3 Break and Continue
10.4 Strings and For Loops
12.3 For Loops and Lists
25.4 For Loops
25.18 If Statements
25.19 If/Else Statements
25.20 While Loops
25.21 Putting Together Control Structures
28.17 For Loops and Lists
Standard
14.4 Strings and For Loops
Standard
13.4 Logical Operators
Standard
1.10 If Statements and Conditionals
1.11 If/Else Statements
1.12 While Loops
1.16 Challenge Problems
6.1 Control Structures Challenges
8.1 Functions Challenges
10.1 Animation Challenges
Standard
1.10 If Statements and Conditionals
1.11 If/Else Statements
1.12 While Loops
2.1 Challenge Problems
7.1 Control Structures Challenges
9.1 Functions Challenges
11.1 Animation Challenges
Standard
1.10 If Statements and Conditionals
1.11 If/Else Statements
1.12 While Loops
2.1 Challenge Problems
7.1 Control Structures Challenges
9.1 Functions Challenges
12.1 Animation Challenges
Standard
5.8 While Loops
5.9 Karel Challenges
9.4 Intro to JavaScript
9.5 Variables
Standard
1.8 While Loops
1.9 Karel Challenges
5.4 Intro to JavaScript
5.5 Variables
Standard
2.3 For Loops
7.1 If Statements
7.2 If/Else Statements
7.4 While Loops
8.1 Putting Together Control Structures
Standard
2.3 For Loops
7.1 If Statements
7.2 If/Else Statements
7.4 While Loops
8.1 Putting Together Control Structures
Standard
2.2 Intro to JavaScript
2.3 Variables
Standard
4.1 If Statements and Conditionals
4.2 If/Else Statements
5.1 While Loops
7.1 Challenge Problems
Standard
2.13 Control Structures Example
2.16 Karel Challenges
3.4 For Loops
3.16 If Statements
3.17 If/ Else Statements
3.18 While Loops
3.19 Putting Together Control Structures
Standard
2.13 Control Structures Example
2.16 Karel Challenges
6.4 For Loops
6.16 If Statements
6.17 If/ Else Statements
6.18 While Loops
6.19 Putting Together Control Structures
Standard
1.13 Control Structures Example
1.16 Karel Challenges
13.4 For Loops
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.12 Break and Continue
Standard
1.4 For Loops
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
4.4 Logical Operators
5.3 Break and Continue
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
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
2.1 Challenge Problems
4.2 Graphics Challenges
7.1 Control Structures Challenges
9.1 Functions Challenges
10.1 Loops
10.2 If/Else Statements
12.1 Animation Challenges
14.1 Arduino Challenges
Standard
2.2 For Loops
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
2.2 While Loops
2.4 If/Else Statements
3.1 micro:bit Challenges
Standard
4.4 Logical Operators
6.3 Break and Continue
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
3.2 Challenge Problems
6.1 Graphics Challenges
8.1 Control Structures Challenges
Standard
4.8 While Loops
4.9 Karel Challenges
8.4 Intro to JavaScript
8.5 Variables
Standard
1.4 For Loops
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.13 Control Structures Example
11.16 Karel Challenges
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
2.4 For Loops
2.16 If Statements
2.17 If/ Else Statements
2.18 While Loops
2.19 Putting Together Control Structures
4.4 Logical Operators
5.3 Break and Continue
7.4 Strings and For Loops
8.3 For Loops and Lists
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
3.2 Challenge Problems
6.1 Graphics Challenges
8.1 Control Structures Challenges
Standard
2.4 Logical Operators
3.3 Break and Continue
5.3 For Loops and Lists
16.4 For Loops
16.16 If Statements
16.17 If/ Else Statements
16.18 While Loops
16.19 Putting Together Control Structures
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
3.2 Challenge Problems
7.1 Graphics Challenges
9.1 Control Structures Challenges
Standard
2.4 For Loops
2.18 If Statements
2.19 If/ Else Statements
2.20 While Loops
2.22 Putting Together Control Structures
6.4 Logical Operators
7.3 Break and Continue
9.4 Strings and For Loops
10.3 For Loops and Lists
Standard
3.11 If Statements
3.12 If/Else Statements
3.13 While Loops in Karel
4.2 Challenge Problems
7.1 Graphics Challenges
9.1 Control Structures Challenges
Standard
1.9 While Loops
1.11 If/Else Statements
1.13 micro:bit Challenges
Standard
1.8 While Loops
1.9 Karel Challenges
5.4 Intro to JavaScript
5.5 Variables
Standard
2.3 For Loops
7.1 If Statements
7.2 If/Else Statements
7.4 While Loops
8.1 Putting Together Control Structures
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
3.2 Challenge Problems
6.1 Graphics Challenges
8.1 Control Structures Challenges
Standard
1.4 For Loops
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.13 Control Structures Example
11.16 Karel Challenges
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
3.2 Challenge Problems
6.1 Graphics Challenges
8.1 Control Structures Challenges
Standard
1.4 For Loops
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.13 Control Structures Example
11.16 Karel Challenges
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
12.1 Loops
12.2 If/Else Statements
Standard
1.3 Intro to JavaScript
1.4 Variables
11.2 While Loops
11.4 If/Else Statements
12.1 micro:bit Challenges
Standard
5.4 Logical Operators
6.3 Break and Continue
Standard
5.4 Logical Operators
6.3 Break and Continue
Standard
5.4 Logical Operators
6.3 Break and Continue
Standard
5.4 Logical Operators
6.3 Break and Continue
9.7 For Loops and Lists
Standard
3.4 For Loops
3.16 If Statements
3.17 If/ Else Statements
3.18 While Loops
3.19 Putting Together Control Structures
Standard
2.8 While Loops
2.9 Karel Challenges
Standard
2.11 If Statements and Conditionals
2.12 If/Else Statements
2.13 While Loops
3.2 Challenge Problems
16.1 Control Structures Challenges
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
3.2 Challenge Problems
6.1 Graphics Challenges
15.1 Control Structures Challenges
Standard
4.4 Logical Operators
5.3 Break and Continue
8.4 Strings and For Loops
9.3 For Loops and Lists
18.4 For Loops
18.16 If Statements
18.17 If/ Else Statements
18.18 While Loops
18.19 Putting Together Control Structures
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
3.2 Challenge Problems
6.1 Graphics Challenges
8.1 Control Structures Challenges
Standard
1.4 For Loops
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
6.13 Control Structures Example
6.16 Karel Challenges
9.2 While Loops
9.4 If/Else Statements
10.1 micro:bit Challenges
Standard
5.4 Logical Operators
7.3 Break and Continue
10.5 For Loops
10.17 If Statements
10.18 If/ Else Statements
10.19 While Loops
10.20 Putting Together Control Structures
16.1 Control Structures Challenges
Standard
1.10 If Statements and Conditionals
1.11 If/Else Statements
1.12 While Loops
18.1 Challenge Problems
23.1 Control Structures Challenges
25.1 Functions Challenges
26.1 Animation Challenges
Standard
8.4 Logical Operators
8.8 Break and Continue
Standard
1.8 While Loops
1.9 Karel Challenges
4.4 Intro to JavaScript
4.5 Variables
Standard
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
2.1 Challenge Problems
9.2 Graphics Challenges
11.1 Control Structures Challenges
13.1 Functions Challenges
22.1 Animation Challenges
Standard
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
2.1 Challenge Problems
9.2 Graphics Challenges
11.1 Control Structures Challenges
13.1 Functions Challenges
22.1 Animation Challenges
Standard
6.3 For Loops and Lists
Standard
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
2.1 Challenge Problems
5.2 Graphics Challenges
7.1 Control Structures Challenges
9.1 Functions Challenges
11.1 Animation Challenges
Standard
23.3 Looping
23.4 Branching
Standard
1.4 For Loops
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.13 Control Structures Example
11.16 Karel Challenges
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
3.2 Challenge Problems
6.1 Graphics Challenges
8.1 Control Structures Challenges
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
3.2 Challenge Problems
6.1 Graphics Challenges
8.1 Control Structures Challenges
Standard
1.4 For Loops
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.13 Control Structures Example
11.16 Karel Challenges
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
3.2 Challenge Problems
6.1 Graphics Challenges
8.1 Control Structures Challenges
Standard
1.4 For Loops
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.13 Control Structures Example
11.16 Karel Challenges
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
6.4 For Loops
6.13 If Statements
6.14 If/ Else Statements
6.15 While Loops
7.9 Logical Operators
Standard
7.4 For Loops
7.11 If Statements
7.12 If/ Else Statements
9.9 Logical Operators
Standard
8.4 For Loops
8.13 If Statements
8.14 If/ Else Statements
8.15 While Loops
9.9 Logical Operators
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
3.2 Challenge Problems
6.1 Graphics Challenges
8.1 Control Structures Challenges
Standard
1.4 For Loops
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.13 Control Structures Example
11.16 Karel Challenges
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
1.4 For Loops
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
14.13 Control Structures Example
14.16 Karel Challenges
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
3.2 Challenge Problems
6.1 Graphics Challenges
8.1 Control Structures Challenges
Standard
1.4 For Loops
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.13 Control Structures Example
11.16 Karel Challenges
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
3.4 For Loops
3.16 If Statements
3.17 If/ Else Statements
3.18 While Loops
3.19 Putting Together Control Structures
8.13 Control Structures Example
8.16 Karel Challenges
Standard
3.4 For Loops
3.17 If Statements
3.18 If/ Else Statements
3.19 While Loops
3.20 Putting Together Control Structures
Standard
2.11 If Statements and Conditionals
2.12 If/Else Statements
2.13 While Loops
14.1 Animation Challenges
Standard
2.8 While Loops
2.9 Karel Challenges
Standard
5.10 If Statements and Conditionals
5.11 If/Else Statements
5.12 While Loops
10.1 Control Structures Challenges
12.1 Functions Challenges
Standard
2.10 If Statements and Conditionals
2.11 If/Else Statements
2.12 While Loops
11.5 While Loops
14.1 Challenge Problems
19.1 Control Structures Challenges
21.1 Functions Challenges
22.1 Animation Challenges
Standard
1.5 For Loops
1.17 If Statements
1.18 If/ Else Statements
1.19 While Loops
1.20 Putting Together Control Structures
Standard
1.5 For Loops
1.17 If Statements
1.18 If/ Else Statements
1.19 While Loops
1.20 Putting Together Control Structures
Standard
10.3 Looping
10.4 Branching
Standard
1.11 If Statements
1.12 If/Else Statements
1.13 While Loops in Karel
2.2 Challenge Problems
4.1 Graphics Challenges
6.1 Control Structures Challenges
Standard
4.4 Strings and For Loops
Standard
13.3 Looping
13.4 Branching
Standard
1.4 For Loops
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.13 Control Structures Example
11.16 Karel Challenges
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
3.2 Challenge Problems
6.1 Graphics Challenges
8.1 Control Structures Challenges
Standard
18.4 Strings and For Loops
Standard
1.4 For Loops
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
12.13 Control Structures Example
12.16 Karel Challenges
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
6.4 Logical Operators
7.3 Break and Continue
16.4 For Loops
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.3 Break and Continue
16.4 For Loops
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
5.10 If Statements and Conditionals
5.11 If/Else Statements
5.13 While Loops
6.1 Challenge Problems
19.1 Control Structures Challenges
21.1 Functions Challenges
23.1 Animation Challenges
Standard
14.3 Looping
14.4 Branching
Standard
14.4 Logical Operators
Standard
3.11 If Statements
3.12 If/Else Statements
3.13 While Loops in Karel
4.2 Challenge Problems
7.1 Graphics Challenges
14.1 Control Structures Challenges
Standard
16.3 Looping
16.4 Branching
Standard
14.1 Control Structures Challenges
15.1 Functions Challenges
17.10 If Statements and Conditionals
17.11 If/Else Statements
17.12 While Loops
Standard
4.11 If Statements
4.12 If/Else Statements
4.13 While Loops in Karel
Standard
3.3 For Loops
Standard
1.8 While Loops
1.9 Karel Challenges
Standard
2.10 If Statements and Conditionals
2.11 If/Else Statements
2.12 While Loops
3.1 Challenge Problems
9.1 Control Structures Challenges
Standard
2.2 For Loops
5.1 If Statements
5.2 If/ Else Statements
5.3 While Loops
6.1 Putting Together Control Structures
Standard
2.10 If Statements
2.11 If/Else Statements
2.12 While Loops in Karel
3.2 Challenge Problems
6.1 Graphics Challenges
8.1 Control Structures Challenges
Standard
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
3.2 Challenge Problems
6.1 Graphics Challenges
8.1 Control Structures Challenges
Standard
1.4 For Loops
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.13 Control Structures Example
11.16 Karel Challenges
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
33.4 Strings and For Loops
Standard
3.4 Logical Operators
4.3 Break and Continue
6.4 Strings and For Loops
7.3 For Loops and Lists
Standard
1.8 While Loops
1.9 Karel Challenges
Standard
4.4 Logical Operators
6.3 Break and Continue
11.4 For Loops
11.18 If Statements
11.19 If/Else Statements
11.20 While Loops
11.21 Putting Together Control Structures
Standard
2.4 Strings and For Loops
4.3 For Loops and Lists
Standard
1.9 While Loops
1.10 Karel Challenges
3.6 While Loops
7.2 If/Else Statements
8.1 micro:bit Challenges
10.1 Loops
10.2 If/Else Statements
11.1 Arduino Challenges
Standard
4.4 Logical Operators
6.3 Break and Continue
Standard
2.4 Strings and For Loops
4.3 For Loops and Lists
Standard
4.4 Logical Operators
6.3 Break and Continue
10.4 Strings and For Loops
12.3 For Loops and Lists
Standard
4.4 Logical Operators
6.3 Break and Continue
Standard
2.4 Strings and For Loops
4.3 For Loops and Lists
Standard
2.2 Intro to JavaScript
2.3 Variables
Standard
2.3 For Loops
7.1 If Statements
7.2 If/Else Statements
7.4 While Loops
8.1 Putting Together Control Structures
Standard
2.3 For Loops
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.3 Break and Continue
10.4 Strings and For Loops
12.3 For Loops and Lists
Standard
1.8 While Loops
1.9 Karel Challenges
3.6 While Loops
7.2 If/Else Statements
8.1 micro:bit Challenges
Standard
4.8 While Loops
4.9 Karel Challenges
Standard
8.4 Logical Operators
9.3 Break and Continue
11.4 Strings and For Loops
12.3 For Loops and Lists
Standard
3.8 While Loops
3.9 Karel Challenges
7.4 Intro to JavaScript
7.5 Variables
Standard
3.8 While Loops
3.9 Karel Challenges
7.4 Intro to JavaScript
7.5 Variables
Standard
4.8 While Loops
4.9 Karel Challenges
8.4 Intro to JavaScript
8.5 Variables
Standard
5.8 While Loops
5.9 Karel Challenges
9.4 Intro to JavaScript
9.5 Variables
Standard
2.3 For Loops
5.1 If Statements
5.2 If/Else Statements
5.4 While Loops
6.1 Putting Together Control Structures
Standard
1.8 While Loops
1.9 Karel Challenges
Standard
5.4 Logical Operators
6.3 Break and Continue
Standard
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
2.1 Challenge Problems
4.2 Graphics Challenges
6.1 Control Structures Challenges
8.1 Functions Challenges
10.1 Animation Challenges
Standard
2.4 Logical Operators
3.3 Break and Continue
5.4 Strings and For Loops
6.3 For Loops and Lists
Standard
5.4 Logical Operators
6.3 Break and Continue
8.4 Strings and For Loops
10.3 For Loops and Lists
Standard
2.8 While Loops
2.9 Karel Challenges
Standard
1.13 Control Structures Example
1.16 Karel Challenges
Standard
8.4 Logical Operators
8.9 Break and Continue
Standard
2.3 For Loops
4.10 If Statements
4.11 If/Else Statements
Standard
1.8 While Loops
1.9 Karel Challenges
Standard
5.8 While Loops
5.9 Karel Challenges
9.4 Intro to JavaScript
9.5 Variables
Standard
2.4 For Loops
2.18 If Statements
2.19 If/Else Statements
2.20 While Loops
2.21 Putting Together Control Structures
6.4 Logical Operators
7.3 Break and Continue
11.3 For Loops and Lists
19.4 Strings and For Loops