Skip to content
Learn AI

Computer science

Explore foundational and advanced topics in computer science, from algorithms to data structures.

Beginner to advanced. 5 parts, 9 steps. Free.

Euclid in lengths

Students observe headset tracking, controllers, and basic navigation.
XR Intro to Immersive Simulation

Part 1 of 5: Start here

What computers do, and how a computer scientist thinks.

Steps 1 to 2 of 9

  1. Watch

    Step 1: CS50x 2024, Lecture 0, Scratch (opens in a new tab)

    CS50 (Harvard)Videoabout 1 hr 45 minBeginner

    The famous first lecture: binary, algorithms, and thinking like a computer scientist.

  2. Take

    Step 2: CS50x: Introduction to Computer Science (opens in a new tab)

    Harvard University (David J. Malan)Courseabout 11 weeksBeginner

    Harvard’s intro course, from Scratch to C, Python, SQL, and web development. Free.

    Related

From our slide deck

Algorithms: Euclid and the GCD

A trace: GCD(1071, 462)

  1. 1
  2. 2
  3. 3
  4. 4

Part 2 of 5: Learn Python

Python first, because it is the language most AI work is written in.

Steps 3 to 4 of 9

  1. Take

    Step 3: CS50’s Introduction to Programming with Python (opens in a new tab)

    Harvard UniversityCourseabout 10 weeksBeginner

    A gentle, rigorous Python course, ideal as the first language before AI work.

  2. Do

    Step 4: Khan Academy Computer Programming (opens in a new tab)

    Khan AcademyWebsiteSelf-pacedBeginner

    Interactive JavaScript and drawing lessons, a friendly first step for younger students.

Console coaching on latency tuning and sensor calibration during VR practice.
XR Mentored Build

Part 3 of 5: Try one algorithm

Example code from AI Academy, and the deck that walks through it.

Steps 5 to 6 of 9

  1. Read

    Step 5: Algorithms: Euclid and the GCD

    AI AcademySlide deck15 slidesBeginner

    Our own deck: Euclid’s algorithm for the greatest common divisor, step by step.

  2. Read

    Step 6: Download Java code for GCF using Euclidean Algorithm

    AI AcademyExample codeDOCX · 13 KB

    Example code: the Euclidean algorithm for the greatest common factor, in Java.

Instructor demonstrates omnidirectional treadmill setup and safe-use procedures.
XR Motion Platform Safety

Part 4 of 5: Competitions

Two competitions, and the practice sets that lead into them.

Steps 7 to 8 of 9

  1. Do

    Step 7: USACO (USA Computing Olympiad) Competition (opens in a new tab)

    USA Computing OlympiadWebsiteContestIntermediate

    The USA Computing Olympiad’s online programming contests. The USACO Guide and CSES are the practice sets.

    Related

  2. Do

    Step 8: ACSL (American Computer Science League) Competition (opens in a new tab)

    ACSLWebsiteContest season, 4 roundsBeginner

    Team computer science contests covering programming, logic, and CS theory for middle and high schoolers.

Part 5 of 5: Next: AI

Where computer science meets the other topics.

Step 9 of 9

  1. Watch

    Step 9: Harvard CS50’s Artificial Intelligence with Python, Full University Course (opens in a new tab)

    freeCodeCamp.org (Harvard CS50)Videoabout 12 hoursIntermediate

    All CS50 AI lectures in one video, from graph search to neural networks.

About this topic

The steps open with Harvard’s CS50, add Python as a first language, work through one algorithm by hand, and end at the two competitions on our list of computer science activities: USACO and ACSL.

Every outside resource stays on its maker’s site and is credited to them. Lengths marked “about” are approximate.