Parsing & ASTs: Structure Over Text 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. What is the root shape for 24/4/2 + 1?

Select one answer.

2. Using the specified AST rules, what is the arithmetic result of 14-6/2-1? Enter only the requested integer.
3. Parse returns Number(4) for tokens NUMBER(4), NUMBER(5), EOF. Which check is missing?

Select one answer.

4. What should parentheses contribute to this exercise’s Expr tree for (2+3)*4?

Select one answer.

5. Which expression requires the later v3 postfix-call extension?

Select one answer.

Join Discord