The whole, before the parts

Computer science studies how information can be represented and processed, and what limits those processes. Citation needed

Computation and abstraction establish what a program does. Data structures and algorithms connect representation to efficient procedures; architecture explains the machine beneath them, while language theory and computability examine meaning, guarantees, and limits. Citation needed

A concrete example

To find a name in a sorted directory, repeatedly discard the half that cannot contain it. The procedure matters even if you perform it on paper. Citation needed

Terminology

computation
transforming input to output by fixed rules Citation needed
algorithm
a precisely described procedure for solving a class of problems Citation needed
abstraction
using a simplified description while leaving out irrelevant detail Citation needed
interface
the defined ways to interact with a component Citation needed
data structure
an arrangement of data that fixes which operations are cheap Citation needed
complexity
how an algorithm's time or space cost grows with input size Citation needed
undecidable
having no algorithm that always gives the correct yes-or-no answer Citation needed

Core questions

Use the overview and terminology to answer each question before reading its answer.

Which property of a directory lets binary search discard half at each step?
the entries are sorted Citation needed
Why can an algorithm be studied without running it on a computer?
its rules can be followed independently of the hardware Citation needed
Is computer science the study of computers?
no — of computation, which computers merely run Citation needed
What resource does time complexity measure?
how computation time grows with input size Citation needed
What resource does space complexity measure?
how memory use grows with input size Citation needed
Why does complexity track growth rather than raw speed?
hardware changes; growth rates do not Citation needed
What does choosing a data structure decide?
which operations will be cheap Citation needed
What does abstraction buy?
using a component without knowing its insides Citation needed
What is the classic undecidable problem?
whether a program will halt Citation needed
Can a faster computer solve an undecidable problem?
no — no algorithm exists at any speed Citation needed

Learning path

In order — each topic assumes the ones above it. Where a topic also needs something filed under another discipline, that prerequisite is linked with it.

  1. Computation & Abstraction

    What a computation is, and why abstraction is the field's core move. Citation needed

    Also needs Propositional LogicFormal Sciences › Logic

  2. Data Structures

    How representation choices determine what is cheap and what is expensive. Citation needed

    Also needs Discrete MathematicsFormal Sciences › Mathematics

  3. Algorithms & Analysis

    Classic algorithms and asymptotic reasoning about cost. Citation needed

  4. Computability & Complexity

    Decidability, reductions, and the complexity classes. Citation needed

    Also needs Incompleteness & ComputabilityFormal Sciences › Logic

  5. Programming Languages & Type Theory

    Semantics, type systems, and what a type actually guarantees. Citation needed

    Also needs Predicate LogicFormal Sciences › Logic

  6. Computer Architecture

    Logic gates up to memory hierarchies and instruction sets. Citation needed

    Also needs Electricity & MagnetismNatural Sciences › Physics

Sources and further reading

Core overview reviewed . Topic pages provide more specific explanations and reading.