Please enable JavaScript to use CodeHS

IN CS 2: CSII-4.6

CodeHS Lessons

Implement fundamental programming constructs, including data types, control structures, methods, and arrays.

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
5.4 If Statements
5.5 For Loops in JavaScript
5.6 General For Loops
5.7 For Loop Practice
5.9 While Loops
25.1 Intro to Lists/Arrays
25.2 Indexing Into an Array
25.3 Adding/Removing From an Array
25.4 Array Length and Looping Through Arrays
25.5 Iterating Over an Array
25.6 Finding an Element in a List
25.7 Removing an Element From an Array
Standard
2.4 For Loops
2.10 Top Down Design
2.16 If Statements
2.17 If/ Else Statements
2.18 While Loops
2.19 Putting Together Control Structures
4.2 If Statements
5.1 While Loops
5.2 For Loops
8.2 Lists
8.3 For Loops and Lists
8.4 List Methods
9.1 2d Lists
Standard
6.1 Array
7.1 ArrayList
Standard
3.4 Variables
4.4 If Statements
4.10 While Loops
5.1 Functions and Parameters 1
5.2 Functions and Parameters 2
5.3 Functions and Parameters 3
7.1 Intro to Lists/Arrays
Standard
4.4 If Statements
4.10 While Loops
5.1 Functions and Parameters 1
5.2 Functions and Parameters 2
5.3 Functions and Parameters 3
7.1 Tuples
7.2 Lists
Standard
3.4 Variables
4.4 If Statements
4.11 While Loops
5.1 Functions and Parameters 1
5.2 Functions and Parameters 2
5.3 Functions and Parameters 3
7.1 Intro to Lists/Arrays
Standard
13.4 For Loops
13.10 Top Down Design
13.16 If Statements
13.17 If/ Else Statements
13.18 While Loops
13.19 Putting Together Control Structures
Standard
4.4 JavaScript Objects
9.8 If Statements
9.9 For Loops in JavaScript
9.10 For Loop Practice
9.12 While Loops
9.19 Intro to Lists/Arrays
9.20 Indexing Into an Array
9.21 Adding/Removing From an Array
9.22 Array Length and Looping Through Arrays
Standard
4.1 Programming Concepts
4.5 Arrays and Objects
22.4 If Statements
22.5 For Loops in JavaScript
22.6 General For Loops
22.7 For Loop Practice
22.9 While Loops
Standard
2.2 For Loops
3.5 Top Down Design
5.1 If Statements
5.2 If/ Else Statements
5.3 While Loops
6.1 Putting Together Control Structures
Standard
3.4 For Loops
3.10 Top Down Design
3.16 If Statements
3.17 If/ Else Statements
3.18 While Loops
3.19 Putting Together Control Structures
Standard
6.4 For Loops
6.10 Top Down Design
6.16 If Statements
6.17 If/ Else Statements
6.18 While Loops
6.19 Putting Together Control Structures
Standard
7.11 For Loops
Standard
6.2 Lists
6.3 For Loops and Lists
6.4 List Methods
6.5 2d Lists
Standard
2.1 For Loops
2.2 While Loops
2.4 If/Else Statements
2.5 Functions
3.1 micro:bit Challenges
Standard
2.1 Loops
2.2 If/Else Statements
2.4 Functions
3.1 Arduino Challenges
Standard
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
9.11 Intro to Lists/Arrays
9.12 Adding/Removing From an Array
9.13 Array Length and Looping Through Arrays
9.14 Iterating Over an Array
16.1 Indexing Into an Array
16.2 Finding an Element in a List
16.3 Removing an Element From an Array
Standard
1.4 For Loops
1.10 Top Down Design
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
14.1 For Loops
14.2 While Loops
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
Standard
1.9 For Loops
1.10 While Loops in Karel
1.11 If Statements
1.12 If/Else Statements
2.2 Variables and Types
2.5 Casting
2.6 Booleans
2.9 For Loops
2.10 While Loops
2.11 If Statements
3.1 Java Methods
3.2 Methods and Parameters
3.3 Methods and Return Values
5.2 Introduction to Arrays
5.3 Using Arrays
Standard
5.2 Introduction to Arrays
5.3 Using Arrays
5.5 ArrayList Methods
Standard
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
9.11 Intro to Lists/Arrays
9.12 Adding/Removing From an Array
9.13 Array Length and Looping Through Arrays
9.14 Iterating Over an Array
16.1 Indexing Into an Array
16.2 Finding an Element in a List
16.3 Removing an Element From an Array
Standard
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
9.11 Intro to Lists/Arrays
9.12 Adding/Removing From an Array
9.13 Array Length and Looping Through Arrays
9.14 Iterating Over an Array
16.1 Indexing Into an Array
16.2 Finding an Element in a List
16.3 Removing an Element From an Array
Standard
1.4 For Loops
1.10 Top Down Design
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
14.1 For Loops
14.2 While Loops
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
Standard
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
9.11 Intro to Lists/Arrays
9.12 Adding/Removing From an Array
9.13 Array Length and Looping Through Arrays
9.14 Iterating Over an Array
16.1 Indexing Into an Array
16.2 Finding an Element in a List
16.3 Removing an Element From an Array
Standard
1.4 For Loops
1.10 Top Down Design
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
14.1 For Loops
14.2 While Loops
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
Standard
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
9.4 If Statements
9.5 For Loops in JavaScript
9.6 General For Loops
9.7 For Loop Practice
9.9 While Loops
11.11 Intro to Lists/Arrays
11.12 Adding/Removing From an Array
11.13 Array Length and Looping Through Arrays
11.14 Iterating Over an Array
18.1 Indexing Into an Array
18.2 Finding an Element in a List
18.3 Removing an Element From an Array
Standard
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
19.3 Removing an Element From an Array
19.2 Finding an Element in a List
17.14 Iterating Over an Array
17.13 Array Length and Looping Through Arrays
17.12 Adding/Removing From an Array
19.1 Indexing Into an Array
17.11 Intro to Lists/Arrays
14.9 While Loops
14.7 For Loop Practice
14.6 General For Loops
14.5 For Loops in JavaScript
14.4 If Statements
Standard
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
9.11 Intro to Lists/Arrays
9.12 Adding/Removing From an Array
9.13 Array Length and Looping Through Arrays
9.14 Iterating Over an Array
16.1 Indexing Into an Array
16.2 Finding an Element in a List
16.3 Removing an Element From an Array
Standard
1.4 For Loops
1.10 Top Down Design
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
9.1 For Loops
9.2 While Loops
9.4 If/Else Statements
9.5 Functions
10.1 micro:bit Challenges
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
6.4 If Statements
6.5 For Loops in JavaScript
6.6 General For Loops
6.7 For Loop Practice
6.9 While Loops
26.1 Intro to Lists/Arrays
26.2 Indexing Into an Array
26.3 Adding/Removing From an Array
26.4 Array Length and Looping Through Arrays
26.5 Iterating Over an Array
26.6 Finding an Element in a List
26.7 Removing an Element From an Array
Standard
1.4 For Loops
1.10 Top Down Design
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
14.1 For Loops
14.2 While Loops
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
Standard
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
9.11 Intro to Lists/Arrays
9.12 Adding/Removing From an Array
9.13 Array Length and Looping Through Arrays
9.14 Iterating Over an Array
16.1 Indexing Into an Array
16.2 Finding an Element in a List
16.3 Removing an Element From an Array
Standard
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
9.11 Intro to Lists/Arrays
9.12 Adding/Removing From an Array
9.13 Array Length and Looping Through Arrays
9.14 Iterating Over an Array
16.1 Indexing Into an Array
16.2 Finding an Element in a List
16.3 Removing an Element From an Array
Standard
1.4 For Loops
1.10 Top Down Design
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
14.1 For Loops
14.2 While Loops
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
Standard
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
9.11 Intro to Lists/Arrays
9.12 Adding/Removing From an Array
9.13 Array Length and Looping Through Arrays
9.14 Iterating Over an Array
16.1 Indexing Into an Array
16.2 Finding an Element in a List
16.3 Removing an Element From an Array
Standard
1.4 For Loops
1.10 Top Down Design
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
14.1 For Loops
14.2 While Loops
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
Standard
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
9.11 Intro to Lists/Arrays
9.12 Adding/Removing From an Array
9.13 Array Length and Looping Through Arrays
9.14 Iterating Over an Array
16.1 Indexing Into an Array
16.2 Finding an Element in a List
16.3 Removing an Element From an Array
Standard
1.4 For Loops
1.10 Top Down Design
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
14.1 For Loops
14.2 While Loops
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
Standard
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
9.11 Intro to Lists/Arrays
9.12 Adding/Removing From an Array
9.13 Array Length and Looping Through Arrays
9.14 Iterating Over an Array
16.1 Indexing Into an Array
16.2 Finding an Element in a List
16.3 Removing an Element From an Array
Standard
1.4 For Loops
1.10 Top Down Design
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
14.1 For Loops
14.2 While Loops
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
Standard
3.4 For Loops
3.10 Top Down Design
3.17 If Statements
3.18 If/ Else Statements
3.19 While Loops
3.20 Putting Together Control Structures
Standard
1.4 For Loops
1.10 Top Down Design
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
14.1 For Loops
14.2 While Loops
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
Standard
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
9.11 Intro to Lists/Arrays
9.12 Adding/Removing From an Array
9.13 Array Length and Looping Through Arrays
9.14 Iterating Over an Array
16.1 Indexing Into an Array
16.2 Finding an Element in a List
16.3 Removing an Element From an Array
Standard
3.10 For Loops
3.11 If Statements
3.12 If/Else Statements
3.13 While Loops in Karel
3.14 Control Structures Example
18.3 Removing an Element From an Array
18.2 Finding an Element in a List
12.14 Iterating Over an Array
12.13 Array Length and Looping Through Arrays
12.12 Adding/Removing From an Array
18.1 Indexing Into an Array
12.11 Intro to Lists/Arrays
10.9 While Loops
10.7 For Loop Practice
10.6 General For Loops
10.5 For Loops in JavaScript
10.4 If Statements
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
7.4 If Statements
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
12.1 Intro to Lists/Arrays
12.2 Indexing Into an Array
12.3 Adding/Removing From an Array
12.4 Array Length and Looping Through Arrays
12.5 Iterating Over an Array
12.6 Finding an Element in a List
12.7 Removing an Element From an Array
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
7.4 If Statements
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
9.11 Intro to Lists/Arrays
9.12 Adding/Removing From an Array
9.13 Array Length and Looping Through Arrays
9.14 Iterating Over an Array
16.1 Indexing Into an Array
16.2 Finding an Element in a List
16.3 Removing an Element From an Array
Standard
5.1 Programming Concepts
Standard
2.10 For Loops
2.11 If Statements
2.12 If/Else Statements
2.13 While Loops in Karel
2.14 Control Structures Example
7.4 If Statements
7.5 For Loops in JavaScript
7.6 General For Loops
7.7 For Loop Practice
7.9 While Loops
9.11 Intro to Lists/Arrays
9.12 Adding/Removing From an Array
9.13 Array Length and Looping Through Arrays
9.14 Iterating Over an Array
16.1 Indexing Into an Array
16.2 Finding an Element in a List
16.3 Removing an Element From an Array
Standard
1.4 For Loops
1.10 Top Down Design
1.16 If Statements
1.17 If/ Else Statements
1.18 While Loops
1.19 Putting Together Control Structures
14.1 For Loops
14.2 While Loops
14.4 If/Else Statements
14.5 Functions
15.1 micro:bit Challenges
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
5.4 If Statements
5.5 For Loops in JavaScript
5.6 General For Loops
5.7 For Loop Practice
5.9 While Loops
12.1 Intro to Lists/Arrays
12.2 Indexing Into an Array
12.3 Adding/Removing From an Array
12.4 Array Length and Looping Through Arrays
12.5 Iterating Over an Array
12.6 Finding an Element in a List
12.7 Removing an Element From an Array
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
5.4 If Statements
5.5 For Loops in JavaScript
5.6 General For Loops
5.7 For Loop Practice
5.9 While Loops
21.1 Intro to Lists/Arrays
21.2 Indexing Into an Array
21.3 Adding/Removing From an Array
21.4 Array Length and Looping Through Arrays
21.5 Iterating Over an Array
21.6 Finding an Element in a List
21.7 Removing an Element From an Array
Standard
13.1 Array
14.1 ArrayList
Standard
12.1 Array
13.1 ArrayList