Please enable JavaScript to use CodeHS

VA CSF: CSF.13

CodeHS Lessons

The student will identify the expected output of a program given a problem and some input.

2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
5.3 User Input
7.4 If Statements
7.5 For Loops in JavaScript
7.9 While Loops
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
5.3 User Input
7.4 If Statements
7.5 For Loops in JavaScript
7.9 While Loops
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
5.3 User Input
7.4 If Statements
7.5 For Loops in JavaScript
7.9 While Loops
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
5.3 User Input
7.4 If Statements
7.5 For Loops in JavaScript
7.9 While Loops
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
5.3 User Input
7.4 If Statements
7.5 For Loops in JavaScript
7.9 While Loops
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
5.3 User Input
7.4 If Statements
7.5 For Loops in JavaScript
7.9 While Loops
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
5.3 User Input
7.4 If Statements
7.5 For Loops in JavaScript
7.9 While Loops
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
5.3 User Input
7.4 If Statements
7.5 For Loops in JavaScript
7.9 While Loops
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
5.3 User Input
7.4 If Statements
7.5 For Loops in JavaScript
7.9 While Loops
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
5.3 User Input
7.4 If Statements
7.5 For Loops in JavaScript
7.9 While Loops
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
5.3 User Input
7.4 If Statements
7.5 For Loops in JavaScript
7.9 While Loops
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
5.3 User Input
14.4 If Statements
14.5 For Loops in JavaScript
14.9 While Loops
17.1 Functions and Parameters 1
17.2 Functions and Parameters 2
17.3 Functions and Parameters 3
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
5.3 User Input
7.4 If Statements
7.5 For Loops in JavaScript
7.9 While Loops
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
5.4 User Input
7.4 If Statements
7.5 For Loops in JavaScript
7.9 While Loops
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
2.10 If Statements
2.11 If/Else Statements
2.12 While Loops in Karel
2.13 Control Structures Example
3.2 Challenge Problems
5.3 User Input
7.4 If Statements
7.5 For Loops in JavaScript
7.9 While Loops
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
11.1 Breakout
2.10 If Statements
2.11 If/Else Statements
2.12 While Loops in Karel
2.13 Control Structures Example
3.2 Challenge Problems
5.3 User Input
7.4 If Statements
7.5 For Loops in JavaScript
7.9 While Loops
9.1 Functions and Parameters 1
9.2 Functions and Parameters 2
9.3 Functions and Parameters 3
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
2.1 Challenge Problems
3.3 User Input
6.4 If Statements
6.5 For Loops in JavaScript
6.9 While Loops
8.1 Functions and Parameters 1
8.2 Functions and Parameters 2
8.3 Functions and Parameters 3
9.1 Functions Challenges
10.1 Loops
10.2 If/Else Statements
10.4 Functions
13.1 Breakout
14.1 Arduino Challenges
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
6.3 User Input
9.4 If Statements
9.5 For Loops in JavaScript
9.9 While Loops
11.1 Functions and Parameters 1
11.2 Functions and Parameters 2
11.3 Functions and Parameters 3
3.11 If Statements
3.12 If/Else Statements
3.13 While Loops in Karel
3.14 Control Structures Example
4.2 Challenge Problems
6.3 User Input
8.4 If Statements
8.5 For Loops in JavaScript
8.9 While Loops
10.1 Functions and Parameters 1
10.2 Functions and Parameters 2
10.3 Functions and Parameters 3
3.11 If Statements
3.12 If/Else Statements
3.13 While Loops in Karel
3.14 Control Structures Example
4.2 Challenge Problems
6.3 User Input
10.4 If Statements
10.5 For Loops in JavaScript
10.9 While Loops
12.1 Functions and Parameters 1
12.2 Functions and Parameters 2
12.3 Functions and Parameters 3
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
2.1 Challenge Problems
4.3 User Input
6.4 If Statements
6.5 For Loops in JavaScript
6.9 While Loops
8.1 Functions and Parameters 1
8.2 Functions and Parameters 2
8.3 Functions and Parameters 3
9.1 Functions Challenges
12.1 Breakout
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
3.2 Challenge Problems
4.4 User Input
13.4 If Statements
13.5 For Loops in JavaScript
13.9 While Loops
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
2.1 Challenge Problems
3.3 User Input
5.4 If Statements
5.5 For Loops in JavaScript
5.9 While Loops
7.1 Functions and Parameters 1
7.2 Functions and Parameters 2
7.3 Functions and Parameters 3
8.1 Functions Challenges
11.1 Breakout
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
2.1 Challenge Problems
3.3 User Input
5.4 If Statements
5.5 For Loops in JavaScript
5.9 While Loops
7.1 Functions and Parameters 1
7.2 Functions and Parameters 2
7.3 Functions and Parameters 3
9.1 Functions Challenges
9.1 Functions Challenges
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
2.1 Challenge Problems
3.3 User Input
5.4 If Statements
5.5 For Loops in JavaScript
5.9 While Loops
7.1 Functions and Parameters 1
7.2 Functions and Parameters 2
7.3 Functions and Parameters 3
8.1 Functions Challenges
11.1 Breakout
21.1 Challenge Problems
22.4 If Statements
22.5 For Loops in JavaScript
22.9 While Loops
2.10 If Statements
2.11 If/Else Statements
2.12 While Loops in Karel
2.13 Control Structures Example
2.14 More Karel Examples and Testing
2.16 Karel Challenges
3.3 User Input
6.13 Parameters
6.16 If Statements
6.17 If/ Else Statements
6.18 While Loops
6.19 Putting Together Control Structures
6.12 User Input
6.12 User Input
9.3 User Input
9.8 If Statements
9.9 For Loops in JavaScript
9.12 While Loops
9.14 Functions and Parameters 1
9.15 Functions and Parameters 2
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
1.14 More Karel Examples and Testing
1.16 Karel Challenges
13.13 Parameters
13.16 If Statements
13.17 If/ Else Statements
13.18 While Loops
13.19 Putting Together Control Structures
13.12 User Input
13.12 User Input
2.10 If Statements
2.11 If/Else Statements
2.12 While Loops in Karel
2.13 Control Structures Example
2.14 More Karel Examples and Testing
2.16 Karel Challenges
3.12 User Input
3.12 User Input
3.13 Parameters
3.16 If Statements
3.17 If/ Else Statements
3.18 While Loops
3.19 Putting Together Control Structures
4.2 User Input
4.2 User Input
4.3 Parameters
6.1 If Statements
6.2 If/ Else Statements
6.3 While Loops
7.2 While Loops
7.3 Operators
7.4 If/Else Statements
7.5 Functions
8.1 Putting Together Control Structures
9.1 micro:bit Challenges
3.12 User Input
3.12 User Input
3.13 Parameters
3.16 If Statements
3.17 If/ Else Statements
3.18 While Loops
3.19 Putting Together Control Structures
1.12 User Input
1.12 User Input
1.13 Parameters
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
2.3 User Input
4.2 If Statements
5.1 While Loops
5.3 Break and Continue
5.4 Nested Control Structures
6.2 Functions and Parameters
7.1 Loops
7.2 If/Else Statements
7.4 Functions
8.1 Indexing
8.2 Slicing
8.4 Strings and For Loops
8.5 The in Keyword
8.6 String Methods
12.1 Arduino Challenges
4.3 User Input
4.3 User Input
4.4 Parameters
5.1 If Statements
5.2 If/ Else Statements
5.3 While Loops
6.1 Putting Together Control Structures
3.13 User Input
3.13 User Input
3.14 Parameters
3.17 If Statements
3.18 If/ Else Statements
3.19 While Loops
3.20 Putting Together Control Structures
1.12 User Input
1.12 User Input
1.13 Parameters
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.10 If Statements
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
15.1 micro:bit Challenges
14.5 Functions
1.12 User Input
1.12 User Input
1.13 Parameters
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.10 If Statements
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
15.1 micro:bit Challenges
14.5 Functions
1.12 User Input
1.12 User Input
1.13 Parameters
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.10 If Statements
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
15.1 micro:bit Challenges
14.5 Functions
1.12 User Input
1.12 User Input
1.13 Parameters
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.10 If Statements
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
15.1 micro:bit Challenges
14.5 Functions
1.12 User Input
1.12 User Input
1.13 Parameters
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.10 If Statements
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
15.1 micro:bit Challenges
14.5 Functions
1.12 User Input
1.12 User Input
1.13 Parameters
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.10 If Statements
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
15.1 micro:bit Challenges
14.5 Functions
1.12 User Input
1.12 User Input
1.13 Parameters
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.10 If Statements
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
15.1 micro:bit Challenges
14.5 Functions
1.12 User Input
1.12 User Input
1.13 Parameters
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.10 If Statements
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
15.1 micro:bit Challenges
14.5 Functions
1.12 User Input
1.12 User Input
1.13 Parameters
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
6.10 If Statements
6.11 If/Else Statements
6.12 While Loops in Karel
6.13 Control Structures Example
6.14 More Karel Examples and Testing
6.16 Karel Challenges
9.2 While Loops
9.3 Operators
9.4 If/Else Statements
10.1 micro:bit Challenges
9.5 Functions
1.12 User Input
1.12 User Input
1.13 Parameters
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.10 If Statements
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
15.1 micro:bit Challenges
14.5 Functions
1.12 User Input
1.12 User Input
1.13 Parameters
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
11.10 If Statements
11.11 If/Else Statements
11.12 While Loops in Karel
11.13 Control Structures Example
11.14 More Karel Examples and Testing
11.16 Karel Challenges
14.2 While Loops
14.3 Operators
14.4 If/Else Statements
15.1 micro:bit Challenges
14.5 Functions
4.2 User Input
4.2 User Input
4.3 Parameters
5.1 If Statements
5.2 If/ Else Statements
5.3 While Loops
6.1 Putting Together Control Structures
2.12 User Input
2.12 User Input
2.13 Parameters
2.16 If Statements
2.17 If/ Else Statements
2.18 While Loops
2.19 Putting Together Control Structures
3.3 User Input
4.2 If Statements
5.1 While Loops
5.3 Break and Continue
5.4 Nested Control Structures
6.2 Functions and Parameters
7.1 Indexing
7.2 Slicing
7.4 Strings and For Loops
7.5 The in Keyword
7.6 String Methods
3.12 If/Else Statements
4.11 While Loops
4.12 If Statements
5.5 Strings Methods
9.2 Linear Search
9.3 Binary Search
9.4 Selection Sort
9.5 Insertion Sort
1.12 If/Else Statements
2.10 While Loops
2.11 If Statements
3.5 Strings Methods
8.2 Linear Search
8.3 Binary Search
8.4 Selection Sort
8.5 Insertion Sort
1.13 If/Else Statements
2.10 If Statements
2.11 If/Else Statements
2.12 While Loops in Karel
2.13 Control Structures Example
2.17 Karel Challenges
1.10 If Statements
1.11 If/Else Statements
1.12 While Loops in Karel
1.13 Control Structures Example
1.14 More Karel Examples and Testing
1.16 Karel Challenges
1.1 Introduction to Programming With Karel
1.3 Java Programs and the Run Method
1.5 Methods in Karel
1.8 Super Karel
1.9 For Loops
1.10 While Loops in Karel
1.13 Control Structures Example
1.14 More Karel Examples and Testing
1.16 Karel Challenges
2.3 User Input
2.9 If Statements
2.15 Loop and a Half
7.12 Break and Continue
7.15 Functions and Parameters
33.1 Indexing
33.2 Slicing
33.4 Strings and For Loops
33.5 The in Keyword
33.6 String Methods
7.2 While Loops
7.3 Operators
7.4 If/Else Statements
7.5 Functions
10.1 micro:bit Challenges
2.2 While Loops
2.3 Operators
2.4 If/Else Statements
2.5 Functions
3.1 micro:bit Challenges
2.1 Loops
2.2 If/Else Statements
2.4 Functions
3.1 Arduino Challenges