Computer science
Beginner to advanced. 5 parts, 9 steps. Free.
Euclid in lengths
9steps in 5 parts

Part 1 of 5: Start here
What computers do, and how a computer scientist thinks.
Steps 1 to 2 of 9
Watch
Step 1: CS50x 2024, Lecture 0, Scratch (opens in a new tab)
The famous first lecture: binary, algorithms, and thinking like a computer scientist.
Take
Step 2: CS50x: Introduction to Computer Science (opens in a new tab)
Harvard’s intro course, from Scratch to C, Python, SQL, and web development. Free.
From our slide deck
Algorithms: Euclid and the GCD
A trace: GCD(1071, 462)
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
Take
Step 3: CS50’s Introduction to Programming with Python (opens in a new tab)
A gentle, rigorous Python course, ideal as the first language before AI work.
Do
Step 4: Khan Academy Computer Programming (opens in a new tab)
Interactive JavaScript and drawing lessons, a friendly first step for younger students.

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
Read
Step 5: Algorithms: Euclid and the GCD
Our own deck: Euclid’s algorithm for the greatest common divisor, step by step.
Read
Step 6: Download Java code for GCF using Euclidean Algorithm
Example code: the Euclidean algorithm for the greatest common factor, in Java.

Part 4 of 5: Competitions
Two competitions, and the practice sets that lead into them.
Steps 7 to 8 of 9
Do
Step 7: USACO (USA Computing Olympiad) Competition (opens in a new tab)
The USA Computing Olympiad’s online programming contests. The USACO Guide and CSES are the practice sets.
Do
Step 8: ACSL (American Computer Science League) Competition (opens in a new tab)
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
Watch
Step 9: Harvard CS50’s Artificial Intelligence with Python, Full University Course (opens in a new tab)
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.
