Computer Science
Computer science studies computing: how algorithms, data structures and precise instructions are used to build the software and databases that machines run.
Studying computer science involves writing programs, analyzing how efficient an algorithm is, and understanding the layers of software from operating systems and compilers to databases and networks. A learner comes away able to break a problem into precise steps, implement and test a solution in code, and reason about what computers can and cannot compute.
What a program here might cover
- Algorithms and Complexity
- Data Structures
- Programming Fundamentals
- Operating Systems
- Databases and Query Languages
- Theory of Computation
Illustrative topics. Your own program is built around your goal and what you already know.
Start from a goal
- “I want to build a database from scratch and learn the algorithms that make queries fast.”
- “I want to learn programming and the algorithms and data structures behind everyday software.”
Start with one star
Or study a single skill of Computer Science on its own: its lesson and its Mastery Check, without planning a program. Demonstrating it lights a star in your universe.
Accumulator loops in Python
Using a for loop with a variable that is updated on every pass to compute a total, a count or a maximum over a list.
Introductory
Binary numbers: how computers count with 0 and 1
Reading and writing whole numbers in base 2: converting between binary and decimal by place value and by repeated division by 2, knowing that n bits hold 2 to the power n values, and checking the work with Python's bin() and int(x, 2).
Introductory
Calculating new columns with expressions
Computing new values in a query with arithmetic, rounding, joined text and type casts, naming them with aliases, and avoiding the trap of whole-number division.
Introductory
Changing data with INSERT, UPDATE and DELETE
Writing SQL INSERT, UPDATE and DELETE statements that change exactly the intended rows, understanding the constraints that refuse bad changes, and using transactions to group or undo changes.
Introductory
Combining two tables with INNER JOIN
Joining two tables on matching key values so that each result row pairs a row of one with a matching row of the other, with table aliases to name the columns clearly.
Introductory
Creating a table and loading data into it
Creating a table with columns of suitable types, filling it with INSERT, and loading a CSV file with PostgreSQL's COPY, into columns of text when the file is messy.
Introductory
A star needs an account to live in. Signing in from this page brings you back here.