v5 Bytecode: compiling modules 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. Why build the export map before EXIT_SCOPE and DEFINE_CONST moduleName?

Select one answer.

2. Which sequence lowers imported member u.answer?

Select one answer.

3. A module exports primitive var n=0 and a closure that later sets captured n=1. What does the existing export map’s n entry do?

Select one answer.

4. A module exports three names. How many key/value operands are pushed before MAKE_MAP 3? Enter only the requested integer.
5. What coordinate system should CompileModules use before Link?

Select one answer.

Join Discord