computer science / intro
Free Intro to Computer Science Courses, Compared
CS50x, CS50P, MIT 6.100L and a few others side by side: what each one assumes you know, which language it teaches, how much work it is, and whether it ends in a free certificate. Details were checked on each course's own pages in October 2026.
Most "best free computer science course" lists name the same three or four courses and stop there. They skip the facts that decide whether you will finish: do you need to have programmed before, which language will you be typing for the next ten weeks, how many hours does a week really take, and will anything come out the other end that you can show an employer. This page answers those four questions for each course. It also fixes one stale recommendation that still circulates: MIT's 6.0001 has been replaced on MIT's own course listings by 6.100L, and the difference matters if you are following the OpenCourseWare materials.
01 · PICK BY SITUATION
Which course fits you
Start from your situation, not from a ranking. All of these are free to study. The next section has the full comparison.
| If you... | Start with | Why |
|---|---|---|
| have never programmed and want the full picture | CS50x | Eleven weeks that move from Scratch through C, Python, SQL and a web app |
| only want Python, quickly | CS50P | Ten weeks, one language, graded problem sets |
| prefer a university lecture format with a textbook | MIT 6.100L | Python 3, no prerequisites, paced slower than MIT's 6.100A |
| want to understand how hardware becomes software | Nand to Tetris | You build a computer from logic gates up |
| want to build websites and get a certificate with no cost | freeCodeCamp | Project-based, with certifications listed in the free curriculum |
| want concepts before code | Khan Academy | Algorithms, cryptography and information theory, no editor needed |
02 · THE COMPARISON
Prerequisites, language, workload and certificate
Where a course page does not state something, the cell says so instead of guessing.
| Course | Assumes | Language | Workload | Free certificate |
|---|---|---|---|---|
| CS50x (Harvard) | Nothing; two thirds of CS50 students have never taken CS | Scratch, C, Python, SQL, HTML/CSS/JavaScript, Flask | 11 weeks of material, problem sets, final project | Yes, with 70% or better on every problem set and the final project |
| CS50P (Harvard) | Nothing; for students with or without experience | Python | 10 weeks of material, problem sets, final project | Yes, same 70% rule |
| 6.100L (MIT) | No prerequisites | Python 3 | Two 90-minute lectures a week; MIT's catalog lists 2 class and 4 prep hours | None listed on the course page |
| Nand to Tetris | No prerequisites listed on the site | Hardware and software projects | Project-based, pace not stated | Free version: none listed. Coursera version: paid, with a completion certificate |
| Khan Academy CS theory | Not stated | None (concepts) | Three units, self-paced | Not listed |
| freeCodeCamp | Not stated | HTML, CSS, JavaScript, Python and others | Self-paced, long | Certifications are part of the free curriculum |
- CS50x: Harvard's Introduction to Computer Science ↗The full open course: lectures, sections, shorts, problem sets and a final project, free through Harvard's OpenCourseWare site.cs50.harvard.edu
- CS50P: Introduction to Programming with Python ↗Ten weeks on functions, loops, exceptions, unit tests, libraries, regular expressions, classes and file I/O, aimed at people who want Python specifically.cs50.harvard.edu
- From Nand to Tetris ↗All lectures, project files and tools are free and open source for non-profit use. The paid Coursera version adds a completion certificate.nand2tetris.org
- Khan Academy: Computer science theory ↗Three units on algorithms, cryptography and information theory. A good companion if you want ideas before syntax.khanacademy.org
03 · THE CS50 CERTIFICATE RULE
How CS50's free certificate works, and what it is not
CS50's own certificate page states the rule plainly: if you submit and score at least 70% on each of the course's problem sets and on its final project, you become eligible for a free CS50 Certificate. CS50P uses the same threshold for its problems and final project. That makes the certificate a record of finished, auto-graded work rather than of watching videos. It is not an edX verified certificate. For that, Harvard points you to cs50.edx.org, and edX's own page says you can audit the course free and upgrade later.
| Item | Count | Rule |
|---|---|---|
| Problem sets | 10 | Each must score 70% or better |
| Final project | 1 | Must also reach 70% |
| Total gates | 11 | One failed gate means no certificate yet |
The weeks run Scratch, C, Arrays, Algorithms, Memory, Data Structures, Python, SQL, then HTML/CSS/JavaScript, Flask and "The End".
04 · MIT'S PYTHON COURSE
MIT 6.100L, and why 6.0001 is the old link
For years the standard MIT recommendation was 6.0001, Introduction to Computer Science and Programming in Python, from 2016. That OpenCourseWare page is still online, but MIT no longer lists the course. MIT's Fall 2026 catalog shows 6.100L with no prerequisites, and OCW's syllabus calls it a full-semester version of 6.100A, which was formerly numbered 6.0001. The material is the same; the pace is slowed so people who have never programmed get time to practice. It uses Python 3, is taught by Dr. Ana Bell, and its OCW page includes lecture videos, lecture notes, problem sets and programming assignments. The syllabus names John Guttag's textbook, which is sold by MIT Press, and says the book and the lectures parallel each other. Grading, for enrolled students, is problem sets 45%, finger exercises 10% and microquizzes 45%.
- MIT 6.100L: Introduction to CS and Programming using Python ↗Fall 2022 materials from MIT OpenCourseWare: lectures, notes, problem sets and programming assignments.ocw.mit.edu
- 6.100L syllabus ↗Prerequisites, meeting times, textbook and grading, including the note that 6.100L is the slower version of 6.100A.ocw.mit.edu
05 · AFTER THE FIRST COURSE
Build something, then widen out
A finished intro course gives you vocabulary; a small project proves you can use it. The Odin Project and freeCodeCamp are the usual next step because both are free and project-based. The Odin Project describes its curriculum as free and open source, with Foundations first and then a full-stack JavaScript or Ruby on Rails path. freeCodeCamp's curriculum covers responsive web design, JavaScript, Python and databases, and describes itself as a charity funded by donors. When you want a complete degree-style sequence, the Open Source Society University curriculum on GitHub lays out core programming, math and systems courses in order.
- The Odin Project: paths ↗Foundations, then Full Stack JavaScript or Full Stack Ruby on Rails, all built around projects.theodinproject.com
- freeCodeCamp curriculum ↗Certifications in web design, JavaScript, Python, relational databases and back-end development.freecodecamp.org
- Open Source Society University: Computer Science ↗A community-maintained, free self-taught CS curriculum with durations, weekly effort and prerequisites listed per course.github.com
06 · FAQ
Frequently asked questions
What is the best free course to learn computer science?
For most people with no background, Harvard's CS50x. It assumes no prior experience, runs eleven weeks, and offers a free CS50 Certificate if you score at least 70% on every problem set and the final project. If you only want Python, CS50P or MIT 6.100L are tighter choices.
Is MIT 6.0001 still the right MIT intro course?
MIT's current course is 6.100L, which OCW describes as the full-semester version of 6.100A, formerly numbered 6.0001. The 2016 6.0001 page is still online, but 6.100L is the newer, slower-paced version with the same material and no prerequisites.
Do free computer science courses give certificates?
Some do. CS50x and CS50P award a free CS50 Certificate for scoring at least 70% on every problem and the final project. MIT OpenCourseWare materials do not come with one, and a verified certificate from edX is paid.
Do I need to be good at math to learn computer science?
Not to start. MIT's 6.100L lists no prerequisites and CS50x says two thirds of its students have never taken a computer science course. Later topics such as algorithms analysis and machine learning use more math, which you can pick up as you go.
Should I learn Python or C first?
Python is easier to start with, and CS50P and 6.100L both use it. CS50x begins with Scratch and then C to show how memory works before moving to Python in week six. Choose the course whose format you will finish; the language is secondary.