Please enable JavaScript to use CodeHS

Outline


1. Karel in Python
1.1 Introduction to Programming With Karel
Video 1.1.1 Introduction to Programming With Karel
Check for Understanding 1.1.2 Quiz: Karel Commands
Example 1.1.3 Our First Karel Program
Exercise 1.1.4 Your First Karel Program
Exercise 1.1.5 Short Stack
Debugging 1.1.6 Dancing Karel
1.2 More Basic Karel
Video 1.2.1 More Basic Karel
Check for Understanding 1.2.2 More Basic Karel Quiz
Example 1.2.3 Tennis Ball Square
Exercise 1.2.4 Make a Tower
Exercise 1.2.5 Pyramid of Karel
Debugging 1.2.6 Go Through the Door
1.3 Karel Can't Turn Right
Video 1.3.1 Karel Can't Turn Right
Check for Understanding 1.3.2 Karel Can't Turn Right Quiz
Example 1.3.3 Tower and Turn Right
Exercise 1.3.4 Fireman Karel
Exercise 1.3.5 Slide Karel
Free Response 1.3.6 Reflection: Teaching Karel New Commands
Badge 1.3.7 Right Turn Karel Badge
1.4 Functions in Karel
Video 1.4.1 Functions in Karel
Check for Understanding 1.4.2 Functions in Karel Quiz
Example 1.4.3 Turn Around
Exercise 1.4.4 Pancakes
Exercise 1.4.5 Backflip
Exercise 1.4.6 Digging Karel
Debugging 1.4.7 Build a Shelter
1.5 Top Down Design and Decomposition in Karel
Video 1.5.1 Top Down Design and Decomposition in Karel
Check for Understanding 1.5.2 Top Down Design and Decomposition Quiz
Example 1.5.3 Hurdle Karel
Exercise 1.5.4 The Two Towers
Debugging 1.5.5 Make a 'Z'
Free Response 1.5.6 Reflection: Top Down Design
1.6 Commenting Your Code
Video 1.6.1 Commenting Your Code
Check for Understanding 1.6.2 Commenting Your Code Quiz
Example 1.6.3 Hurdle Karel
Exercise 1.6.4 The Two Towers + Comments
Free Response 1.6.5 Reflection: Commenting
1.7 Abstraction
Video 1.7.1 Abstraction
Check for Understanding 1.7.2 Abstraction Quiz
Example 1.7.3 Abstracting Away build_tower
Free Response 1.7.4 Abstracting Your Day
Free Response 1.7.5 Reflection: Abstraction
Free Response 1.7.6 Reflection: Abstraction in Karel
1.8 Super Karel
Video 1.8.1 Super Karel
Quiz 1.8.2 Super Karel Quiz
Example 1.8.3 Hurdle Karel (with SuperKarel)
Exercise 1.8.4 The Two Towers + SuperKarel
Badge 1.8.5 Super Karel Badge
1.9 For Loops
Video 1.9.1 For Loops
Check for Understanding 1.9.2 For Loops Quiz
Example 1.9.3 Repeated Move
Example 1.9.4 Put Down Tennis Balls
Exercise 1.9.5 Take 'em All
Exercise 1.9.6 Dizzy Karel
Exercise 1.9.7 For Loop Square
Exercise 1.9.8 Lots of Hurdles
1.10 If Statements
Video 1.10.1 If Statements
Check for Understanding 1.10.2 If Statements Quiz
Example 1.10.3 If Statements
Example 1.10.4 Safe Take Ball
Exercise 1.10.5 Is There a Ball?
Survey 1.10.6 Mindsets
1.11 If/Else Statements
Video 1.11.1 If/Else Statements
Check for Understanding 1.11.2 If/Else Statements Quiz
Example 1.11.3 If/Else Statements
Example 1.11.4 One Ball in Each Spot
Exercise 1.11.5 Right Side Up
Badge 1.11.6 Conditional Karel Badge
1.12 While Loops in Karel
Video 1.12.1 While Loops in Karel
Check for Understanding 1.12.2 While Loops in Karel Quiz
Example 1.12.3 Move to Wall
Exercise 1.12.4 Follow The Yellow Ball Road
Exercise 1.12.5 Lay Row of Tennis Balls
Exercise 1.12.6 Big Tower
1.13 Control Structures Example
Video 1.13.1 Control Structures Example
Check for Understanding 1.13.2 Control Structures Example Quiz
Example 1.13.3 Cleanup Karel
Exercise 1.13.4 Random Hurdles
1.14 Debugging Strategies
Video 1.14.1 Debugging Basics
Check for Understanding 1.14.2 Debugging Basics
Debugging 1.14.3 Debug: The Two Towers
Debugging 1.14.4 Debug: Lots of Hurdles
Video 1.14.5 Debugging From Error Messages
Check for Understanding 1.14.6 Debugging with Error Messages
Debugging 1.14.7 Debug: Big Tower
Debugging 1.14.8 Debug: Random Hurdles
1.15 Algorithms
Video 1.15.1 Karel Algorithms
Check for Understanding 1.15.2 Quiz: Which Control Structure?
Video 1.15.3 Algorithms Example: Move Stack
Example 1.15.4 Move Tennis Ball Stack
Example 1.15.5 Climbing Karel
Exercise 1.15.6 Decorate the Fence
1.16 Ultra Karel
Video 1.16.1 Ultra Karel
Check for Understanding 1.16.2 Ultra Karel Quiz
Example 1.16.3 Red Frame
Example 1.16.4 Slip 'n Slide
Exercise 1.16.5 Invert Colors
Exercise 1.16.6 Checkerboard Karel
Badge 1.16.7 Karel Exercises Badge
1.17 Karel Challenges
Challenge 1.17.1 Fetch
Challenge 1.17.2 Racing Karel
Challenge 1.17.3 Tower Builder
Challenge 1.17.4 Super Cleanup Karel
Challenge 1.17.5 Double Tennis Balls
Badge 1.17.6 Programming with Karel Bootcamp Badge
1.18 Introduction to Programming Quiz
Unit Quiz 1.18.1 Introduction to Programming Quiz
2. Basic Python and Console Interaction
2.1 Printing in Python
Video 2.1.1 Printing in Python
Check for Understanding 2.1.2 Printing in Python
Example 2.1.3 Hello, world!
Example 2.1.4 Printing Multiple Lines
Exercise 2.1.5 Introduce Yourself
Debugging 2.1.6 Fix This Program!
Exercise 2.1.7 Vertical name
2.2 Variables and Types
Video 2.2.1 Variables and Types
HTML Notes 2.2.2 Constants and Data Types
Example 2.2.3 Variables in Action
Example 2.2.4 Variable Types
Example 2.2.5 Variable Naming
HTML Notes 2.2.6 Naming Conventions
Exercise 2.2.7 Make Some Variables!
Debugging 2.2.8 Undefined Variables
HTML Notes 2.2.9 Scope: Local and Global Variables
Exercise 2.2.10 Variable Scope Exploration
Quiz 2.2.11 Variables and Types Quiz
2.3 User Input
HTML Notes 2.3.1 Input vs. Output
Video 2.3.2 User Input
Quiz 2.3.3 User Input Quiz
Example 2.3.4 Basic User Input
Example 2.3.5 Type Conversion
Example 2.3.6 Type Conversion, Part 2
Example 2.3.7 Built In Functions
Exercise 2.3.8 Hello <name>
Exercise 2.3.9 Age
2.4 Mathematical Operators
Video 2.4.1 Mathematical Operators
Check for Understanding 2.4.2 Mathematical Operators
Example 2.4.3 Operators and Integers
Example 2.4.4 Operator Precedence
Exercise 2.4.5 Add Parentheses
Example 2.4.6 Division in Python
Example 2.4.7 Operators and Floats
Exercise 2.4.8 Rectangle
2.5 String Operators
Video 2.5.1 String Operators
Check for Understanding 2.5.2 String Operators
Example 2.5.3 Operators and Strings
Debugging 2.5.4 Fix This Program
Example 2.5.5 Team Sizes
Exercise 2.5.6 Introduce Yourself, Part 2
Exercise 2.5.7 Rectangle, Part 2
Exercise 2.5.8 Rectangle, Part 3
Example 2.5.9 Formatting Currency
Challenge 2.5.10 Recipe
2.6 Comments
Video 2.6.1 Comments
Check for Understanding 2.6.2 Comments
Example 2.6.3 Commented Program
Example 2.6.4 Trapezoid
Exercise 2.6.5 Add Comments!
2.7 Programming Languages
Video 2.7.1 Programming Languages
Example 2.7.2 Dynamically Typed Languages
Example 2.7.3 Statically Typed Languages
Free Response 2.7.4 Dynamically Typed vs. Statically Typed Languages
Video 2.7.5 Compiled Languages
Video 2.7.6 Interpreted Languages
Free Response 2.7.7 Compiled vs. Interpreted Languages
Video 2.7.8 How Do Computers Read Code
HTML Notes 2.7.9 A Broader Look at Programming Languages
Quiz 2.7.10 Programming Languages Quiz
2.8 Basic Python and Console Interaction Quiz
Unit Quiz 2.8.1 Basic Python and Console Interaction Quiz
Badge 2.8.2 Basic Python and Console Interaction Badge
3. Project: Mad Libs
3.1 Project: Mad Libs
Exercise 3.1.1 Project: Mad Libs
4. Conditionals
4.1 Booleans
Video 4.1.1 Booleans
Check for Understanding 4.1.2 Booleans
Example 4.1.3 Boolean Variables
Debugging 4.1.4 Fix This Program
Exercise 4.1.5 Plants
4.2 If Statements
Video 4.2.1 If Statements
Check for Understanding 4.2.2 If Statements
Example 4.2.3 Your First If Statement
Example 4.2.4 If/Else Statement
Debugging 4.2.5 Fix This Program
Exercise 4.2.6 Is It Raining?
Badge 4.2.7 Conditional Badge
4.3 Comparison Operators
Video 4.3.1 Comparison Operators
Check for Understanding 4.3.2 Comparison Operators
Example 4.3.3 Comparison Operators
Example 4.3.4 High Jump
Example 4.3.5 Roller Coaster
Exercise 4.3.6 Old Enough to Vote?
Exercise 4.3.7 Positive, Zero, or Negative?
Example 4.3.8 Age Group
Exercise 4.3.9 Table Reservation
Challenge 4.3.10 Transaction
4.4 Logical Operators
Video 4.4.1 Logical Operators
HTML Notes 4.4.2 Truth Tables
Quiz 4.4.3 Logical Operators Quiz
Example 4.4.4 Logical Operators
Exercise 4.4.5 Administrators, Teachers, and Students
Exercise 4.4.6 Presidential Eligibility
Exercise 4.4.7 Network Access
Challenge 4.4.8 Presidential Eligibility- Extended
4.5 Floating Point Numbers and Rounding
Video 4.5.1 Floating Point Numbers and Rounding
Check for Understanding 4.5.2 Floating Point Numbers and Rounding
Example 4.5.3 Rounding Error
Exercise 4.5.4 Correct Portion
Example 4.5.5 Rounding Currency
4.6 Conditionals Quiz
Unit Quiz 4.6.1 Conditionals Quiz
5. Project: Quiz Game
5.1 Project: Quiz Game
Exercise 5.1.1 Project: Quiz Game
6. Looping
6.1 While Loops
Video 6.1.1 While Loops
Check for Understanding 6.1.2 While Loops
Example 6.1.3 Guess My Number
Example 6.1.4 Program Tracing
Example 6.1.5 Program Tracing, Part 2
Exercise 6.1.6 2 Through 20 Even
Exercise 6.1.7 Divisibility
6.2 For Loops
Video 6.2.1 For Loops
Check for Understanding 6.2.2 For Loops
Example 6.2.3 Print 10 Numbers
Example 6.2.4 1 Through 10, Part 2
Exercise 6.2.5 Counting 10 to 100 by Tens
Example 6.2.6 Running Total
Example 6.2.7 Running Total, Part 2
Exercise 6.2.8 Average Test Score
Exercise 6.2.9 How Many Names?
Badge 6.2.10 Loops Badge
Survey 6.2.11 Mindset Survey 2
6.3 Break and Continue
Video 6.3.1 Break and Continue
Check for Understanding 6.3.2 Break and Continue
Example 6.3.3 Break
Example 6.3.4 Continue
Example 6.3.5 Bike Frame Size
Example 6.3.6 Loop and a Half
Exercise 6.3.7 Higher/ Lower
Challenge 6.3.8 Higher / Lower 2.0
6.4 Nested Control Structures
Video 6.4.1 Nested Control Structures
Check for Understanding 6.4.2 Nested Control Structures
Example 6.4.3 Double For Loop
Example 6.4.4 Average Test Score, Part 2
Example 6.4.5 For Loop + While Loop
Exercise 6.4.6 Rolling Dice
Exercise 6.4.7 Categories
6.5 Looping Quiz
Unit Quiz 6.5.1 Looping Unit Test
7. Project: Password Authenticator
7.1 Project: Password Authenticator
Exercise 7.1.1 Project: Password Authenticator
8. Roles in a Software Development Team
8.1 Software Engineer
Connection 8.1.1 A Day as a Software Developer
Video 8.1.2 Development Life Cycle
HTML Notes 8.1.3 Team Roles, Release, and Maintenance
Quiz 8.1.4 Development Life Cycle Quiz
Video 8.1.5 A Day in the Life of a Software Engineer at Meta
Connection 8.1.6 Scrum Framework
Free Response 8.1.7 SCRUM Response
Connection 8.1.8 Using Flowcharts
Notes 8.1.9 Project: Software Development
Resource 8.1.10 Creating a Plan
8.2 QA Engineer
Connection 8.2.1 A Day as a QA Engineer
Connection 8.2.2 Define Acceptance Criteria
Connection 8.2.3 Outline Test Cases
Connection 8.2.4 Report Bugs
Connection 8.2.5 Part 1: Bug Hunt
Free Response 8.2.6 Part 2: Report the Bug
8.3 Designer
Connection 8.3.1 A Day as a Designer
Connection 8.3.2 Create Wireframes
Connection 8.3.3 Research Typography
Connection 8.3.4 Choose Colors
Connection 8.3.5 Create a Color Palette
Connection 8.3.6 Check Accessibility
Presentation 8.3.7 Design a Mood Board
8.4 Project Manager
Connection 8.4.1 A Day as a Project Manager
Connection 8.4.2 Plan Project
Connection 8.4.3 Organize Tasks
Connection 8.4.4 Set Deadlines
None 8.4.5 Create a Task Board
8.5 Software Reliability and Automation's Impact
HTML Notes 8.5.1 Why Reliable Software Is an Ethical Responsibility
Free Response 8.5.2 Reliable Software Ethics Reflection
Connection 8.5.3 The Big Question Article
Free Response 8.5.4 Workplace Automation Reflection
9. Functions and Exceptions
9.1 Functions
Video 9.1.1 Functions
HTML Notes 9.1.2 Documenting Your Functions
Check for Understanding 9.1.3 Functions
Example 9.1.4 Greeting
Example 9.1.5 Extended Greeting
Exercise 9.1.6 Weather
9.2 Functions and Parameters
Video 9.2.1 Functions and Parameters
Check for Understanding 9.2.2 Functions and Parameters
Example 9.2.3 Print a Value
Example 9.2.4 Name and Age
Exercise 9.2.5 Print Product
Exercise 9.2.6 Print Multiple Times
Example 9.2.7 Default Parameter Values
Exercise 9.2.8 Area of a Square with Default Parameters
9.3 Namespaces in Functions
Video 9.3.1 Namespaces in Functions
Check for Understanding 9.3.2 Namespaces in Functions
Example 9.3.3 Functions and Variables
Example 9.3.4 Functions and Variables, Part 2
Debugging 9.3.5 Fix This Program!
Exercise 9.3.6 Adding to a Value
Exercise 9.3.7 Add, Subtract, or Multiply
Exercise 9.3.8 Fix the Scorekeeper
9.4 Functions and Return Values
Video 9.4.1 Functions and Return Values
Check for Understanding 9.4.2 Functions and Return Values
Example 9.4.3 Return 10
Exercise 9.4.4 Add One
Example 9.4.5 Negate
Example 9.4.6 Functions Calling Functions
Example 9.4.7 Function Calls As Parameters
Exercise 9.4.8 Sum Two Numbers
Exercise 9.4.9 Temperature Converter
Badge 9.4.10 Functions Badge
9.5 Exceptions
Video 9.5.1 Exceptions
Check for Understanding 9.5.2 Exceptions
Example 9.5.3 Enter a Number
Example 9.5.4 Enter Name and Age
Exercise 9.5.5 Temperature Converter, Part 2
Exercise 9.5.6 Enter a Positive Number
9.6 Functions Quiz
Unit Quiz 9.6.1 Functions and Exceptions Quiz
Badge 9.6.2 Control Flow Badge
10. Strings
10.1 Indexing
Video 10.1.1 Indexing
Check for Understanding 10.1.2 Indexing
Example 10.1.3 Characters in a String
Video 10.1.4 Unit Tests
Practice 10.1.5 Initials
Practice 10.1.6 Sandwich Sandwiches
10.2 Slicing
Video 10.2.1 Slicing
Check for Understanding 10.2.2 Slicing
Example 10.2.3 Groups of Characters
Example 10.2.4 String Collage
Example 10.2.5 Room Names
Practice 10.2.6 If You're Not First, You're Last
Practice 10.2.7 Part 1, Replace a Letter
Practice 10.2.8 Part 2, Replace a Letter
Badge 10.2.9 Slicing Badge
10.3 Immutability
Video 10.3.1 Immutability
Check for Understanding 10.3.2 Immutability
Example 10.3.3 String Immutability
Exercise 10.3.4 Find the Error
10.4 Strings and For Loops
Video 10.4.1 Strings and For Loops
Check for Understanding 10.4.2 Strings and For Loops
Example 10.4.3 The len Function
Practice 10.4.4 Length of User's Name
Example 10.4.5 String For Loop with Indices
Example 10.4.6 String For Loop with Characters
Exercise 10.4.7 Spelling Bee
Practice 10.4.8 Keeping Count
10.5 The in Keyword
Video 10.5.1 The in Keyword
Check for Understanding 10.5.2 The in Keyword
Example 10.5.3 Contains a Letter
Example 10.5.4 Contains a Substring
Practice 10.5.5 Contains a Vowel
10.6 String Methods
Video 10.6.1 String Methods
Check for Understanding 10.6.2 String Methods
Example 10.6.3 upper and lower
Practice 10.6.4 ENTHUSIASM!
Example 10.6.5 swapcase
Example 10.6.6 strip
Example 10.6.7 find
Practice 10.6.8 What's in a Name?
Practice 10.6.9 Part 1, Remove All From String
Exercise 10.6.10 Part 2, Remove All From String
Survey 10.6.11 Mindset Survey 3
10.7 Strings Quiz
Unit Quiz 10.7.1 Strings Quiz
Badge 10.7.2 Strings Badge
11. Project: The Game of Pig
11.1 Project: The Game of Pig
Free Response 11.1.1 The Game of Pig
Exercise 11.1.2 Build the Basic Program
Exercise 11.1.3 Adding a Computer Opponent
12. Creating and Altering Data Structures
12.1 Tuples
Video 12.1.1 Tuples
Check for Understanding 12.1.2 Tuples
Example 12.1.3 A Tuple Is a Sequence
Example 12.1.4 A Tuple is Heterogeneous
Example 12.1.5 Tuples With a Single Element
Example 12.1.6 Concatenating Tuples
Exercise 12.1.7 Fix This Tuple
Practice 12.1.8 Citation
Practice 12.1.9 Diving Contest
Practice 12.1.10 Coordinate Pairs
12.2 Lists
Video 12.2.1 Lists
Check for Understanding 12.2.2 Lists
Example 12.2.3 A List Is Like a Mutable Tuple
Example 12.2.4 String <--> List
Practice 12.2.5 Spell It Out
Example 12.2.6 Splitting a String
Practice 12.2.7 Listed Greeting
Example 12.2.8 List of Tuples, Tuples of Lists
12.3 For Loops and Lists
Video 12.3.1 For Loops and Lists
Check for Understanding 12.3.2 For Loops and Lists
Example 12.3.3 For Loops and Lists
Example 12.3.4 For Loops and Lists, Part 2
Practice 12.3.5 Max In List
Practice 12.3.6 Owls
Practice 12.3.7 Exclamat!on Po!nts
Challenge 12.3.8 Word Ladder
Challenge 12.3.9 Owls, Part 2
12.4 List Methods
Video 12.4.1 List Methods
Check for Understanding 12.4.2 List Methods
Example 12.4.3 append and extend
Exercise 12.4.4 How Many Names?
Exercise 12.4.5 Five Numbers
Example 12.4.6 sort
Exercise 12.4.7 Librarian
Example 12.4.8 reverse
Example 12.4.9 count
Example 12.4.10 remove
Practice 12.4.11 Take a Thing Out, Sort It and Reverse It
Challenge 12.4.12 Librarian, Part 2
Badge 12.4.13 Lists Badge
12.5 Creating and Altering Data Structures Quiz
Unit Quiz 12.5.1 Creating and Altering Data Structures Quiz
13. Extending Data Structures
13.1 2d Lists
Video 13.1.1 2d Lists
Check for Understanding 13.1.2 2d Lists
Example 13.1.3 A List of Lists
Example 13.1.4 Grid
Example 13.1.5 2d Lists and Slices
Exercise 13.1.6 Checkerboard, v1
Exercise 13.1.7 Checkerboard, v2
Exercise 13.1.8 Checkerboard, v3
Challenge 13.1.9 Tic Tac Toe
13.2 List Comprehensions
Video 13.2.1 List Comprehensions
Check for Understanding 13.2.2 List Comprehensions
Example 13.2.3 List of Consecutive Numbers
Example 13.2.4 List of Squares
Exercise 13.2.5 Divisible by 3
Example 13.2.6 Digits of Pi
Example 13.2.7 List of Booleans
Exercise 13.2.8 Last Names
Exercise 13.2.9 Strings To Integers
Survey 13.2.10 Mindset Survey 4
13.3 Packing and Unpacking
Video 13.3.1 Packing and Unpacking
Check for Understanding 13.3.2 Packing and Unpacking
Example 13.3.3 Packing
Example 13.3.4 Unpacking
Example 13.3.5 Unpacking Parameters
Exercise 13.3.6 Coordinate Pair
Exercise 13.3.7 Slopes
Example 13.3.8 Swapping
Exercise 13.3.9 Full Name & Citation
Badge 13.3.10 Packing Badge
13.4 Dictionaries
Video 13.4.1 Dictionaries
Check for Understanding 13.4.2 Dictionaries
Example 13.4.3 Keys and Values
Example 13.4.4 The in Keyword
Exercise 13.4.5 Phone Book
Exercise 13.4.6 Word Counts
13.5 Extending Data Structures Quiz
Unit Quiz 13.5.1 Extending Data Structures Quiz
Badge 13.5.2 Data Structures Badge
14. Project: Guess the Word
14.1 Project: Guess the Word
Demo 14.1.1 Guess the Word Demo
HTML Notes 14.1.2 Building As A Team
Free Response 14.1.3 Team Charter
Free Response 14.1.4 Team Development Log
Exercise 14.1.5 Guess the Word, Part 1
Exercise 14.1.6 Guess the Word, Part 2
Exercise 14.1.7 Guess the Word, Part 3
Exercise 14.1.8 Guess the Word, Part 4
Free Response 14.1.9 Team Project Submission
Free Response 14.1.10 Present Your Project
Free Response 14.1.11 Peer Evaluation
15. File I/O
15.1 What is File I/O
Video 15.1.1 What is File I/O
Quiz 15.1.2 What is File I/O
Example 15.1.3 What is a TXT File?
Example 15.1.4 What is a CSV File?
Free Response 15.1.5 Choosing a File Format: TXT vs. CSV
Example 15.1.6 File I/O in Data Science
Example 15.1.7 File I/O in Image Processing
Free Response 15.1.8 File I/O and Social Media
15.2 Reading Character from File
Video 15.2.1 Reading Character from File
Video 15.2.2 Reading Characters from File: Example Walkthrough
Quiz 15.2.3 Reading Characters from File
Example 15.2.4 Read Specific Characters
Example 15.2.5 Read All Characters
Debugging 15.2.6 Fix This: Reading Characters
Debugging 15.2.7 Fix This: Unable to Read
Exercise 15.2.8 Validating Tweet Length
15.3 Reading Line from File
Video 15.3.1 Reading Line From File
Video 15.3.2 Reading Line from File: Example Walkthrough
Quiz 15.3.3 Read Line from File
Example 15.3.4 Reading and Printing Lines
Exercise 15.3.5 Counting Lines in a File
Exercise 15.3.6 Summing Numbers from File
Exercise 15.3.7 Formatting Movie Titles
15.4 Reading All Lines from File
Video 15.4.1 Reading All Lines from File
Video 15.4.2 Reading All Lines from File: Example Walkthrough
Check for Understanding 15.4.3 Reading All Lines from File
Example 15.4.4 Using readlines()
Exercise 15.4.5 Finding the Needle in the Haystack
Exercise 15.4.6 Extract Quotes from a Text File
15.5 Writing to File
Video 15.5.1 Writing to File
Video 15.5.2 Write to End of File: Example Walkthrough
Quiz 15.5.3 Writing to File
Example 15.5.4 Write to File
Example 15.5.5 Append to File
Exercise 15.5.6 Activity Tracker
Exercise 15.5.7 Guest Book
Exercise 15.5.8 Write the Sum
Exercise 15.5.9 Update a High Score
15.6 Move File Pointer Position
Video 15.6.1 Move File Pointer Position
Video 15.6.2 Move File Pointer Position: Example Walkthrough
Quiz 15.6.3 Move File Pointer Position
Example 15.6.4 Using tell()
Example 15.6.5 Reading from a Position in File
Example 15.6.6 Write to a Position in File
Exercise 15.6.7 Read from Middle
Exercise 15.6.8 Reverse a File
15.7 File I/O Quiz
Quiz 15.7.1 File I/O Quiz
15.8 File I/O With An API
HTML Notes 15.8.1 What Is An API?
HTML Notes 15.8.2 Types of APIs
Quiz 15.8.3 APIs Quiz
Example 15.8.4 Your First API Request
Exercise 15.8.5 Exploration Inside An API Response
Challenge 15.8.6 Challenge: Build With Live Data
16. Classes and Objects
16.1 Classes and Objects
Video 16.1.1 Classes and Objects
Check for Understanding 16.1.2 Classes and Objects
Example 16.1.3 The Point Class
Exercise 16.1.4 The Rectangle Class, Part 1
Example 16.1.5 The Point Class, Part 2
Exercise 16.1.6 The Rectangle Class, Part 2
16.2 Methods
Video 16.2.1 Methods
Check for Understanding 16.2.2 Methods
Example 16.2.3 The Point Class, Part 3
Example 16.2.4 The Point Class, Part 4
Exercise 16.2.5 The Rectangle Class, Part 3
Exercise 16.2.6 The Rectangle Class, Part 4
16.3 Built-In Methods
Video 16.3.1 Built-In Methods
Check for Understanding 16.3.2 Built-In Methods
Example 16.3.3 The __repr__ method
Example 16.3.4 The __eq__ method
Example 16.3.5 The Point Class, Part 5
Exercise 16.3.6 The Rectangle Class, Part 5
Exercise 16.3.7 The Rectangle Class, Part 6
Example 16.3.8 Sheet Music
Challenge 16.3.9 Names In a Hat
16.4 Operator Overloading
Video 16.4.1 Operator Overloading
Check for Understanding 16.4.2 Operator Overloading
Example 16.4.3 The __add__ method
Example 16.4.4 The Point Class, Part 6
Exercise 16.4.5 The Rectangle Class, Part 7
Exercise 16.4.6 The Rectangle Class, Part 8
Exercise 16.4.7 Contact Merge
16.5 Class Variables vs. Instance Variables
Video 16.5.1 Class Variables vs. Instance Variables
Check for Understanding 16.5.2 Class Variables vs. Instance Variables
Example 16.5.3 The Point Class, Part 7
Exercise 16.5.4 The Rectangle Class, Part 9
Example 16.5.5 Cars
Exercise 16.5.6 Cars, Part 2
Example 16.5.7 Cars, Part 3
17. Ethics and Cybersecurty
17.1 Cyber Ethics and Laws
Free Response 17.1.1 Cyber Ethics Scenarios
Article 17.1.2 Ethics vs. Laws
Free Response 17.1.3 Legal Consequences
Connection 17.1.4 Copyright in Education
Video 17.1.5 Getting Permission
Notes 17.1.6 Threat Actors
Free Response 17.1.7 Pros and Cons: Intellectual Property Laws
Free Response 17.1.8 Software, Access, and Privacy
HTML Notes 17.1.9 How Software Shapes Society: Access and Privacy
17.2 Common Cyber Attacks and Prevention
Connection 17.2.1 Protecting Your Computer
Connection 17.2.2 Phishing for Your Info
Free Response 17.2.3 Phishing Response
Article 17.2.4 Cyber Impacts
Notes 17.2.5 Story Starter
Free Response 17.2.6 Complete Your Story
Notes 17.2.7 Cyber Game Enrichment
17.3 Personal Data Security
Article 17.3.1 A Tale of Authentication
Free Response 17.3.2 A Tale of Authentication Submission
Check for Understanding 17.3.3 Personal Data Security
Video 17.3.4 Browser Security Settings Exploration
Article 17.3.5 Privacy Settings Simulator
Free Response 17.3.6 Security vs. Usability
17.4 Software Licenses
Video 17.4.1 Software Licenses
Check for Understanding 17.4.2 Software Licenses Quiz
Free Response 17.4.3 Do I need a Software License?
Free Response 17.4.4 Is This Original?
17.5 Application Security
Video 17.5.1 Application Security
Check for Understanding 17.5.2 Application Security
Connection 17.5.3 Windows Defender Antivirus
Free Response 17.5.4 Windows Defender Antivirus
Free Response 17.5.5 CodeHS System Restore
17.6 Ethics and Cybersecurity Quiz
Quiz 17.6.1 Ethics and Cybersecurity Quiz
18. Intro to AI
18.1 How to Use AI Tools Safely
HTML Notes 18.1.1 What Are AI Tools?
Article 18.1.2 Account Creation Do's and Don'ts
Article 18.1.3 Protecting Your Personal Information
Article 18.1.4 AI Mistake Detective
Article 18.1.5 Would You Trust This? Quick Decisions
Article 18.1.6 Would You Let AI Handle It?
Free Response 18.1.7 Write a Letter: How to Stay Safe Using AI
18.2 Human & Artificial Intelligence
Video 18.2.1 Human & Artificial Intelligence
Free Response 18.2.2 Human & Artificial Intelligence Reflection
Video 18.2.3 The Turing Test as a Measure of Intelligence
Free Response 18.2.4 The Turing Test as a Measure of Intelligence Reflection
Video 18.2.5 A Test of Intelligence
Free Response 18.2.6 A Test of Intelligence Reflection
Free Response 18.2.7 Explore & Reflect: Test the Intelligence of an AI
Article 18.2.8 Figure's Plan to Develop a Humanoid Robot
Video 18.2.9 Figure's Humanoid Robot Presentation
Free Response 18.2.10 Figure AI's Humanoid Robot Reflection
18.3 Generative vs. Predictive AI
Video 18.3.1 Generative vs. Predictive AI
Notes 18.3.2 Explore AI Google Experiments
Free Response 18.3.3 XYZ Toy
Free Response 18.3.4 Instrument Playground
Free Response 18.3.5 Quick, Draw!
Free Response 18.3.6 Shadow Art
Free Response 18.3.7 Where is Hopper?
Free Response 18.3.8 Generative vs Predictive AI Reflection
18.4 Large Language Models
Video 18.4.1 Large Language Models
Free Response 18.4.2 Large Language Models Reflection
HTML Notes 18.4.3 Comparing LLMs
Free Response 18.4.4 Comparing LLMs Reflection
Article 18.4.5 Multimodal AI
Free Response 18.4.6 Multimodal Model Reflection
Notes 18.4.7 Sketch a Website
Exercise 18.4.8 Your Website
Free Response 18.4.9 Your Website Reflection
18.5 Prompt Engineering
Video 18.5.1 What is Prompt Engineering?
Article 18.5.2 Prompt Engineering Best Practices
Notes 18.5.3 More Prompt Engineering Techniques
Free Response 18.5.4 Text Prompt Reflection
Connection 18.5.5 Prompt Engineering Tips for Images
Free Response 18.5.6 Prompt Engineering Tips for Images Reflection
Notes 18.5.7 Generate an Image
Free Response 18.5.8 Image Prompt Reflection
Free Response 18.5.9 Say What You See
18.6 Prompt Practice & Refinement
HTML Notes 18.6.1 Practice Writing Prompts
Free Response 18.6.2 Compare Your Prompts
Free Response 18.6.3 Peer Feedback on Prompts
HTML Notes 18.6.4 Scenario 2: Apply What You Learned
Free Response 18.6.5 Reflection: What Makes a Good Prompt?
18.7 Who Builds AI?
Connection 18.7.1 Will AI help or hurt diversity and inclusion?
Free Response 18.7.2 Will AI help or hurt diversity and inclusion? Reflection
Connection 18.7.3 How Do You Teach AI?
Free Response 18.7.4 How Do You Teach AI Reflection
Connection 18.7.5 Consequences of Exposing Bias in AI
Free Response 18.7.6 Consequences of Exposing Bias in AI Reflection
Article 18.7.7 Customize Your AI Movie Recommender
Free Response 18.7.8 AI Movie Recommender Submission
Free Response 18.7.9 Who Builds AI Lesson Discussion
18.8 Introduction to AI-Assisted Coding
Video 18.8.1 How To Play Connections
Article 18.8.2 Example Connections Game
Free Response 18.8.3 Step 1: Plan Your Game
Exercise 18.8.4 Steps 2 and 3: Use an AI Chatbot to Generate Your Game
Exercise 18.8.5 Step 4: Submit Your Work
Free Response 18.8.6 What Was It Like to Code with AI? Reflection
HTML Notes 18.8.7 Using AI Honestly
HTML Notes 18.8.8 AI Ownership and Copyright
Exercise 18.8.9 Review the AI's Code
Free Response 18.8.10 The Ethics of AI-Written Software
Free Response 18.8.11 Your AI Use Statement
Free Response 18.8.12 Is This Authentic?
Free Response 18.8.13 Challenge: Extend Your Connections Game
18.9 Project: AI-Assisted Coding
Article 18.9.1 How Can AI Help Solve Real-World Problems?
Article 18.9.2 AI Project Planning Worksheet: Solve a Real-World Problem
Free Response 18.9.3 AI Project Planning Worksheet Submission
Exercise 18.9.4 Part 1: Build and Debug
Exercise 18.9.5 Part 2: Testing and Feedback
Challenge 18.9.6 Final Draft: Create Your Own AI-Assisted Project!
HTML Notes 18.9.7 Part 3: Reflect and Present
Free Response 18.9.8 Final Presentation
18.10 Intro to AI Unit Quiz
Unit Quiz 18.10.1 Intro to AI Unit Quiz
19. Exploring CS Careers
19.1 Computer Science Careers
Video 19.1.1 Computer Science All Around Us
Quiz 19.1.2 Computer Science All Around Us
Connection 19.1.3 CS Careers
Free Response 19.1.4 CS Career Response
Connection 19.1.5 Coding in the Wild
Free Response 19.1.6 Coding in the Wild Response
Connection 19.1.7 Inclusive Coding
Free Response 19.1.8 Inclusive Coding Response
19.2 Explore a Career
Connection 19.2.1 How to Choose the Right Career Path
Free Response 19.2.2 Step 1: Your Hobbies
Free Response 19.2.3 Step 2: Your Talents
Free Response 19.2.4 Step 3: Your Personality
Free Response 19.2.5 Step 4: Your Career Aspirations
Free Response 19.2.6 Step 5: Do Your Research
Notes 19.2.7 Career Exploration Presentation Guidelines
Presentation 19.2.8 Career Exploration Presentation
HTML Notes 19.2.9 Software Roles and Traits