Introduction to Computer Science: Harvard CS50
Learn to think like a computer scientist with Harvard's CS50: binary, C, algorithms, memory, data structures, the web, Python, Flask and SQL.
Start learning Open course bookAbout this course
Computer science is the study of solving problems, and programming is how solutions are expressed for a computer to carry out. Harvard's CS50 is one of the best-known introductions to both, designed for students with no previous experience. It teaches by building up from the very bottom, from bits and bytes, so that nothing later feels like magic.
This course follows nine lectures from the 2018 edition of CS50, taught by David J. Malan. You begin with binary, algorithms and the visual language Scratch, then learn C and see how arrays, sorting and memory really work. Next come data structures, the workings of the web, and Python, a higher-level language that makes many tasks far shorter. The course ends by building web applications with Flask and storing their data with SQL. Each lesson pairs a lecture with a book chapter that restates the main ideas with diagrams, tables and worked examples you can check by hand.
What you will learn
- Convert between binary and decimal and explain how text, colour and images are stored
- Write and compile simple C programs using variables, conditions, loops and functions
- Compare searching and sorting algorithms by how their running time grows
- Explain memory, pointers, arrays, linked lists, hash tables and trees
- Describe how the web works, from HTTP requests to HTML and CSS
- Build a small web application in Python with Flask and a SQL database
Who this course is for
Complete beginners and anyone who wants a solid foundation in how computers and programs really work. No programming experience is needed. The lectures are long and lively; the book chapters let you review each idea at your own pace.