Please enable JavaScript to use CodeHS

Points

Activity Points
Karel in Python
1.1 Introduction to Programming With Karel
1.1.1 Introduction to Programming With Karel 1
1.1.2 Quiz: Karel Commands 5
1.1.3 Our First Karel Program 5
1.1.4 Your First Karel Program 5
1.1.5 Short Stack 5
1.1.6 Dancing Karel 5
1.2 More Basic Karel
1.2.1 More Basic Karel 1
1.2.2 More Basic Karel Quiz 5
1.2.3 Tennis Ball Square 5
1.2.4 Make a Tower 5
1.2.5 Pyramid of Karel 5
1.2.6 Go Through the Door 5
1.3 Karel Can't Turn Right
1.3.1 Karel Can't Turn Right 1
1.3.2 Karel Can't Turn Right Quiz 5
1.3.3 Tower and Turn Right 5
1.3.4 Fireman Karel 5
1.3.5 Slide Karel 5
1.3.6 Reflection: Teaching Karel New Commands 5
1.3.7 Right Turn Karel Badge 0
1.4 Functions in Karel
1.4.1 Functions in Karel 1
1.4.2 Functions in Karel Quiz 5
1.4.3 Turn Around 5
1.4.4 Pancakes 5
1.4.5 Backflip 5
1.4.6 Digging Karel 5
1.4.7 Build a Shelter 5
1.5 Top Down Design and Decomposition in Karel
1.5.1 Top Down Design and Decomposition in Karel 1
1.5.2 Top Down Design and Decomposition Quiz 5
1.5.3 Hurdle Karel 5
1.5.4 The Two Towers 5
1.5.5 Make a 'Z' 5
1.5.6 Reflection: Top Down Design 5
1.6 Commenting Your Code
1.6.1 Commenting Your Code 1
1.6.2 Commenting Your Code Quiz 5
1.6.3 Hurdle Karel 5
1.6.4 The Two Towers + Comments 5
1.6.5 Reflection: Commenting 5
1.7 Abstraction
1.7.1 Abstraction 1
1.7.2 Abstraction Quiz 5
1.7.3 Abstracting Away build_tower 5
1.7.4 Abstracting Your Day 5
1.7.5 Reflection: Abstraction 5
1.7.6 Reflection: Abstraction in Karel 5
1.8 Super Karel
1.8.1 Super Karel 1
1.8.2 Super Karel Quiz 5
1.8.3 Hurdle Karel (with SuperKarel) 5
1.8.4 The Two Towers + SuperKarel 5
1.8.5 Super Karel Badge 0
1.9 For Loops
1.9.1 For Loops 1
1.9.2 For Loops Quiz 5
1.9.3 Repeated Move 5
1.9.4 Put Down Tennis Balls 5
1.9.5 Take 'em All 5
1.9.6 Dizzy Karel 5
1.9.7 For Loop Square 5
1.9.8 Lots of Hurdles 5
1.10 If Statements
1.10.1 If Statements 1
1.10.2 If Statements Quiz 5
1.10.3 If Statements 5
1.10.4 Safe Take Ball 5
1.10.5 Is There a Ball? 5
1.10.6 Mindsets 5
1.11 If/Else Statements
1.11.1 If/Else Statements 1
1.11.2 If/Else Statements Quiz 5
1.11.3 If/Else Statements 5
1.11.4 One Ball in Each Spot 5
1.11.5 Right Side Up 5
1.11.6 Conditional Karel Badge 0
1.12 While Loops in Karel
1.12.1 While Loops in Karel 1
1.12.2 While Loops in Karel Quiz 5
1.12.3 Move to Wall 5
1.12.4 Follow The Yellow Ball Road 5
1.12.5 Lay Row of Tennis Balls 5
1.12.6 Big Tower 5
1.13 Control Structures Example
1.13.1 Control Structures Example 1
1.13.2 Control Structures Example Quiz 5
1.13.3 Cleanup Karel 5
1.13.4 Random Hurdles 5
1.14 Debugging Strategies
1.14.1 Debugging Basics 1
1.14.2 Debugging Basics 5
1.14.3 Debug: The Two Towers 5
1.14.4 Debug: Lots of Hurdles 5
1.14.5 Debugging From Error Messages 1
1.14.6 Debugging with Error Messages 5
1.14.7 Debug: Big Tower 5
1.14.8 Debug: Random Hurdles 5
1.15 Algorithms
1.15.1 Karel Algorithms 1
1.15.2 Quiz: Which Control Structure? 5
1.15.3 Algorithms Example: Move Stack 1
1.15.4 Move Tennis Ball Stack 1
1.15.5 Climbing Karel 1
1.15.6 Decorate the Fence 5
1.16 Ultra Karel
1.16.1 Ultra Karel 1
1.16.2 Ultra Karel Quiz 5
1.16.3 Red Frame 5
1.16.4 Slip 'n Slide 5
1.16.5 Invert Colors 5
1.16.6 Checkerboard Karel 5
1.16.7 Karel Exercises Badge 0
1.17 Karel Challenges
1.17.1 Fetch 10
1.17.2 Racing Karel 10
1.17.3 Tower Builder 10
1.17.4 Super Cleanup Karel 10
1.17.5 Double Tennis Balls 10
1.17.6 Programming with Karel Bootcamp Badge 0
1.18 Introduction to Programming Quiz
1.18.1 Introduction to Programming Quiz 5
Basic Python and Console Interaction
2.1 Printing in Python
2.1.1 Printing in Python 1
2.1.2 Printing in Python 5
2.1.3 Hello, world! 1
2.1.4 Printing Multiple Lines 1
2.1.5 Introduce Yourself 5
2.1.6 Fix This Program! 5
2.1.7 Vertical name 5
2.2 Variables and Types
2.2.1 Variables and Types 1
2.2.2 Variables and Types 5
2.2.3 Variables in Action 1
2.2.4 Variable Types 1
2.2.5 Variable Naming 1
2.2.6 Make Some Variables! 5
2.2.7 Undefined Variables 5
2.2.8 Variables Badge 1
2.3 User Input
2.3.1 User Input 1
2.3.2 User Input 5
2.3.3 Basic User Input 1
2.3.4 Type Conversion 1
2.3.5 Type Conversion, Part 2 1
2.3.6 Hello <name> 5
2.3.7 Age 5
2.4 Mathematical Operators
2.4.1 Mathematical Operators 1
2.4.2 Mathematical Operators 5
2.4.3 Operators and Integers 1
2.4.4 Operator Precedence 1
2.4.5 Add Parentheses 5
2.4.6 Division in Python 5
2.4.7 Operators and Floats 1
2.4.8 Rectangle 5
2.5 String Operators
2.5.1 String Operators 1
2.5.2 String Operators 5
2.5.3 Operators and Strings 1
2.5.4 Fix This Program 5
2.5.5 Team Sizes 1
2.5.6 Introduce Yourself, Part 2 5
2.5.7 Rectangle, Part 2 5
2.5.8 Rectangle, Part 3 5
2.5.9 Recipe 10
2.6 Comments
2.6.1 Comments 1
2.6.2 Comments 5
2.6.3 Commented Program 1
2.6.4 Trapezoid 1
2.6.5 Add Comments! 5
2.7 Programming Languages
2.7.1 Programming Languages 5
2.7.2 Dynamically Typed Languages 5
2.7.3 Statically Typed Languages 5
2.7.4 Dynamically Typed vs. Statically Typed Languages 5
2.7.5 Compiled Languages 5
2.7.6 Interpreted Languages 5
2.7.7 Compiled vs. Interpreted Languages 5
2.7.8 How Do Computers Read Code 5
2.8 Basic Python and Console Interaction Quiz
2.8.1 Basic Python and Console Interaction Quiz 25
2.8.2 Basic Python and Console Interaction Badge 1
Project: Mad Libs
3.1 Project: Mad Libs
3.1.1 Project: Mad Libs 5
Conditionals
4.1 Booleans
4.1.1 Booleans 1
4.1.2 Booleans 5
4.1.3 Boolean Variables 1
4.1.4 Fix This Program 5
4.1.5 Plants 5
4.2 If Statements
4.2.1 If Statements 1
4.2.2 If Statements 5
4.2.3 Your First If Statement 1
4.2.4 If/Else Statement 1
4.2.5 Fix This Program 5
4.2.6 Is It Raining? 5
4.2.7 Conditional Badge 1
4.3 Comparison Operators
4.3.1 Comparison Operators 1
4.3.2 Comparison Operators 5
4.3.3 Comparison Operators 1
4.3.4 High Jump 1
4.3.5 Roller Coaster 1
4.3.6 Old Enough to Vote? 5
4.3.7 Positive, Zero, or Negative? 5
4.3.8 Age Group 1
4.3.9 Table Reservation 5
4.3.10 Transaction 10
4.4 Logical Operators
4.4.1 Logical Operators 1
4.4.2 Logical Operators 5
4.4.3 Logical Operators 1
4.4.4 Administrators, Teachers, and Students 5
4.4.5 Presidential Eligibility 5
4.4.6 Presidential Eligibility- Extended 10
4.5 Floating Point Numbers and Rounding
4.5.1 Floating Point Numbers and Rounding 1
4.5.2 Floating Point Numbers and Rounding 5
4.5.3 Rounding Error 1
4.5.4 Correct Portion 5
4.6 Conditionals Quiz
4.6.1 Conditionals Quiz 15
Project: Quiz Game
5.1 Project: Quiz Game
5.1.1 Project: Quiz Game 5
Looping
6.1 While Loops
6.1.1 While Loops 1
6.1.2 While Loops 5
6.1.3 Guess My Number 1
6.1.4 Program Tracing 1
6.1.5 Program Tracing, Part 2 1
6.1.6 2 Through 20 Even 5
6.1.7 Divisibility 5
6.2 For Loops
6.2.1 For Loops 1
6.2.2 For Loops 5
6.2.3 Print 10 Numbers 1
6.2.4 1 Through 10, Part 2 1
6.2.5 Counting 10 to 100 by Tens 5
6.2.6 Running Total 1
6.2.7 Running Total, Part 2 1
6.2.8 Average Test Score 5
6.2.9 How Many Names? 5
6.2.10 Loops Badge 1
6.2.11 Mindset Survey 2 1
6.3 Break and Continue
6.3.1 Break and Continue 1
6.3.2 Break and Continue 5
6.3.3 Break 1
6.3.4 Continue 1
6.3.5 Bike Frame Size 1
6.3.6 Loop and a Half 1
6.3.7 Higher/ Lower 5
6.3.8 Higher / Lower 2.0 10
6.4 Nested Control Structures
6.4.1 Nested Control Structures 1
6.4.2 Nested Control Structures 5
6.4.3 Double For Loop 1
6.4.4 Average Test Score, Part 2 1
6.4.5 For Loop + While Loop 1
6.4.6 Rolling Dice 5
6.4.7 Categories 5
6.5 Looping Quiz
6.5.1 Looping Unit Test 15
Project: Password Authenticator
7.1 Project: Password Authenticator
7.1.1 Project: Password Authenticator 5
Roles in a Software Development Team
8.1 Software Engineer
8.1.1 A Day as a Software Developer 5
8.1.2 Development Life Cycle 1
8.1.3 Development Life Cycle 3
8.1.4 A Day in the Life of a Software Engineer at Meta 5
8.1.5 Scrum Framework 1
8.1.6 SCRUM Response 5
8.1.7 Using Flowcharts 5
8.1.8 Project: Software Development 1
8.1.9 Creating a Plan 5
8.2 QA Engineer
8.2.1 A Day as a QA Engineer 5
8.2.2 Define Acceptance Criteria 5
8.2.3 Outline Test Cases 5
8.2.4 Report Bugs 5
8.2.5 Part 1: Bug Hunt 5
8.2.6 Part 2: Report the Bug 5
8.3 Designer
8.3.1 A Day as a Designer 5
8.3.2 Create Wireframes 5
8.3.3 Research Typography 5
8.3.4 Choose Colors 5
8.3.5 Create a Color Palette 5
8.3.6 Check Accessibility 5
8.3.7 Design a Mood Board 5
8.4 Project Manager
8.4.1 A Day as a Project Manager 5
8.4.2 Plan Project 5
8.4.3 Organize Tasks 5
8.4.4 Set Deadlines 5
8.4.5 Create a Task Board 5
Functions and Exceptions
9.1 Functions
9.1.1 Functions 1
9.1.2 Functions 5
9.1.3 Greeting 1
9.1.4 Extended Greeting 1
9.1.5 Weather 5
9.2 Functions and Parameters
9.2.1 Functions and Parameters 1
9.2.2 Functions and Parameters 5
9.2.3 Print a Value 1
9.2.4 Name and Age 1
9.2.5 Print Product 5
9.2.6 Print Multiple Times 5
9.2.7 Default Parameter Values 1
9.2.8 Area of a Square with Default Parameters 5
9.3 Namespaces in Functions
9.3.1 Namespaces in Functions 1
9.3.2 Namespaces in Functions 2
9.3.3 Functions and Variables 1
9.3.4 Functions and Variables, Part 2 1
9.3.5 Fix This Program! 5
9.3.6 Adding to a Value 5
9.3.7 Add, Subtract, or Multiply 5
9.4 Functions and Return Values
9.4.1 Functions and Return Values 1
9.4.2 Functions and Return Values 5
9.4.3 Return 10 1
9.4.4 Add One 5
9.4.5 Negate 1
9.4.6 Functions Calling Functions 1
9.4.7 Function Calls As Parameters 1
9.4.8 Sum Two Numbers 5
9.4.9 Temperature Converter 5
9.4.10 Functions Badge 1
9.5 Exceptions
9.5.1 Exceptions 1
9.5.2 Exceptions 5
9.5.3 Enter a Number 1
9.5.4 Enter Name and Age 1
9.5.5 Temperature Converter, Part 2 5
9.5.6 Enter a Positive Number 5
9.6 Functions & Exceptions Quiz
9.6.1 Functions and Exceptions Quiz 25
9.6.2 Control Flow Badge 1
Strings
10.1 Indexing
10.1.1 Indexing 1
10.1.2 Indexing 5
10.1.3 Characters in a String 1
10.1.4 Unit Tests 5
10.1.5 Initials 5
10.1.6 Sandwich Sandwiches 5
10.2 Slicing
10.2.1 Slicing 1
10.2.2 Slicing 5
10.2.3 Groups of Characters 1
10.2.4 String Collage 1
10.2.5 Room Names 1
10.2.6 If You're Not First, You're Last 5
10.2.7 Part 1, Replace a Letter 5
10.2.8 Part 2, Replace a Letter 5
10.2.9 Slicing Badge 1
10.3 Immutability
10.3.1 Immutability 1
10.3.2 Immutability 5
10.3.3 String Immutability 1
10.3.4 Find the Error 5
10.4 Strings and For Loops
10.4.1 Strings and For Loops 1
10.4.2 Strings and For Loops 5
10.4.3 The len Function 1
10.4.4 Length of User's Name 5
10.4.5 String For Loop with Indices 1
10.4.6 String For Loop with Characters 1
10.4.7 Spelling Bee 5
10.4.8 Keeping Count 5
10.5 The in Keyword
10.5.1 The in Keyword 1
10.5.2 The in Keyword 5
10.5.3 Contains a Letter 1
10.5.4 Contains a Substring 1
10.5.5 Contains a Vowel 5
10.6 String Methods
10.6.1 String Methods 1
10.6.2 String Methods 5
10.6.3 upper and lower 1
10.6.4 ENTHUSIASM! 5
10.6.5 swapcase 1
10.6.6 strip 1
10.6.7 find 1
10.6.8 What's in a Name? 5
10.6.9 Part 1, Remove All From String 5
10.6.10 Part 2, Remove All From String 5
10.6.11 Mindset Survey 3 1
10.7 Strings Quiz
10.7.1 Strings Quiz 25
10.7.2 Strings Badge 1
Project: The Game of Pig
11.1 Project: The Game of Pig
11.1.1 The Game of Pig 5
11.1.2 Build the Basic Program 5
11.1.3 Adding a Computer Opponent 5
Creating and Altering Data Structures
12.1 Tuples
12.1.1 Tuples 1
12.1.2 Tuples 5
12.1.3 A Tuple Is a Sequence 1
12.1.4 A Tuple is Heterogenous 1
12.1.5 Tuples With a Single Element 1
12.1.6 Concatenating Tuples 1
12.1.7 Fix This Tuple 5
12.1.8 Citation 5
12.1.9 Diving Contest 5
12.1.10 Coordinate Pairs 10
12.2 Lists
12.2.1 Lists 1
12.2.2 Lists 5
12.2.3 A List Is Like a Mutable Tuple 1
12.2.4 String <--> List 1
12.2.5 Spell It Out 5
12.2.6 Splitting a String 1
12.2.7 Listed Greeting 5
12.2.8 List of Tuples, Tuples of Lists 1
12.3 For Loops and Lists
12.3.1 For Loops and Lists 1
12.3.2 For Loops and Lists 2
12.3.3 For Loops and Lists 1
12.3.4 For Loops and Lists, Part 2 1
12.3.5 Max In List 5
12.3.6 Owls 5
12.3.7 Exclamat!on Po!nts 5
12.3.8 Word Ladder 10
12.3.9 Owls, Part 2 10
12.4 List Methods
12.4.1 List Methods 1
12.4.2 List Methods 5
12.4.3 append and extend 1
12.4.4 How Many Names? 5
12.4.5 Five Numbers 5
12.4.6 sort 1
12.4.7 Librarian 5
12.4.8 reverse 1
12.4.9 count 1
12.4.10 remove 1
12.4.11 Take a Thing Out, Sort It and Reverse It 5
12.4.12 Librarian, Part 2 10
12.4.13 Lists Badge 1
12.5 Creating and Altering Data Structures Quiz
12.5.1 Creating and Altering Data Structures Quiz 15
Extending Data Structures
13.1 2d Lists
13.1.1 2d Lists 1
13.1.2 2d Lists 5
13.1.3 A List of Lists 1
13.1.4 Grid 1
13.1.5 2d Lists and Slices 1
13.1.6 Checkerboard, v1 5
13.1.7 Checkerboard, v2 5
13.1.8 Checkerboard, v3 5
13.1.9 Tic Tac Toe 10
13.2 List Comprehensions
13.2.1 List Comprehensions 1
13.2.2 List Comprehensions 5
13.2.3 List of Consecutive Numbers 1
13.2.4 List of Squares 1
13.2.5 Divisible by 3 5
13.2.6 Digits of Pi 1
13.2.7 List of Booleans 1
13.2.8 Last Names 5
13.2.9 Strings To Integers 5
13.2.10 Mindset Survey 4 1
13.3 Packing and Unpacking
13.3.1 Packing and Unpacking 1
13.3.2 Packing and Unpacking 5
13.3.3 Packing 1
13.3.4 Unpacking 1
13.3.5 Unpacking Parameters 1
13.3.6 Coordinate Pair 5
13.3.7 Slopes 5
13.3.8 Swapping 1
13.3.9 Full Name & Citation 5
13.3.10 Packing Badge 1
13.4 Dictionaries
13.4.1 Dictionaries 1
13.4.2 Dictionaries 5
13.4.3 Keys and Values 1
13.4.4 The in Keyword 1
13.4.5 Phone Book 5
13.4.6 Word Counts 5
13.5 Extending Data Structures Quiz
13.5.1 Extending Data Structures Quiz 25
13.5.2 Data Structures Badge 1
Project: Guess the Word
14.1 Project: Guess the Word
14.1.1 Guess the Word Demo 1
14.1.2 Guess the Word, Part 1 5
14.1.3 Guess the Word, Part 2 5
14.1.4 Guess the Word, Part 3 5
14.1.5 Guess the Word, Part 4 5
File I/O
15.1 What is File I/O
15.1.1 What is File I/O 5
15.1.2 What is File I/O 5
15.1.3 What is a TXT File? 5
15.1.4 What is a CSV File? 5
15.1.5 Choosing a File Format: TXT vs. CSV 5
15.1.6 File I/O in Data Science 5
15.1.7 File I/O in Image Processing 5
15.1.8 File I/O and Social Media 5
15.2 Reading Character from File
15.2.1 Reading Character from File 5
15.2.2 Reading Characters from File: Example Walkthrough 5
15.2.3 Reading Characters from File 5
15.2.4 Read Specific Characters 5
15.2.5 Read All Characters 5
15.2.6 Fix This: Reading Characters 5
15.2.7 Fix This: Unable to Read 5
15.2.8 Validating Tweet Length 5
15.3 Reading Line from File
15.3.1 Reading Line From File 5
15.3.2 Reading Line from File: Example Walkthrough 5
15.3.3 Read Line from File 5
15.3.4 Reading and Printing Lines 5
15.3.5 Counting Lines in a File 5
15.3.6 Summing Numbers from File 5
15.3.7 Formatting Movie Titles 5
15.4 Reading All Lines from File
15.4.1 Reading All Lines from File 5
15.4.2 Reading All Lines from File: Example Walkthrough 5
15.4.3 Reading All Lines from File 5
15.4.4 Using readlines() 5
15.4.5 Finding the Needle in the Haystack 5
15.4.6 Extract Quotes from a Text File 5
15.5 Writing to File
15.5.1 Writing to File 5
15.5.2 Write to End of File: Example Walkthrough 5
15.5.3 Writing to File 5
15.5.4 Write to File 5
15.5.5 Append to File 5
15.5.6 Activity Tracker 5
15.5.7 Guest Book 5
15.5.8 Write the Sum 5
15.6 Move File Pointer Position
15.6.1 Move File Pointer Position 5
15.6.2 Move File Pointer Position: Example Walkthrough 5
15.6.3 Move File Pointer Position 5
15.6.4 Using tell() 5
15.6.5 Reading from a Position in File 5
15.6.6 Write to a Position in File 5
15.6.7 Read from Middle 5
15.6.8 Reverse a File 5
15.7 File I/O Quiz
15.7.1 File I/O Quiz 5
Classes and Objects
16.1 Classes and Objects
16.1.1 Classes and Objects 0
16.1.2 Classes and Objects 5
16.1.3 The Point Class 0
16.1.4 The Rectangle Class, Part 1 5
16.1.5 The Point Class, Part 2 0
16.1.6 The Rectangle Class, Part 2 5
16.2 Methods
16.2.1 Methods 0
16.2.2 Methods 5
16.2.3 The Point Class, Part 3 0
16.2.4 The Point Class, Part 4 0
16.2.5 The Rectangle Class, Part 3 5
16.2.6 The Rectangle Class, Part 4 5
16.3 Built-In Methods
16.3.1 Built-In Methods 0
16.3.2 Built-In Methods 5
16.3.3 The __repr__ method 0
16.3.4 The __eq__ method 0
16.3.5 The Point Class, Part 5 0
16.3.6 The Rectangle Class, Part 5 5
16.3.7 The Rectangle Class, Part 6 5
16.3.8 Sheet Music 0
16.3.9 Names In a Hat 10
16.4 Operator Overloading
16.4.1 Operator Overloading 0
16.4.2 Operator Overloading 5
16.4.3 The __add__ method 0
16.4.4 The Point Class, Part 6 0
16.4.5 The Rectangle Class, Part 7 0
16.4.6 The Rectangle Class, Part 8 0
16.4.7 Contact Merge 5
16.5 Class Variables vs. Instance Variables
16.5.1 Class Variables vs. Instance Variables 0
16.5.2 Class Variables vs. Instance Variables 5
16.5.3 The Point Class, Part 7 0
16.5.4 The Rectangle Class, Part 9 0
16.5.5 Cars 0
16.5.6 Cars, Part 2 5
16.5.7 Cars, Part 3 0
Exploring CS Careers
17.1 Computer Science Careers
17.1.1 Computer Science All Around Us 1
17.1.2 Computer Science All Around Us 5
17.1.3 CS Careers 1
17.1.4 CS Career Response 5
17.1.5 Coding in the Wild 1
17.1.6 Coding in the Wild Response 5
17.1.7 Inclusive Coding 1
17.1.8 Inclusive Coding Response 5
17.2 Explore a Career
17.2.1 How to Choose the Right Career Path 5
17.2.2 Step 1: Your Hobbies 5
17.2.3 Step 2: Your Talents 5
17.2.4 Step 3: Your Personality 5
17.2.5 Step 4: Your Career Aspirations 5
17.2.6 Step 5: Do Your Research 5
17.2.7 Career Exploration Presentation Guidelines 5
17.2.8 Career Exploration Presentation 5
Midterm
18.1 Midterm
18.1.1 Intro to Python Midterm Pt. 1- Multiple Choice 0
Final Exam
19.1 Final Exam
19.1.1 Final Exam Pt 1: Multiple Choice 25