v5 Modules: imports, exports, and a linker mindset 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. In import geometry as g;, which name identifies the dependency and which is local to the importer?

Select one answer.

2. Which source module order satisfies imports A←B←main, where B imports A and main imports B?

Select one answer.

3. Which function declaration is valid v5 syntax?

Select one answer.

4. A module has internal hidden and exported shown. What should imported alias m allow via member lookup?

Select one answer.

5. Two modules each contain local function ID 0. What must linking do?

Select one answer.

Join Discord