Start here · Essential guide
What Is Sequencing in Computer Science?
Sequencing means running instructions in the order written. Learn how it works, why order matters, and how it fits with selection and iteration.
CS fundamentals
Clear explanations of algorithms, data structures, complexity, memory and the basic ideas behind how computers and programs work.
Featured guides
Each one links on to more specific articles in its topic.
Start here · Essential guide
Sequencing means running instructions in the order written. Learn how it works, why order matters, and how it fits with selection and iteration.
Selection is how a program picks which code to run based on a condition. Learn how if, if-else, else-if and switch work, with examples and common mistakes.
Learn how primitive and non-primitive data types differ, with examples of what each holds and how Java, Python and JavaScript handle them in practice.
Discrete structures are math topics that underpin computer science: sets, logic, graphs, counting and proofs. Learn what they cover and where they're used.
Computer science studies computation itself, while computational science uses computing to solve problems in other fields. Here is how the two differ and overlap.
Browse
Core programming ideas, data types, discrete math and how memory and the CPU are managed.
Arrays, stacks, trees, hashing and the abstract types behind them.
Sorting, graph algorithms, recursion and the main strategies for designing algorithms.
How to measure algorithm cost and what happens when problems are too hard to solve exactly.