Please enable JavaScript to use CodeHS

Natrona Computer Programming 1: L1.AP.C.02

CodeHS Lessons

Trace the execution of loops and conditional statements, illustrating output and changes in values of named variables.

Standard
1.9 For Loops
1.11 If/Else Statements
6.2 If/Else Statements
6.6 While Loops
6.9 For Loops
Standard
5.2 If Statements
5.3 Comparison Operators
5.4 Logical Operators
7.1 While Loops
7.2 For Loops
7.3 Break and Continue
7.4 Nested Control Structures
10.4 Strings and For Loops
12.3 For Loops and Lists
Standard
4.5 Informal Code Analysis
Standard
4.4 If Statements
4.7 General For Loops
4.8 For Loop Practice
4.10 While Loops
4.11 Loop and a Half
Standard
4.4 If Statements
4.6 For Loops in Python
4.7 General For Loops
4.10 While Loops
4.11 Loop and a Half
33.4 Strings and For Loops
Standard
4.4 If Statements
4.8 General For Loops
4.9 For Loop Practice
4.11 While Loops
4.12 Loop and a Half
Standard
4.10 For/In Loops
9.8 If Statements
9.9 For Loops in JavaScript
9.12 While Loops
Standard
22.4 If Statements
22.5 For Loops in JavaScript
22.9 While Loops
23.1 Control Structures Challenges
Standard
1.9 For Loops
1.11 If/Else Statements
5.2 If/Else Statements
5.6 While Loops
5.9 For Loops
Standard
1.9 For Loops
1.11 If/Else Statements
6.2 If/Else Statements
6.6 While Loops
6.9 For Loops
Standard
1.9 For Loops
1.11 If/Else Statements
6.2 If/Else Statements
6.6 While Loops
6.9 For Loops
Standard
6.2 Updating State with onPress
6.3 Using Mathematical Equations to Update State
6.4 Using Methods to Update String States
8.1 Conditionals and State Change
8.2 Conditionals using Parameters
Standard
6.2 Updating State with onPress
6.3 Using Mathematical Equations to Update State
6.4 Using Methods to Update String States
8.1 Conditionals and State Change
8.2 Conditionals using Parameters
Standard
2.3 For Loops
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
2.3 For Loops
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 If/Else Statements
Standard
1.9 For Loops
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
13.4 For Loops
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
2.9 For Loops
2.10 If Statements
2.11 If/Else Statements
2.12 While Loops in Karel
2.13 Control Structures Example
3.4 For Loops
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
2.9 For Loops
2.10 If Statements
2.11 If/Else Statements
2.12 While Loops in Karel
2.13 Control Structures Example
6.4 For Loops
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
7.8 Comparison Operators
7.9 Logical Operators
7.11 For Loops
7.12 Break and Continue
Standard
6.3 For Loops and Lists
Standard
2.3 Printing Genotypes
2.4 Determining Allele Order
2.5 Percent Genotype Dominance
2.6 Print Total Genotype Dominance
3.4 Changing Speeds on Collision
3.5 Inelastic Collisions
3.6 Elastic Collisions
4.3 Time to Impact
4.4 Elastic Collisions
Standard
1.3 Modulus and If Statements
1.4 For Loops
1.5 Pulling It All Together!
3.3 Making Decisions
3.4 The Formula Solver
5.1 Calculating Area
5.2 Categorizing Triangles with a Static Base Value
5.3 Categorizing Triangles with a Varied Base Value
6.1 Modeling with Tracy
7.1 Precision of Pi
Standard
1.9 For Loops
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
Standard
1.4 For Loops
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.2 If Statements
4.3 Comparison Operators
4.4 Logical Operators
5.1 While Loops
5.2 For Loops
5.3 Break and Continue
5.4 Nested Control Structures
7.1 Loops
7.2 If/Else Statements
7.3 Arithmetic, Comparison, and Logical Operators
8.4 Strings and For Loops
9.3 For Loops and Lists
Standard
1.9 For Loops
1.11 If/Else Statements
6.4 If Statements
6.5 For Loops in JavaScript
6.9 While Loops
7.1 Control Structures Challenges
10.1 Loops
10.2 If/Else Statements
10.3 Arithmetic, Comparison, and Logical Operators
Standard
2.2 For Loops
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.1 For Loops
7.2 While Loops
7.3 Operators
7.4 If/Else Statements
8.1 Putting Together Control Structures
Standard
7.1 For Loops
7.2 While Loops
7.3 Operators
7.4 If/Else Statements
Standard
2.1 For Loops
2.2 While Loops
2.3 Operators
2.4 If/Else Statements
Standard
2.1 Loops
2.2 If/Else Statements
2.3 Arithmetic, Comparison, and Logical Operators
Standard
2.10 For Loops
2.12 If/Else Statements
7.4 If Statements
7.5 For Loops in JavaScript
7.9 While Loops
8.1 Control Structures Challenges
Standard
1.4 For Loops
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
11.13 Control Structures Example
11.12 While Loops in Karel
11.11 If/Else Statements
11.10 If Statements
11.9 For Loops
14.3 Operators
14.4 If/Else Statements
14.2 While Loops
14.1 For Loops
Standard
8.8 Informal Code Analysis
Standard
1.9 For Loops
1.11 If/Else Statements
5.4 If Statements
5.5 For Loops in JavaScript
5.9 While Loops
6.1 Control Structures Challenges
Standard
1.9 For Loops
1.11 If/Else Statements
5.4 If Statements
5.5 For Loops in JavaScript
5.9 While Loops
6.1 Control Structures Challenges
Standard
1.9 For Loops
1.11 If/Else Statements
5.4 If Statements
5.5 For Loops in JavaScript
5.9 While Loops
6.1 Control Structures Challenges
Standard
2.2 For Loops
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.4 For Loops
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.2 If Statements
4.3 Comparison Operators
4.4 Logical Operators
5.1 While Loops
5.2 For Loops
5.3 Break and Continue
5.4 Nested Control Structures
7.4 Strings and For Loops
8.3 For Loops and Lists
Standard
1.9 For Loops
1.11 If/Else Statements
2.9 If Statements
2.10 For Loops in JavaScript
2.14 While Loops
Standard
9.10 For/In Loops
14.8 If Statements
14.9 For Loops in JavaScript
Standard
7.5 Informal Code Analysis
Standard
2.10 For Loops
2.12 If/Else Statements
7.4 If Statements
7.5 For Loops in JavaScript
7.9 While Loops
8.1 Control Structures Challenges
Standard
2.10 For Loops
2.12 If/Else Statements
8.4 If Statements
8.5 For Loops in JavaScript
8.9 While Loops
9.1 Control Structures Challenges
Standard
2.4 For Loops
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.2 If Statements
6.3 Comparison Operators
6.4 Logical Operators
7.1 While Loops
7.2 For Loops
7.3 Break and Continue
7.4 Nested Control Structures
9.4 Strings and For Loops
10.3 For Loops and Lists
Standard
3.10 For Loops
3.12 If/Else Statements
8.4 If Statements
8.5 For Loops in JavaScript
8.9 While Loops
9.1 Control Structures Challenges
Standard
2.10 For Loops
2.12 If/Else Statements
7.4 If Statements
7.5 For Loops in JavaScript
7.9 While Loops
8.1 Control Structures Challenges
Standard
1.4 For Loops
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
11.13 Control Structures Example
11.12 While Loops in Karel
11.11 If/Else Statements
11.10 If Statements
11.9 For Loops
14.3 Operators
14.4 If/Else Statements
14.2 While Loops
14.1 For Loops
Standard
2.10 For Loops
2.12 If/Else Statements
7.4 If Statements
7.5 For Loops in JavaScript
7.9 While Loops
8.1 Control Structures Challenges
Standard
1.4 For Loops
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
11.13 Control Structures Example
11.12 While Loops in Karel
11.11 If/Else Statements
11.10 If Statements
11.9 For Loops
14.3 Operators
14.4 If/Else Statements
14.2 While Loops
14.1 For Loops
Standard
2.10 For Loops
2.12 If/Else Statements
9.4 If Statements
9.5 For Loops in JavaScript
9.9 While Loops
10.1 Control Structures Challenges
Standard
3.4 For Loops
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
2.10 For Loops
2.12 If/Else Statements
15.4 If Statements
15.5 For Loops in JavaScript
15.9 While Loops
16.1 Control Structures Challenges
Standard
4.4 If Statements
4.7 General For Loops
4.8 For Loop Practice
4.10 While Loops
4.11 Loop and a Half
Standard
2.10 For Loops
2.12 If/Else Statements
14.4 If Statements
14.5 For Loops in JavaScript
14.9 While Loops
15.1 Control Structures Challenges
Standard
4.2 If Statements
4.3 Comparison Operators
4.4 Logical Operators
5.1 While Loops
5.2 For Loops
5.3 Break and Continue
5.4 Nested Control Structures
8.4 Strings and For Loops
9.3 For Loops and Lists
18.19 Putting Together Control Structures
18.18 While Loops
18.17 If/ Else Statements
18.16 If Statements
18.15 Extended Loop Control
18.14 Using i in For Loops
18.11 Variables
18.4 For Loops
Standard
8.10 For/In Loops
Standard
2.10 For Loops
2.12 If/Else Statements
7.4 If Statements
7.5 For Loops in JavaScript
7.9 While Loops
8.1 Control Structures Challenges
Standard
1.4 For Loops
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.13 Control Structures Example
6.12 While Loops in Karel
6.11 If/Else Statements
6.10 If Statements
6.9 For Loops
9.3 Operators
9.4 If/Else Statements
9.2 While Loops
9.1 For Loops
Standard
1.9 For Loops
1.11 If/Else Statements
4.2 If/Else Statements
4.6 While Loops
4.9 For Loops
Standard
1.9 For Loops
1.11 If/Else Statements
10.4 If Statements
10.5 For Loops in JavaScript
10.9 While Loops
11.1 Control Structures Challenges
Standard
1.9 For Loops
1.11 If/Else Statements
6.4 If Statements
6.5 For Loops in JavaScript
6.9 While Loops
7.1 Control Structures Challenges
Standard
1.4 For Loops
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
11.13 Control Structures Example
11.12 While Loops in Karel
11.11 If/Else Statements
11.10 If Statements
11.9 For Loops
14.3 Operators
14.4 If/Else Statements
14.2 While Loops
14.1 For Loops
Standard
2.10 For Loops
2.12 If/Else Statements
7.4 If Statements
7.5 For Loops in JavaScript
7.9 While Loops
8.1 Control Structures Challenges
Standard
2.10 For Loops
2.12 If/Else Statements
7.4 If Statements
7.5 For Loops in JavaScript
7.9 While Loops
8.1 Control Structures Challenges
Standard
1.4 For Loops
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
11.13 Control Structures Example
11.12 While Loops in Karel
11.11 If/Else Statements
11.10 If Statements
11.9 For Loops
14.3 Operators
14.4 If/Else Statements
14.2 While Loops
14.1 For Loops
Standard
2.10 For Loops
2.12 If/Else Statements
7.4 If Statements
7.5 For Loops in JavaScript
7.9 While Loops
8.1 Control Structures Challenges
Standard
1.4 For Loops
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
11.13 Control Structures Example
11.12 While Loops in Karel
11.11 If/Else Statements
11.10 If Statements
11.9 For Loops
14.3 Operators
14.4 If/Else Statements
14.2 While Loops
14.1 For Loops
Standard
2.10 For Loops
2.12 If/Else Statements
7.4 If Statements
7.5 For Loops in JavaScript
7.9 While Loops
8.1 Control Structures Challenges
Standard
1.4 For Loops
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
11.13 Control Structures Example
11.12 While Loops in Karel
11.11 If/Else Statements
11.10 If Statements
11.9 For Loops
14.3 Operators
14.4 If/Else Statements
14.2 While Loops
14.1 For Loops
Standard
3.4 If Statements
3.6 General For Loops
3.7 For Loop Practice
3.9 While Loops
3.10 Loop and a Half
Standard
3.4 If Statements
3.6 General For Loops
3.7 For Loop Practice
3.9 While Loops
3.10 Loop and a Half
Standard
1.4 For Loops
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.13 Control Structures Example
14.12 While Loops in Karel
14.11 If/Else Statements
14.10 If Statements
14.9 For Loops
6.3 Operators
6.4 If/Else Statements
6.2 While Loops
6.1 For Loops
Standard
2.10 For Loops
2.12 If/Else Statements
7.4 If Statements
7.5 For Loops in JavaScript
7.9 While Loops
8.1 Control Structures Challenges
Standard
1.4 For Loops
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
11.13 Control Structures Example
11.12 While Loops in Karel
11.11 If/Else Statements
11.10 If Statements
11.9 For Loops
14.3 Operators
14.4 If/Else Statements
14.2 While Loops
14.1 For Loops
Standard
3.4 For Loops
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
8.9 For Loops
8.10 If Statements
8.11 If/Else Statements
8.12 While Loops in Karel
8.13 Control Structures Example
Standard
3.4 For Loops
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
2.10 For Loops
2.12 If/Else Statements
7.2 If/Else Statements
7.6 While Loops
7.9 For Loops
Standard
2.9 For Loops
2.11 If/Else Statements
6.2 If/Else Statements
6.6 While Loops
6.9 For Loops
11.4 For Loops
11.5 While Loops
Standard
3.4 If Statements
3.7 General For Loops
3.8 For Loop Practice
3.10 While Loops
3.11 Loop and a Half
Standard
1.4 For Loops
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
11.13 Control Structures Example
11.12 While Loops in Karel
11.11 If/Else Statements
11.10 If Statements
11.9 For Loops
14.3 Operators
14.4 If/Else Statements
14.2 While Loops
14.1 For Loops
Standard
2.10 For Loops
2.12 If/Else Statements
7.4 If Statements
7.5 For Loops in JavaScript
7.9 While Loops
8.1 Control Structures Challenges
Standard
3.10 For Loops
3.12 If/Else Statements
10.4 If Statements
10.5 For Loops in JavaScript
10.9 While Loops
11.1 Control Structures Challenges
Standard
1.9 For Loops
1.11 If/Else Statements
Standard
4.10 For Loops
4.12 If/Else Statements
6.4 If Statements
6.5 For Loops in JavaScript
6.9 While Loops
Standard
2.9 For Loops
2.11 If/Else Statements
8.2 If/Else Statements
8.6 While Loops
8.9 For Loops
Standard
2.2 For Loops
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
2.9 For Loops
2.11 If/Else Statements
7.4 If Statements
7.5 For Loops in JavaScript
7.9 While Loops
8.1 Control Structures Challenges
Standard
2.10 For Loops
2.12 If/Else Statements
7.4 If Statements
7.5 For Loops in JavaScript
7.9 While Loops
8.1 Control Structures Challenges
Standard
1.4 For Loops
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
11.13 Control Structures Example
11.12 While Loops in Karel
11.11 If/Else Statements
11.10 If Statements
11.9 For Loops
14.3 Operators
14.4 If/Else Statements
14.2 While Loops
14.1 For Loops
Standard
10.5 Informal Code Analysis
Standard
10.5 Informal Code Analysis
Standard
10.10 For/In Loops
13.8 If Statements
13.9 For Loops in JavaScript
13.12 While Loops
Standard
4.2 If Statements
4.3 Comparison Operators
4.4 Logical Operators
6.1 While Loops
6.2 For Loops
6.3 Break and Continue
6.4 Nested Control Structures
Standard
2.4 Strings and For Loops
4.3 For Loops and Lists
Standard
4.4 If/Else Statements
Standard
2.3 For Loops
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
2.3 For Loops
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.2 If Statements
4.3 Comparison Operators
4.4 Logical Operators
6.1 While Loops
6.2 For Loops
6.3 Break and Continue
6.4 Nested Control Structures
10.4 Strings and For Loops
12.3 For Loops and Lists
Standard
4.2 If Statements
4.3 Comparison Operators
4.4 Logical Operators
6.1 While Loops
6.2 For Loops
6.3 Break and Continue
6.4 Nested Control Structures
Standard
2.4 Strings and For Loops
4.3 For Loops and Lists
Standard
4.10 For/In Loops
8.8 If Statements
8.9 For Loops in JavaScript
8.12 While Loops
Standard
9.10 For/In Loops
12.8 If Statements
12.9 For Loops in JavaScript
12.12 While Loops
Standard
9.8 Informal Code Analysis