Language Expansion: Variables, Statements, Functions Checkpoint

Predict fresh artifacts, diagnose a broken invariant, and test a version boundary. Select one answer per multiple-choice question; numeric responses use the stated integer format. Use review links to revisit the relevant representation, then attempt the independent transfer task.


Get every question correct to pass this checkpoint. You can review feedback, revise your answers, and submit again.

1. A language string contains the two source characters backslash and n. What happens when that escape is decoded?

Select one answer.

2. Which statement describes let and const in v2?

Select one answer.

3. Which value is truthy in v2–v5 under the VM contract?

Select one answer.

4. An otherwise valid quoted string contains an unsupported backslash-q escape. Which stage rejects it first?

Select one answer.

5. A tiny-lexer implementation accepts dot as punctuation. Should program-lexer v2 automatically keep that behavior?

Select one answer.

Join Discord