Please enable JavaScript to use CodeHS


Introduction to Computer Science in C++

Lessons

  1. Programming Basics

    1. 1.1 Welcome to C++

    2. Description
    3. Objective
    4. 1.2 Program Structure and Basic Output

    5. Description
    6. Objective
    7. 1.3 Variables and Data Types

    8. Description
    9. Objective
    10. 1.4 User Input

    11. Description
    12. Objective
    13. 1.5 Math Functions

    14. Description
    15. Objective
  2. Project: College Calculator

    1. 2.1 College Calculator

    2. Description
    3. Objective
  3. Program Control

    1. 3.1 Comparison and Logical Operators

    2. Description
    3. Objective
    4. 3.2 If Statements

    5. Description
    6. Objective
    7. 3.3 While Loops

    8. Description
    9. Objective
    10. 3.4 For Loops

    11. Description
    12. Objective
  4. Project: Algebra Test

    1. 4.1 Creating an Algebra Test

    2. Description
    3. Objective
  5. Functions

    1. 5.1 Basic Functions

    2. Description
    3. Objective
    4. 5.2 Functions with Parameters

    5. Description
    6. Objective
    7. 5.3 Functions with Return Values

    8. Description
    9. Objective
  6. Project: Game of Nim

    1. 6.1 The Game of Nim

    2. Description
    3. Objective
  7. Vectors

    1. 7.1 Creating and Accessing Vectors

    2. Description
    3. Objective
    4. 7.2 Adding to and Removing from Vectors

    5. Description
    6. Objective
    7. 7.3 Traversing Vectors

    8. Description
    9. Objective
  8. Project: Mastermind

    1. 8.1 Mastermind

    2. Description
    3. Objective