v4 Control Flow: for, break/continue, && / || 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. Start total=0. For i=0 through i<5, continue at i=2, break at i=4, otherwise add i; post increments i. What is final total? Enter only the requested integer.
2. A for loop has an increment in its post clause. Where must continue transfer after body-scope cleanup?

Select one answer.

3. What happens to false && missing() when missing is undefined?

Select one answer.

4. What does nil || 5 evaluate to in v4?

Select one answer.

5. How should v4 lex the single character | when not followed by another |?

Select one answer.

Join Discord