v3 Bytecode: Closures and Indexing 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. Immediately before SET_INDEX for a[2]=6, what is the push order from lower to upper stack positions?

Select one answer.

2. MAKE_MAP 3 consumes how many previously pushed key/value operands? Enter only the requested integer.
3. An outer function reserves ID 0, then an inner function reserves ID 1 and finishes first. What must consumers use to identify the outer function?

Select one answer.

4. What must be pushed before arguments for a v3 value-based call?

Select one answer.

5. Pairs are pushed in source order, and the final source pair has key x. How should reverse popping preserve last-source-pair-wins?

Select one answer.

Join Discord