Please enable JavaScript to use CodeHS

TX CS 1: 127.762.c.4.i

CodeHS Lessons

Test program solutions with appropriate valid and invalid test data for correctness;

Standard
1.15 More Karel Examples and Testing
3.2 Variables
3.3 User Input
Standard
3.3 User Input
3.5 String Operators
5.3 Comparison Operators
5.4 Logical Operators
5.5 Floating Point Numbers and Rounding
7.1 While Loops
7.2 For Loops
7.3 Break and Continue
7.4 Nested Control Structures
9.1 Functions
9.2 Functions and Parameters
9.3 Namespaces in Functions
9.4 Functions and Return Values
9.5 Exceptions
10.1 Indexing
10.2 Slicing
10.4 Strings and For Loops
10.5 The in Keyword
10.6 String Methods
12.2 Lists
12.3 For Loops and Lists
12.4 List Methods
13.3 Packing and Unpacking
13.4 Dictionaries
24.13 User Input
24.14 Parameters
24.18 If Statements
24.19 If/Else Statements
24.20 While Loops
24.21 Putting Together Control Structures
Standard
33.1 Indexing
33.2 Slicing
33.4 Strings and For Loops
33.5 The in Keyword
33.6 String Methods
Standard
9.2 Variables
9.3 User Input
9.14 Functions and Parameters 1
9.16 Functions and Return Values 1
Standard
1.15 More Karel Examples and Testing
2.2 Variables
2.3 User Input
Standard
1.15 More Karel Examples and Testing
3.2 Variables
3.3 User Input
Standard
1.15 More Karel Examples and Testing
3.2 Variables
3.3 User Input
Standard
5.5 User Input
5.6 Parameters
7.1 If Statements
7.2 If/Else Statements
7.4 While Loops
8.1 Putting Together Control Structures
Standard
5.5 User Input
5.6 Parameters
7.1 If Statements
7.2 If/Else Statements
7.4 While Loops
8.1 Putting Together Control Structures
Standard
1.13 Control Structures Example
1.14 More Karel Examples and Testing
13.12 User Input
13.13 Parameters
13.16 If Statements
13.17 If/ Else Statements
13.18 While Loops
13.19 Putting Together Control Structures
Standard
2.13 Control Structures Example
2.14 More Karel Examples and Testing
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
Standard
2.13 Control Structures Example
2.14 More Karel Examples and Testing
3.2 Variables
3.3 User Input
6.12 User Input
6.13 Parameters
6.16 If Statements
6.17 If/ Else Statements
6.18 While Loops
6.19 Putting Together Control Structures
Standard
7.5 String Operators
7.8 Comparison Operators
7.9 Logical Operators
7.11 For Loops
7.12 Break and Continue
7.14 Functions
7.16 Namespaces in Functions
7.15 Functions and Parameters
7.17 Functions and Return Values
7.18 Exceptions
Standard
6.2 Lists
6.3 For Loops and Lists
6.4 List Methods
6.6 Dictionaries
Standard
1.13 Control Structures Example
1.14 More Karel Examples and Testing
Standard
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
2.5 String Operators
4.3 Comparison Operators
4.4 Logical Operators
4.5 Floating Point Numbers and Rounding
5.1 While Loops
5.2 For Loops
5.3 Break and Continue
5.4 Nested Control Structures
6.1 Functions
6.2 Functions and Parameters
6.3 Namespaces in Functions
6.4 Functions and Return Values
6.5 Exceptions
7.1 Loops
7.2 If/Else Statements
8.1 Indexing
8.2 Slicing
8.4 Strings and For Loops
8.5 The in Keyword
8.6 String Methods
9.2 Lists
9.3 For Loops and Lists
9.4 List Methods
10.3 Packing and Unpacking
10.4 Dictionaries
10.5 Equivalence vs. Identity
12.1 Arduino Challenges
Standard
1.14 More Karel Examples and Testing
3.2 Variables
3.3 User Input
8.1 Functions and Parameters 1
8.4 Functions and Return Values 1
10.1 Loops
10.2 If/Else Statements
14.1 Arduino Challenges
Standard
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.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.15 More Karel Examples and Testing
5.2 Variables
5.3 User Input
9.1 Functions and Parameters 1
9.4 Functions and Return Values 1
Standard
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.14 More Karel Examples and Testing
11.13 Control Structures Example
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
1.14 More Karel Examples and Testing
Standard
3.2 Methods and Parameters
3.7 Exceptions
4.2 Classes vs. Objects
4.10 Local Variables and Scope
4.12 Objects vs Primitives
Standard
1.14 More Karel Examples and Testing
3.2 Variables
3.3 User Input
7.1 Functions and Parameters 1
7.4 Functions and Return Values 1
Standard
1.14 More Karel Examples and Testing
3.2 Variables
3.3 User Input
7.1 Functions and Parameters 1
7.4 Functions and Return Values 1
Standard
1.14 More Karel Examples and Testing
3.2 Variables
3.3 User Input
7.1 Functions and Parameters 1
7.4 Functions and Return Values 1
Standard
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
Standard
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
3.5 String Operators
4.3 Comparison Operators
4.4 Logical Operators
4.5 Floating Point Numbers and Rounding
5.1 While Loops
5.2 For Loops
5.3 Break and Continue
5.4 Nested Control Structures
6.1 Functions
6.2 Functions and Parameters
6.3 Namespaces in Functions
6.4 Functions and Return Values
6.5 Exceptions
7.1 Indexing
7.2 Slicing
7.4 Strings and For Loops
7.5 The in Keyword
7.6 String Methods
8.2 Lists
8.3 For Loops and Lists
8.4 List Methods
9.3 Packing and Unpacking
9.4 Dictionaries
9.5 Equivalence vs. Identity
Standard
1.14 More Karel Examples and Testing
Standard
14.2 Variables
14.3 User Input
14.10 Functions and Parameters 1
14.12 Functions and Return Values 1
Standard
2.15 More Karel Examples and Testing
5.2 Variables
5.3 User Input
9.1 Functions and Parameters 1
9.4 Functions and Return Values 1
Standard
2.15 More Karel Examples and Testing
6.3 Variables
6.4 User Input
10.1 Functions and Parameters 1
10.4 Functions and Return Values 1
Standard
2.13 User Input
2.14 Parameters
2.18 If Statements
2.19 If/ Else Statements
2.20 While Loops
2.22 Putting Together Control Structures
5.3 User Input
5.5 String Operators
6.3 Comparison Operators
6.4 Logical Operators
6.5 Floating Point Numbers and Rounding
7.1 While Loops
7.2 For Loops
7.3 Break and Continue
7.4 Nested Control Structures
8.1 Functions
8.2 Functions and Parameters
8.3 Namespaces in Functions
8.4 Functions and Return Values
8.5 Exceptions
9.1 Indexing
9.2 Slicing
9.4 Strings and For Loops
9.5 The in Keyword
9.6 String Methods
10.2 Lists
10.3 For Loops and Lists
10.4 List Methods
11.3 Packing and Unpacking
11.4 Dictionaries
11.5 Equivalence vs. Identity
Standard
3.15 More Karel Examples and Testing
6.2 Variables
6.3 User Input
10.1 Functions and Parameters 1
10.4 Functions and Return Values 1
Standard
2.15 More Karel Examples and Testing
5.2 Variables
5.3 User Input
9.1 Functions and Parameters 1
9.4 Functions and Return Values 1
Standard
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.14 More Karel Examples and Testing
11.13 Control Structures Example
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
2.15 More Karel Examples and Testing
5.2 Variables
5.3 User Input
9.1 Functions and Parameters 1
9.4 Functions and Return Values 1
Standard
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.14 More Karel Examples and Testing
11.13 Control Structures Example
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
2.15 More Karel Examples and Testing
6.2 Variables
6.3 User Input
11.1 Functions and Parameters 1
11.4 Functions and Return Values 1
Standard
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
Standard
2.15 More Karel Examples and Testing
10.3 Variables
10.4 User Input
Standard
2.15 More Karel Examples and Testing
5.2 Variables
5.3 User Input
17.1 Functions and Parameters 1
17.4 Functions and Return Values 1
Standard
3.4 User Input
3.6 String Operators
4.3 Comparison Operators
4.4 Logical Operators
4.5 Floating Point Numbers and Rounding
5.1 While Loops
5.2 For Loops
5.3 Break and Continue
5.4 Nested Control Structures
6.1 Functions
6.2 Functions and Parameters
6.3 Namespaces in Functions
6.4 Functions and Return Values
6.5 Exceptions
8.1 Indexing
8.2 Slicing
8.4 Strings and For Loops
8.5 The in Keyword
8.6 String Methods
9.2 Lists
9.3 For Loops and Lists
9.4 List Methods
12.2 Packing and Unpacking
12.3 Dictionaries
18.12 User Input
12.4 Equivalence vs. Identity
18.19 Putting Together Control Structures
18.18 While Loops
18.17 If/ Else Statements
18.16 If Statements
18.13 Parameters
Standard
2.15 More Karel Examples and Testing
5.2 Variables
5.3 User Input
9.1 Functions and Parameters 1
9.4 Functions and Return Values 1
Standard
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.14 More Karel Examples and Testing
6.13 Control Structures Example
9.2 While Loops
9.4 If/Else Statements
10.1 micro:bit Challenges
Standard
1.15 More Karel Examples and Testing
2.2 Variables
2.3 User Input
Standard
1.14 More Karel Examples and Testing
8.3 Variables
8.4 User Input
12.1 Functions and Parameters 1
12.4 Functions and Return Values 1
Standard
1.14 More Karel Examples and Testing
8.3 Variables
8.4 User Input
12.1 Functions and Parameters 1
12.4 Functions and Return Values 1
Standard
4.4 User Input
4.6 String Operators
5.1 Functions
5.2 Functions and Parameters
5.3 Namespaces in Functions
5.4 Functions and Return Values
6.2 Lists
6.3 For Loops and Lists
6.4 List Methods
6.6 Dictionaries
Standard
1.14 More Karel Examples and Testing
4.2 Variables
4.3 User Input
8.1 Functions and Parameters 1
8.4 Functions and Return Values 1
Standard
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.14 More Karel Examples and Testing
11.13 Control Structures Example
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
2.15 More Karel Examples and Testing
5.2 Variables
5.3 User Input
9.1 Functions and Parameters 1
9.4 Functions and Return Values 1
Standard
2.15 More Karel Examples and Testing
5.2 Variables
5.3 User Input
9.1 Functions and Parameters 1
9.4 Functions and Return Values 1
Standard
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.14 More Karel Examples and Testing
11.13 Control Structures Example
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
2.15 More Karel Examples and Testing
5.2 Variables
5.3 User Input
9.1 Functions and Parameters 1
9.4 Functions and Return Values 1
Standard
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.14 More Karel Examples and Testing
11.13 Control Structures Example
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
6.11 User Input
6.12 Parameters
6.13 If Statements
6.14 If/ Else Statements
6.15 While Loops
8.2 Variables
8.3 User Input
7.3 User Input
7.5 String Operators
7.8 Comparison Operators
7.9 Logical Operators
7.10 Floating Point Numbers and Rounding
7.11 While Loops
7.12 For Loops
7.13 Functions
Standard
2.15 More Karel Examples and Testing
5.2 Variables
5.3 User Input
9.1 Functions and Parameters 1
9.4 Functions and Return Values 1
Standard
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.14 More Karel Examples and Testing
11.13 Control Structures Example
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
2.2 Variables
2.3 User Input
Standard
2.2 Variables
2.3 User Input
Standard
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
14.14 More Karel Examples and Testing
14.13 Control Structures Example
6.2 While Loops
6.4 If/Else Statements
7.1 micro:bit Challenges
Standard
2.15 More Karel Examples and Testing
5.2 Variables
5.3 User Input
9.1 Functions and Parameters 1
9.4 Functions and Return Values 1
Standard
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.14 More Karel Examples and Testing
11.13 Control Structures Example
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
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
8.13 Control Structures Example
8.14 More Karel Examples and Testing
Standard
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
Standard
5.2 Methods and Parameters
5.7 Exceptions
6.2 Classes vs. Objects
6.10 Local Variables and Scope
6.12 Objects vs Primitives
Standard
2.16 More Karel Examples and Testing
3.2 Variables
3.3 User Input
Standard
2.15 More Karel Examples and Testing
4.2 Variables
4.3 User Input
11.5 While Loops
Standard
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.14 More Karel Examples and Testing
11.13 Control Structures Example
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
2.15 More Karel Examples and Testing
5.2 Variables
5.3 User Input
9.1 Functions and Parameters 1
9.4 Functions and Return Values 1
Standard
18.1 Indexing
18.2 Slicing
18.4 Strings and For Loops
18.5 The in Keyword
18.6 String Methods
Standard
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
12.14 More Karel Examples and Testing
12.13 Control Structures Example
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
4.3 User Input
4.5 String Operators
6.3 Comparison Operators
6.4 Logical Operators
6.5 Floating Point Numbers and Rounding
7.1 While Loops
7.2 For Loops
7.3 Break and Continue
7.4 Nested Control Structures
8.1 Functions
8.2 Functions and Parameters
8.3 Namespaces in Functions
8.4 Functions and Return Values
8.5 Exceptions
16.13 User Input
16.14 Parameters
16.18 If Statements
16.19 If/Else Statements
16.20 While Loops
16.21 Putting Together Control Structures
Standard
15.1 Indexing
15.2 Slicing
15.4 Strings and For Loops
15.5 The in Keyword
15.6 String Methods
Standard
4.3 User Input
4.5 String Operators
6.3 Comparison Operators
6.4 Logical Operators
6.5 Floating Point Numbers and Rounding
7.1 While Loops
7.2 For Loops
7.3 Break and Continue
7.4 Nested Control Structures
8.1 Functions
8.2 Functions and Parameters
8.3 Namespaces in Functions
8.4 Functions and Return Values
8.5 Exceptions
16.13 User Input
16.14 Parameters
16.18 If Statements
16.19 If/Else Statements
16.20 While Loops
16.21 Putting Together Control Structures
Standard
15.1 Indexing
15.2 Slicing
15.4 Strings and For Loops
15.5 The in Keyword
15.6 String Methods
Standard
3.15 More Karel Examples and Testing
6.2 Variables
6.3 User Input
24.1 Functions and Parameters 1
24.1 Functions and Parameters 1
24.4 Functions and Return Values 1
24.4 Functions and Return Values 1
Standard
1.14 More Karel Examples and Testing
Standard
4.15 More Karel Examples and Testing
5.2 Variables
5.3 User Input
7.1 Functions and Parameters 1
7.4 Functions and Return Values 1
Standard
2.16 More Karel Examples and Testing
5.2 Variables
5.3 User Input
Standard
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
Standard
2.14 More Karel Examples and Testing
5.2 Variables
5.3 User Input
9.1 Functions and Parameters 1
9.4 Functions and Return Values 1
Standard
2.15 More Karel Examples and Testing
5.2 Variables
5.3 User Input
9.1 Functions and Parameters 1
9.4 Functions and Return Values 1
Standard
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.14 More Karel Examples and Testing
11.13 Control Structures Example
14.2 While Loops
14.4 If/Else Statements
15.1 micro:bit Challenges
Standard
12.2 Classes vs. Objects
12.10 Local Variables and Scope
12.12 Objects vs Primitives
Standard
18.2 Classes vs. Objects
18.10 Local Variables and Scope
18.12 Objects vs Primitives
Standard
13.2 Variables
13.3 User Input
13.14 Functions and Parameters 1
13.16 Functions and Return Values 1
Standard
3.6 While Loops
7.2 If/Else Statements
8.1 micro:bit Challenges
Standard
2.3 User Input
2.5 String Operators
4.3 Comparison Operators
4.4 Logical Operators
4.5 Floating Point Numbers and Rounding
6.1 While Loops
6.2 For Loops
6.3 Break and Continue
6.4 Nested Control Structures
Standard
1.1 Functions
1.2 Functions and Parameters
1.3 Namespaces in Functions
1.4 Functions and Return Values
1.5 Exceptions
2.1 Indexing
2.2 Slicing
2.4 Strings and For Loops
2.5 The in Keyword
2.6 String Methods
4.2 Lists
4.3 For Loops and Lists
4.4 List Methods
5.3 Packing and Unpacking
5.4 Dictionaries
Standard
5.5 User Input
5.6 Parameters
7.1 If Statements
7.2 If/Else Statements
7.4 While Loops
8.1 Putting Together Control Structures
Standard
5.5 User Input
5.6 Parameters
7.1 If Statements
7.2 If/Else Statements
7.4 While Loops
8.1 Putting Together Control Structures
Standard
2.3 User Input
2.5 String Operators
4.3 Comparison Operators
4.4 Logical Operators
4.5 Floating Point Numbers and Rounding
6.1 While Loops
6.2 For Loops
6.3 Break and Continue
6.4 Nested Control Structures
9.1 Functions
9.2 Functions and Parameters
9.3 Namespaces in Functions
9.4 Functions and Return Values
9.5 Exceptions
10.1 Indexing
10.2 Slicing
10.4 Strings and For Loops
10.5 The in Keyword
10.6 String Methods
12.2 Lists
12.3 For Loops and Lists
12.4 List Methods
13.3 Packing and Unpacking
13.4 Dictionaries
Standard
2.3 User Input
2.5 String Operators
4.3 Comparison Operators
4.4 Logical Operators
4.5 Floating Point Numbers and Rounding
6.1 While Loops
6.2 For Loops
6.3 Break and Continue
6.4 Nested Control Structures
11.13 User Input
11.14 Parameters
11.18 If Statements
11.19 If/Else Statements
11.20 While Loops
11.21 Putting Together Control Structures
Standard
1.1 Functions
1.2 Functions and Parameters
1.3 Namespaces in Functions
1.4 Functions and Return Values
1.5 Exceptions
2.1 Indexing
2.2 Slicing
2.4 Strings and For Loops
2.5 The in Keyword
2.6 String Methods
4.2 Lists
4.3 For Loops and Lists
4.4 List Methods
5.3 Packing and Unpacking
5.4 Dictionaries
Standard
8.2 Variables
8.3 User Input
8.14 Functions and Parameters 1
8.16 Functions and Return Values 1
Standard
12.2 Variables
12.3 User Input
12.14 Functions and Parameters 1
12.16 Functions and Return Values 1
Standard
5.2 Methods and Parameters
5.7 Exceptions
6.2 Classes vs. Objects
6.10 Local Variables and Scope
6.12 Objects vs Primitives
Standard
5.2 Variables
5.3 User Input
9.1 Functions and Parameters 1
9.4 Functions and Return Values 1