- What is CodeHS?
- Curriculum
- Platform
- Assignments
- Classroom Management
- Grading
- Gradebook
- Progress Tracking
- Lesson Plans
- Offline Handouts
- Problem Guides
- Practice
- Create
- Problem Bank
- Playlist Bank
- Quiz Scores
- Rostering
- Integrations
- Professional Development
- Stories
- Standards
- States
- Alabama
- Alaska
- Arizona
- Arkansas
- California
- Colorado
- Connecticut
- D.C.
- Delaware
- Florida
- Georgia
- Hawaii
- Idaho
- Illinois
- Indiana
- Iowa
- Kansas
- Kentucky
- Louisiana
- Maine
- Maryland
- Massachusetts
- Michigan
- Minnesota
- Mississippi
- Missouri
- Montana
- Nebraska
- Nevada
- New Hampshire
- New Jersey
- New Mexico
- New York
- North Carolina
- North Dakota
- Ohio
- Oklahoma
- Oregon
- Pennsylvania
- Rhode Island
- South Carolina
- South Dakota
- Tennessee
- Texas
- Utah
- Vermont
- Virginia
- Washington
- West Virginia
- Wisconsin
- Wyoming
- State Standards
- Plans
- Resources
- Districts
- Share
- Contact Us
- Company
![](https://devstaticflare.codehs.com/img/logo_name.png)
SC DCS: G.4
CodeHS Lessons
Create, evaluate, and adjust algorithms to solve a variety of problems.
Standard |
1.9 For Loops |
1.10 If Statements and Conditionals |
1.11 If/Else Statements |
1.14 Control Structures Example |
1.15 More Karel Examples and Testing |
2.1 Challenge Problems |
3.3 User Input |
3.4 Basic Math |
3.6 Random Numbers |
6.2 If/Else Statements |
6.3 Logical Operators |
6.4 Comparison Operators |
6.6 While Loops |
6.7 The Break Statement |
6.9 For Loops |
Standard |
9.3 User Input |
9.4 Basic Math in JavaScript |
9.6 Logical Operators |
9.7 Comparison Operators |
9.8 If Statements |
9.9 For Loops in JavaScript |
9.10 For Loop Practice |
9.11 Random Numbers |
9.12 While Loops |
9.13 Loop and a Half |
Standard |
21.1 Challenge Problems |
22.2 Logical Operators |
22.3 Comparison Operators |
22.4 If Statements |
22.5 For Loops in JavaScript |
22.6 General For Loops |
22.7 For Loop Practice |
22.8 Random Numbers |
22.9 While Loops |
22.10 Loop and a Half |
Standard |
1.9 For Loops |
1.10 If Statements and Conditionals |
1.11 If/Else Statements |
1.14 Control Structures Example |
1.15 More Karel Examples and Testing |
1.16 Challenge Problems |
2.3 User Input |
2.4 Basic Math |
2.6 Random Numbers |
5.2 If/Else Statements |
5.3 Logical Operators |
5.4 Comparison Operators |
5.6 While Loops |
5.7 The Break Statement |
5.9 For Loops |
Standard |
1.9 For Loops |
1.10 If Statements and Conditionals |
1.11 If/Else Statements |
1.14 Control Structures Example |
1.15 More Karel Examples and Testing |
2.1 Challenge Problems |
3.3 User Input |
3.4 Basic Math |
3.6 Random Numbers |
6.2 If/Else Statements |
6.3 Logical Operators |
6.4 Comparison Operators |
6.6 While Loops |
6.7 The Break Statement |
6.9 For Loops |
Standard |
1.9 For Loops |
1.10 If Statements and Conditionals |
1.11 If/Else Statements |
1.14 Control Structures Example |
1.15 More Karel Examples and Testing |
2.1 Challenge Problems |
3.3 User Input |
3.4 Basic Math |
3.6 Random Numbers |
6.2 If/Else Statements |
6.3 Logical Operators |
6.4 Comparison Operators |
6.6 While Loops |
6.7 The Break Statement |
6.9 For Loops |
Standard |
4.4 If/Else Statements |
Standard |
3.3 User Input |
3.4 Basic Math in JavaScript |
3.5 Using Graphics in JavaScript |
Standard |
1.9 For Loops |
1.10 If Statements |
1.11 If/Else Statements |
1.13 Control Structures Example |
1.14 More Karel Examples and Testing |
2.1 Challenge Problems |
3.3 User Input |
3.4 Basic Math in JavaScript |
3.5 Using Graphics in JavaScript |
6.2 Logical Operators |
6.3 Comparison Operators |
6.4 If Statements |
6.5 For Loops in JavaScript |
6.6 General For Loops |
6.7 For Loop Practice |
6.8 Random Numbers |
6.9 While Loops |
6.10 Loop and a Half |
Standard |
2.10 For Loops |
2.11 If Statements |
2.12 If/Else Statements |
2.14 Control Structures Example |
2.15 More Karel Examples and Testing |
3.2 Challenge Problems |
5.3 User Input |
5.4 Basic Math in JavaScript |
5.5 Using Graphics in JavaScript |
7.2 Logical Operators |
7.3 Comparison Operators |
7.4 If Statements |
7.5 For Loops in JavaScript |
7.6 General For Loops |
7.7 For Loop Practice |
7.9 While Loops |
7.10 Loop and a Half |
Standard |
1.9 For Loops |
1.10 If Statements |
1.11 If/Else Statements |
1.13 Control Structures Example |
1.14 More Karel Examples and Testing |
2.1 Challenge Problems |
3.3 User Input |
3.4 Basic Math in JavaScript |
3.5 Using Graphics in JavaScript |
5.2 Logical Operators |
5.3 Comparison Operators |
5.4 If Statements |
5.5 For Loops in JavaScript |
5.6 General For Loops |
5.7 For Loop Practice |
5.8 Random Numbers |
5.9 While Loops |
5.10 Loop and a Half |
Standard |
1.9 For Loops |
1.10 If Statements |
1.11 If/Else Statements |
1.13 Control Structures Example |
1.14 More Karel Examples and Testing |
2.1 Challenge Problems |
3.3 User Input |
3.4 Basic Math in JavaScript |
3.5 Using Graphics in JavaScript |
5.2 Logical Operators |
5.3 Comparison Operators |
5.4 If Statements |
5.5 For Loops in JavaScript |
5.6 General For Loops |
5.7 For Loop Practice |
5.8 Random Numbers |
5.9 While Loops |
5.10 Loop and a Half |
Standard |
1.9 For Loops |
1.10 If Statements |
1.11 If/Else Statements |
1.13 Control Structures Example |
1.14 More Karel Examples and Testing |
2.1 Challenge Problems |
3.3 User Input |
3.4 Basic Math in JavaScript |
3.5 Using Graphics in JavaScript |
5.2 Logical Operators |
5.3 Comparison Operators |
5.4 If Statements |
5.5 For Loops in JavaScript |
5.6 General For Loops |
5.7 For Loop Practice |
5.8 Random Numbers |
5.9 While Loops |
5.10 Loop and a Half |
Standard |
14.3 User Input |
14.4 Basic Math in JavaScript |
14.6 Logical Operators |
14.7 Comparison Operators |
14.8 If Statements |
14.9 For Loops in JavaScript |
Standard |
2.10 For Loops |
2.11 If Statements |
2.12 If/Else Statements |
2.14 Control Structures Example |
2.15 More Karel Examples and Testing |
3.2 Challenge Problems |
5.3 User Input |
5.4 Basic Math in JavaScript |
5.5 Using Graphics in JavaScript |
7.2 Logical Operators |
7.3 Comparison Operators |
7.4 If Statements |
7.5 For Loops in JavaScript |
7.6 General For Loops |
7.7 For Loop Practice |
7.8 Random Numbers |
7.9 While Loops |
7.10 Loop and a Half |
Standard |
2.10 For Loops |
2.11 If Statements |
2.12 If/Else Statements |
2.14 Control Structures Example |
2.15 More Karel Examples and Testing |
3.2 Challenge Problems |
6.4 User Input |
6.5 Basic Math in JavaScript |
6.6 Using Graphics in JavaScript |
8.2 Logical Operators |
8.3 Comparison Operators |
8.4 If Statements |
8.5 For Loops in JavaScript |
8.6 General For Loops |
8.7 For Loop Practice |
8.8 Random Numbers |
8.9 While Loops |
8.10 Loop and a Half |
Standard |
3.10 For Loops |
3.11 If Statements |
3.12 If/Else Statements |
3.14 Control Structures Example |
3.15 More Karel Examples and Testing |
4.2 Challenge Problems |
6.3 User Input |
6.4 Basic Math in JavaScript |
6.5 Using Graphics in JavaScript |
8.2 Logical Operators |
8.3 Comparison Operators |
8.4 If Statements |
8.5 For Loops in JavaScript |
8.6 General For Loops |
8.7 For Loop Practice |
8.8 Random Numbers |
8.9 While Loops |
8.10 Loop and a Half |
Standard |
2.10 For Loops |
2.11 If Statements |
2.12 If/Else Statements |
2.14 Control Structures Example |
2.15 More Karel Examples and Testing |
3.2 Challenge Problems |
5.3 User Input |
5.4 Basic Math in JavaScript |
5.5 Using Graphics in JavaScript |
7.2 Logical Operators |
7.3 Comparison Operators |
7.4 If Statements |
7.5 For Loops in JavaScript |
7.6 General For Loops |
7.7 For Loop Practice |
7.9 While Loops |
7.10 Loop and a Half |
Standard |
2.10 For Loops |
2.11 If Statements |
2.12 If/Else Statements |
2.14 Control Structures Example |
2.15 More Karel Examples and Testing |
3.2 Challenge Problems |
5.3 User Input |
5.4 Basic Math in JavaScript |
5.5 Using Graphics in JavaScript |
7.2 Logical Operators |
7.3 Comparison Operators |
7.4 If Statements |
7.5 For Loops in JavaScript |
7.6 General For Loops |
7.7 For Loop Practice |
7.9 While Loops |
7.10 Loop and a Half |
Standard |
2.10 For Loops |
2.11 If Statements |
2.12 If/Else Statements |
2.14 Control Structures Example |
2.15 More Karel Examples and Testing |
3.2 Challenge Problems |
6.3 User Input |
6.4 Basic Math in JavaScript |
6.5 Using Graphics in JavaScript |
9.2 Logical Operators |
9.3 Comparison Operators |
9.4 If Statements |
9.5 For Loops in JavaScript |
9.6 General For Loops |
9.7 For Loop Practice |
9.8 Random Numbers |
9.9 While Loops |
9.10 Loop and a Half |
Standard |
2.10 For Loops |
2.11 If Statements |
2.12 If/Else Statements |
2.14 Control Structures Example |
2.15 More Karel Examples and Testing |
3.2 Challenge Problems |
10.4 User Input |
10.5 Basic Math in JavaScript |
10.6 Using Graphics in JavaScript |
15.10 Loop and a Half |
15.9 While Loops |
15.8 Random Numbers |
15.7 For Loop Practice |
15.6 General For Loops |
15.5 For Loops in JavaScript |
15.4 If Statements |
15.3 Comparison Operators |
15.2 Logical Operators |
Standard |
2.10 For Loops |
2.11 If Statements |
2.12 If/Else Statements |
2.14 Control Structures Example |
2.15 More Karel Examples and Testing |
3.2 Challenge Problems |
5.3 User Input |
5.4 Basic Math in JavaScript |
5.5 Using Graphics in JavaScript |
14.10 Loop and a Half |
14.9 While Loops |
14.8 Random Numbers |
14.7 For Loop Practice |
14.6 General For Loops |
14.5 For Loops in JavaScript |
14.4 If Statements |
14.3 Comparison Operators |
14.2 Logical Operators |
Standard |
2.10 For Loops |
2.11 If Statements |
2.12 If/Else Statements |
2.14 Control Structures Example |
2.15 More Karel Examples and Testing |
3.2 Challenge Problems |
5.3 User Input |
5.4 Basic Math in JavaScript |
5.5 Using Graphics in JavaScript |
7.2 Logical Operators |
7.3 Comparison Operators |
7.4 If Statements |
7.5 For Loops in JavaScript |
7.6 General For Loops |
7.7 For Loop Practice |
7.9 While Loops |
7.10 Loop and a Half |
Standard |
1.9 For Loops |
1.10 If Statements and Conditionals |
1.11 If/Else Statements |
1.14 Control Structures Example |
1.15 More Karel Examples and Testing |
2.3 User Input |
2.4 Basic Math |
2.6 Random Numbers |
4.2 If/Else Statements |
4.3 Logical Operators |
4.4 Comparison Operators |
4.6 While Loops |
4.7 The Break Statement |
4.9 For Loops |
18.1 Challenge Problems |
Standard |
1.9 For Loops |
1.10 If Statements |
1.11 If/Else Statements |
1.13 Control Structures Example |
1.14 More Karel Examples and Testing |
2.1 Challenge Problems |
8.4 User Input |
8.5 Basic Math in JavaScript |
8.6 Using Graphics in JavaScript |
10.2 Logical Operators |
10.3 Comparison Operators |
10.4 If Statements |
10.5 For Loops in JavaScript |
10.6 General For Loops |
10.7 For Loop Practice |
10.8 Random Numbers |
10.9 While Loops |
10.10 Loop and a Half |
Standard |
1.9 For Loops |
1.10 If Statements |
1.11 If/Else Statements |
1.13 Control Structures Example |
1.14 More Karel Examples and Testing |
2.1 Challenge Problems |
4.3 User Input |
4.4 Basic Math in JavaScript |
4.5 Using Graphics in JavaScript |
6.2 Logical Operators |
6.3 Comparison Operators |
6.4 If Statements |
6.5 For Loops in JavaScript |
6.6 General For Loops |
6.7 For Loop Practice |
6.8 Random Numbers |
6.9 While Loops |
6.10 Loop and a Half |
Standard |
2.10 For Loops |
2.11 If Statements |
2.12 If/Else Statements |
2.14 Control Structures Example |
2.15 More Karel Examples and Testing |
3.2 Challenge Problems |
5.3 User Input |
5.4 Basic Math in JavaScript |
5.5 Using Graphics in JavaScript |
7.2 Logical Operators |
7.3 Comparison Operators |
7.4 If Statements |
7.5 For Loops in JavaScript |
7.6 General For Loops |
7.7 For Loop Practice |
7.9 While Loops |
7.10 Loop and a Half |
Standard |
2.10 For Loops |
2.11 If Statements |
2.12 If/Else Statements |
2.14 Control Structures Example |
2.15 More Karel Examples and Testing |
3.2 Challenge Problems |
5.3 User Input |
5.4 Basic Math in JavaScript |
5.5 Using Graphics in JavaScript |
7.2 Logical Operators |
7.3 Comparison Operators |
7.4 If Statements |
7.5 For Loops in JavaScript |
7.6 General For Loops |
7.7 For Loop Practice |
7.8 Random Numbers |
7.9 While Loops |
7.10 Loop and a Half |
Standard |
2.10 For Loops |
2.11 If Statements |
2.12 If/Else Statements |
2.14 Control Structures Example |
2.15 More Karel Examples and Testing |
3.2 Challenge Problems |
5.3 User Input |
5.4 Basic Math in JavaScript |
5.5 Using Graphics in JavaScript |
7.2 Logical Operators |
7.3 Comparison Operators |
7.4 If Statements |
7.5 For Loops in JavaScript |
7.6 General For Loops |
7.7 For Loop Practice |
7.9 While Loops |
7.10 Loop and a Half |
Standard |
2.10 For Loops |
2.11 If Statements |
2.12 If/Else Statements |
2.14 Control Structures Example |
2.15 More Karel Examples and Testing |
3.2 Challenge Problems |
5.3 User Input |
5.4 Basic Math in JavaScript |
5.5 Using Graphics in JavaScript |
7.2 Logical Operators |
7.3 Comparison Operators |
7.4 If Statements |
7.5 For Loops in JavaScript |
7.6 General For Loops |
7.7 For Loop Practice |
7.9 While Loops |
7.10 Loop and a Half |
Standard |
2.3 User Input |
2.4 Basic Math in JavaScript |
2.5 Using Graphics in JavaScript |
Standard |
2.3 User Input |
2.4 Basic Math in JavaScript |
2.5 Using Graphics in JavaScript |
Standard |
2.10 For Loops |
2.11 If Statements |
2.12 If/Else Statements |
2.14 Control Structures Example |
2.15 More Karel Examples and Testing |
3.2 Challenge Problems |
5.3 User Input |
5.4 Basic Math in JavaScript |
5.5 Using Graphics in JavaScript |
7.2 Logical Operators |
7.3 Comparison Operators |
7.4 If Statements |
7.5 For Loops in JavaScript |
7.6 General For Loops |
7.7 For Loop Practice |
7.9 While Loops |
7.10 Loop and a Half |
Standard |
2.10 For Loops |
2.11 If Statements and Conditionals |
2.12 If/Else Statements |
2.15 Control Structures Example |
2.16 More Karel Examples and Testing |
3.3 User Input |
3.4 Basic Math |
3.6 Random Numbers |
7.2 If/Else Statements |
7.3 Logical Operators |
7.4 Comparison Operators |
7.6 While Loops |
7.7 The Break Statement |
7.9 For Loops |
Standard |
2.9 For Loops |
2.10 If Statements and Conditionals |
2.11 If/Else Statements |
2.14 Control Structures Example |
2.15 More Karel Examples and Testing |
4.3 User Input |
4.4 Basic Math |
4.6 Random Numbers |
6.2 If/Else Statements |
6.3 Logical Operators |
6.4 Comparison Operators |
6.6 While Loops |
6.7 The Break Statement |
6.9 For Loops |
14.1 Challenge Problems |
Standard |
2.10 For Loops |
2.11 If Statements |
2.12 If/Else Statements |
2.14 Control Structures Example |
2.15 More Karel Examples and Testing |
3.2 Challenge Problems |
5.3 User Input |
5.4 Basic Math in JavaScript |
5.5 Using Graphics in JavaScript |
7.2 Logical Operators |
7.3 Comparison Operators |
7.4 If Statements |
7.5 For Loops in JavaScript |
7.6 General For Loops |
7.7 For Loop Practice |
7.9 While Loops |
7.10 Loop and a Half |
Standard |
3.10 For Loops |
3.11 If Statements |
3.12 If/Else Statements |
3.14 Control Structures Example |
3.15 More Karel Examples and Testing |
4.2 Challenge Problems |
6.3 User Input |
6.4 Basic Math in JavaScript |
6.5 Using Graphics in JavaScript |
10.10 Loop and a Half |
10.9 While Loops |
10.8 Random Numbers |
10.7 For Loop Practice |
10.6 General For Loops |
10.5 For Loops in JavaScript |
10.4 If Statements |
10.3 Comparison Operators |
10.2 Logical Operators |
Standard |
1.9 For Loops |
1.10 If Statements |
1.11 If/Else Statements |
1.13 Control Structures Example |
1.14 More Karel Examples and Testing |
Standard |
4.10 For Loops |
4.11 If Statements |
4.12 If/Else Statements |
4.14 Control Structures Example |
4.15 More Karel Examples and Testing |
5.3 User Input |
5.4 Basic Math in JavaScript |
5.5 Using Graphics in JavaScript |
6.2 Logical Operators |
6.3 Comparison Operators |
6.4 If Statements |
6.5 For Loops in JavaScript |
6.6 General For Loops |
6.7 For Loop Practice |
6.9 While Loops |
6.10 Loop and a Half |
Standard |
2.9 For Loops |
2.10 If Statements and Conditionals |
2.11 If/Else Statements |
2.15 Control Structures Example |
2.16 More Karel Examples and Testing |
3.1 Challenge Problems |
5.3 User Input |
5.4 Basic Math |
5.6 Random Numbers |
8.2 If/Else Statements |
8.3 Logical Operators |
8.4 Comparison Operators |
8.6 While Loops |
8.7 The Break Statement |
8.9 For Loops |
Standard |
2.9 For Loops |
2.10 If Statements |
2.11 If/Else Statements |
2.13 Control Structures Example |
2.14 More Karel Examples and Testing |
3.2 Challenge Problems |
5.3 User Input |
5.4 Basic Math in JavaScript |
5.5 Using Graphics in JavaScript |
7.2 Logical Operators |
7.3 Comparison Operators |
7.4 If Statements |
7.5 For Loops in JavaScript |
7.6 General For Loops |
7.7 For Loop Practice |
7.8 Random Numbers |
7.9 While Loops |
7.10 Loop and a Half |
Standard |
2.10 For Loops |
2.11 If Statements |
2.12 If/Else Statements |
2.14 Control Structures Example |
2.15 More Karel Examples and Testing |
3.2 Challenge Problems |
5.3 User Input |
5.4 Basic Math in JavaScript |
5.5 Using Graphics in JavaScript |
7.2 Logical Operators |
7.3 Comparison Operators |
7.4 If Statements |
7.5 For Loops in JavaScript |
7.6 General For Loops |
7.7 For Loop Practice |
7.9 While Loops |
7.10 Loop and a Half |
Standard |
13.3 User Input |
13.4 Basic Math in JavaScript |
13.6 Logical Operators |
13.7 Comparison Operators |
13.8 If Statements |
13.9 For Loops in JavaScript |
13.10 For Loop Practice |
13.11 Random Numbers |
13.12 While Loops |
13.13 Loop and a Half |
Standard |
4.4 If/Else Statements |
Standard |
8.3 User Input |
8.4 Basic Math in JavaScript |
8.6 Logical Operators |
8.7 Comparison Operators |
8.8 If Statements |
8.9 For Loops in JavaScript |
8.10 For Loop Practice |
8.11 Random Numbers |
8.12 While Loops |
8.13 Loop and a Half |
Standard |
12.3 User Input |
12.4 Basic Math in JavaScript |
12.6 Logical Operators |
12.7 Comparison Operators |
12.8 If Statements |
12.9 For Loops in JavaScript |
12.10 For Loop Practice |
12.11 Random Numbers |
12.12 While Loops |
12.13 Loop and a Half |
Standard |
1.10 For Loops |
1.11 If Statements |
1.12 If/Else Statements |
1.14 Control Structures Example |
2.2 Challenge Problems |
5.3 User Input |
5.4 Basic Math in JavaScript |
5.5 Using Graphics in JavaScript |
7.2 Logical Operators |
7.3 Comparison Operators |
7.4 If Statements |
7.5 For Loops in JavaScript |
7.6 General For Loops |
7.7 For Loop Practice |
7.9 While Loops |
7.10 Loop and a Half |
- What is CodeHS?
- Curriculum
- Platform
- Assignments
- Classroom Management
- Grading
- Gradebook
- Progress Tracking
- Lesson Plans
- Offline Handouts
- Problem Guides
- Practice
- Create
- Problem Bank
- Playlist Bank
- Quiz Scores
- Rostering
- Integrations
- Professional Development
- Stories
- Standards
- States
- Alabama
- Alaska
- Arizona
- Arkansas
- California
- Colorado
- Connecticut
- D.C.
- Delaware
- Florida
- Georgia
- Hawaii
- Idaho
- Illinois
- Indiana
- Iowa
- Kansas
- Kentucky
- Louisiana
- Maine
- Maryland
- Massachusetts
- Michigan
- Minnesota
- Mississippi
- Missouri
- Montana
- Nebraska
- Nevada
- New Hampshire
- New Jersey
- New Mexico
- New York
- North Carolina
- North Dakota
- Ohio
- Oklahoma
- Oregon
- Pennsylvania
- Rhode Island
- South Carolina
- South Dakota
- Tennessee
- Texas
- Utah
- Vermont
- Virginia
- Washington
- West Virginia
- Wisconsin
- Wyoming
- State Standards
- Plans
- Resources
- Districts
- Share
- Contact Us
- Company
![](https://devstaticflare.codehs.com/img/logo_name.png)