Please enable JavaScript to use CodeHS


Intro to CS in Python with Arduino

Lessons

  1. Introduction to Programming with Turtle Graphics

    1. 1.1 Intro to Python with Tracy the Turtle

    2. Description
    3. Objective
    4. 1.2 Tracy's Grid World

    5. Description
    6. Objective
    7. 1.3 Turning Tracy

    8. Description
    9. Objective
    10. 1.4 For Loops

    11. Description
    12. Objective
    13. 1.5 Turning Tracy Using Angles

    14. Description
    15. Objective
    16. 1.6 Comments

    17. Description
    18. Objective
    19. 1.7 Naming Guidelines

    20. Description
    21. Objective
    22. 1.8 Functions

    23. Description
    24. Objective
    25. 1.9 Artistic Effects

    26. Description
    27. Objective
    28. 1.10 Top Down Design

    29. Description
    30. Objective
    31. 1.11 Variables

    32. Description
    33. Objective
    34. 1.12 User Input

    35. Description
    36. Objective
    37. 1.13 Parameters

    38. Description
    39. Objective
    40. 1.14 Using i in For Loops

    41. Description
    42. Objective
    43. 1.15 Extended Loop Control

    44. Description
    45. Objective
    46. 1.16 If Statements

    47. Description
    48. Objective
    49. 1.17 If/ Else Statements

    50. Description
    51. Objective
    52. 1.18 While Loops

    53. Description
    54. Objective
    55. 1.19 Putting Together Control Structures

    56. Description
    57. Objective
    58. 1.20 Intro to Programming with Turtle Graphics Quiz

    59. Description
    60. Objective
  2. Basic Python and Console Interaction

    1. 2.1 Printing in Python

    2. Description
    3. Objective
    4. 2.2 Variables and Types

    5. Description
    6. Objective
    7. 2.3 User Input

    8. Description
    9. Objective
    10. 2.4 Mathematical Operators

    11. Description
    12. Objective
    13. 2.5 String Operators

    14. Description
    15. Objective
    16. 2.6 Comments

    17. Description
    18. Objective
    19. 2.7 Basic Python and Console Interaction Quiz

    20. Description
    21. Objective
  3. Intro to Arduino

    1. 3.1 Welcome to Arduino!

    2. Description
    3. Objective
    4. 3.2 Setting Up your Arduino

    5. Description
    6. Objective
    7. 3.3 Comments & Pseudocode

    8. Description
    9. Objective
    10. 3.4 Variables

    11. Description
    12. Objective
    13. 3.5 Debugging

    14. Description
    15. Objective
    16. 3.6 Intro to Arduino Quiz

    17. Description
    18. Objective
  4. Conditionals

    1. 4.1 Booleans

    2. Description
    3. Objective
    4. 4.2 If Statements

    5. Description
    6. Objective
    7. 4.3 Comparison Operators

    8. Description
    9. Objective
    10. 4.4 Logical Operators

    11. Description
    12. Objective
    13. 4.5 Floating Point Numbers and Rounding

    14. Description
    15. Objective
    16. 4.6 Conditionals Quiz

    17. Description
    18. Objective
  5. Looping

    1. 5.1 While Loops

    2. Description
    3. Objective
    4. 5.2 For Loops

    5. Description
    6. Objective
    7. 5.3 Break and Continue

    8. Description
    9. Objective
    10. 5.4 Nested Control Structures

    11. Description
    12. Objective
    13. 5.5 Looping Quiz

    14. Description
    15. Objective
  6. Functions and Exceptions

    1. 6.1 Functions

    2. Description
    3. Objective
    4. 6.2 Functions and Parameters

    5. Description
    6. Objective
    7. 6.3 Namespaces in Functions

    8. Description
    9. Objective
    10. 6.4 Functions and Return Values

    11. Description
    12. Objective
    13. 6.5 Exceptions

    14. Description
    15. Objective
    16. 6.6 Functions & Exceptions Quiz

    17. Description
    18. Objective
  7. Program Control with Arduino

    1. 7.1 Loops

    2. Description
    3. Objective
    4. 7.2 If/Else Statements

    5. Description
    6. Objective
    7. 7.3 Arithmetic, Comparison, and Logical Operators

    8. Description
    9. Objective
    10. 7.4 Functions

    11. Description
    12. Objective
    13. 7.5 Using Motors

    14. Description
    15. Objective
    16. 7.6 Program Control with Arduino Quiz

    17. Description
    18. Objective
  8. Strings

    1. 8.1 Indexing

    2. Description
    3. Objective
    4. 8.2 Slicing

    5. Description
    6. Objective
    7. 8.3 Immutability

    8. Description
    9. Objective
    10. 8.4 Strings and For Loops

    11. Description
    12. Objective
    13. 8.5 The in Keyword

    14. Description
    15. Objective
    16. 8.6 String Methods

    17. Description
    18. Objective
    19. 8.7 Strings Quiz

    20. Description
    21. Objective
  9. Creating and Altering Data Structures

    1. 9.1 Tuples

    2. Description
    3. Objective
    4. 9.2 Lists

    5. Description
    6. Objective
    7. 9.3 For Loops and Lists

    8. Description
    9. Objective
    10. 9.4 List Methods

    11. Description
    12. Objective
    13. 9.5 Creating and Altering Data Structures Quiz

    14. Description
    15. Objective
  10. Extending Data Structures

    1. 10.1 2d Lists

    2. Description
    3. Objective
    4. 10.2 List Comprehensions

    5. Description
    6. Objective
    7. 10.3 Packing and Unpacking

    8. Description
    9. Objective
    10. 10.4 Dictionaries

    11. Description
    12. Objective
    13. 10.5 Equivalence vs. Identity

    14. Description
    15. Objective
    16. 10.6 Extending Data Structures Quiz

    17. Description
    18. Objective
  11. Project: Guess the Word

    1. 11.1 Project: Guess the Word

    2. Description
    3. Objective
    4. 11.2 Intro to Computer Science in Python Completed

    5. Description
    6. Objective
  12. Advanced Arduino

    1. 12.1 Arduino Challenges

    2. Description
    3. Objective
    4. 12.2 Explore a New Sensor

    5. Description
    6. Objective
    7. 12.3 Step-by-Step Arduino Project

    8. Description
    9. Objective
    10. 12.4 Final Project

    11. Description
    12. Objective
  13. Final Exam

    1. 13.1 Final Exam

    2. Description
    3. Objective
  14. Classes and Objects

    1. 14.1 Classes and Objects

    2. Description
    3. Objective
    4. 14.2 Methods

    5. Description
    6. Objective
    7. 14.3 Built-In Methods

    8. Description
    9. Objective
    10. 14.4 Operator Overloading

    11. Description
    12. Objective
    13. 14.5 Class Variables vs. Instance Variables

    14. Description
    15. Objective
    16. 14.6 Inheritance

    17. Description
    18. Objective
    19. 14.7 Hidden Attributes

    20. Description
    21. Objective
    22. 14.8 Namespaces

    23. Description
    24. Objective
    25. 14.9 Modules

    26. Description
    27. Objective
    28. 14.10 Classes and Objects Quiz

    29. Description
    30. Objective
  15. Advanced Tracy Challenges

    1. 15.1 Advanced Challenges with Tracy

    2. Description
    3. Objective
  16. Midterm

    1. 16.1 Midterm

    2. Description
    3. Objective
  17. Additional Topics

    1. 17.1 Short Circuit Evaluation

    2. Description
    3. Objective
    4. 17.2 De Morgan's Laws

    5. Description
    6. Objective
  18. Python Level 1 Certification Practice

    1. 18.1 Practice #1: Basic Python and Console Interactions

    2. Description
    3. Objective
    4. 18.2 Practice #2: Conditionals

    5. Description
    6. Objective
    7. 18.3 Practice #3: Looping

    8. Description
    9. Objective
    10. 18.4 Practice #4: Strings

    11. Description
    12. Objective
    13. 18.5 Practice #5: Functions and Exceptions

    14. Description
    15. Objective
    16. 18.6 Practice #6: Data Structures

    17. Description
    18. Objective