Please enable JavaScript to use CodeHS


Utah Computer Programming 2

Lessons

  1. Functions and Exceptions

    1. 1.1 Functions

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

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

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

    11. Description
    12. Objective
    13. 1.5 Exceptions

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

    17. Description
    18. Objective
  2. Strings

    1. 2.1 Indexing

    2. Description
    3. Objective
    4. 2.2 Slicing

    5. Description
    6. Objective
    7. 2.3 Immutability

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

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

    14. Description
    15. Objective
    16. 2.6 String Methods

    17. Description
    18. Objective
    19. 2.7 Strings Quiz

    20. Description
    21. Objective
  3. Project: The Game of Pig

    1. 3.1 Project: The Game of Pig

    2. Description
    3. Objective
  4. Creating and Altering Data Structures

    1. 4.1 Tuples

    2. Description
    3. Objective
    4. 4.2 Lists

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

    8. Description
    9. Objective
    10. 4.4 List Methods

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

    14. Description
    15. Objective
  5. Extending Data Structures

    1. 5.1 2d Lists

    2. Description
    3. Objective
    4. 5.2 List Comprehensions

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

    8. Description
    9. Objective
    10. 5.4 Dictionaries

    11. Description
    12. Objective
    13. 5.5 Extending Data Structures Quiz

    14. Description
    15. Objective
  6. Project: Guess the Word

    1. 6.1 Project: Guess the Word

    2. Description
    3. Objective
  7. File I/O

    1. 7.1 What is File I/O

    2. Description
    3. Objective
    4. 7.2 Reading Character from File

    5. Description
    6. Objective
    7. 7.3 Reading Line from File

    8. Description
    9. Objective
    10. 7.4 Reading All Lines from File

    11. Description
    12. Objective
    13. 7.5 Writing to File

    14. Description
    15. Objective
    16. 7.6 Move File Pointer Position

    17. Description
    18. Objective
    19. 7.7 File I/O Quiz

    20. Description
    21. Objective
  8. Classes and Objects

    1. 8.1 Classes and Objects

    2. Description
    3. Objective
    4. 8.2 Methods

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

    8. Description
    9. Objective
    10. 8.4 Operator Overloading

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

    14. Description
    15. Objective
  9. Exploring CS Careers

    1. 9.1 Computer Science Careers

    2. Description
    3. Objective
    4. 9.2 Explore a Career

    5. Description
    6. Objective