Test what you know.
23 quizzes and 1150 questions on C++ and core technology. Sign in with GitHub to take them, track your scores and get on the leaderboard.
How long can your streak go?
Random questions from every quiz, one after another. The first wrong answer or timeout ends the run.
C++
C++ Fundamentals
Types, references, control flow and the standard library basics every C++ programmer needs.
C++ Memory & Undefined Behavior
Lifetimes, dangling references, ownership and the bugs the compiler won't catch for you.
C++ STL Algorithms
sort, find, remove-erase, binary_search, unique, min/max and friends.
Modern C++ (11 to 20)
Move semantics, lambdas, smart pointers, auto, structured bindings and friends.
PG2
PG2: Methods, References & Const
Static vs instance methods, declaring and defining methods, default parameters, references and const.
PG2: Vectors, Iterators & Maps
std::vector, iterators, erasing safely in a loop, and std::map.
PG2: Recursion, Sorting & Searching
Recursion, pseudocode, merge sort, linear and binary search, and Big-O.
PG2: Classes, Inheritance & Pointers
Classes and structs, constructors, getters and setters, inheritance, polymorphism, pointers and upcasting.
PG2: File I/O & CSV
The CSV format, ofstream and ifstream, parsing with getline and stringstream, serializing and deserializing.
SPR
SPR: Bitwise Operations
Bit masks, AND/OR/XOR/NOT, shifts, flags and reading binary.
SPR: Pointers, Arrays & C Strings
Pointer arithmetic, arrays decaying to pointers, char arrays, const pointers and passing pointers to functions.
SPR: Dynamic Memory & the Rule of 3
new and delete, leaks, dangling pointers, deep vs shallow copies, and the copy constructor, assignment operator and destructor.
SPR: Templates & Generics
Function and class templates, type deduction, specialization, and where template code lives.
SPR: Functional Programming
Pure functions, immutability, lambdas, std::function, and map/filter/reduce with the standard algorithms.
SPR: Namespaces, Headers & Binary Files
Header-only helper libraries, namespaces, include guards, input validation, and reading and writing binary files.
Computer Science
Data Structures
Arrays, linked lists, stacks, queues, trees, heaps, hash tables and graphs, and their costs.
Operating Systems & Concurrency
Processes, threads, memory, scheduling, locks, and race conditions.
Technology
Databases & SQL
Tables and keys, SELECT queries, joins, aggregates, indexes and transactions.
Tech Fundamentals
Networking, Linux, Git, data structures and number representation.
Git & Version Control
Commits, branches, merging, rebasing, remotes and undoing mistakes.
Linux & the Shell
Files and permissions, processes, pipes and redirection, and everyday commands.
Networking
IP addressing, TCP/UDP, ports, DNS, HTTP and how traffic gets from A to B.
Security Fundamentals
Passwords and hashing, encryption, web vulnerabilities, authentication and safe habits.