awesome-everything RU
↑ Back to the climb

Base CS from zero

Values and types: free-recall review

Crux Free-recall prompts across the unit. Answer each from memory first, then open the model answer and compare what you missed.
Your altitude — climbing toward senior
ZeroJuniorMiddleSenior
You are at middle altitude — in the sky
◷ 13 min

Recall beats re-reading. For each prompt, say or write a full answer from memory before you open the model answer — the effort of pulling it back is what makes the idea stick.

Goal

Reconstruct the unit’s spine without looking back: what a value is, what a type does, why the same bits decode differently, the everyday JS primitives, the null/undefined distinction, and why type systems exist at all.

Recall before you leave
  1. 01
    At the machine level, what exactly is a value, and where does its meaning come from?
  2. 02
    What is a type, and what two pieces of information does it supply?
  3. 03
    Show how one bit pattern produces different values under different types.
  4. 04
    Name the everyday JS/TS primitive types and the one fact about how numbers are stored.
  5. 05
    Distinguish null from undefined, and state what typeof null returns.
  6. 06
    Why do type systems exist, and how do static and dynamic checking differ?
Recap

If you could rebuild each answer from memory, you hold the unit’s spine: a value is raw bits, a type is the size-plus-interpretation rule that gives them meaning, the same bits decode to different values under different rules, JS exposes a handful of primitives (with every number a 64-bit IEEE 754 double and null/undefined as two distinct absences), and a type system exists to catch the wrong rule being applied — early at compile time, or late at run time.

Continue the climb ↑Values and types: code reading
shortcuts expand
search
K
prev piece
k
next piece
j
cycle tier
t
this menu
?
sources3
expand
  1. 01
  2. 02
  3. 03

Trademarks belong to their respective owners. Editorial reference only.