Lexing: From Text to Tokens 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. For exact source a<=12 followed by one newline and b, what is EOF’s column on line 2? Enter only the requested integer.
2. How should the tiny lexer split iffy!=2?

Select one answer.

3. For exact source 8/2//note with no final newline, which meaningful tokens remain?

Select one answer.

4. Which input must the tiny-lexer reject rather than accept as a later-version feature?

Select one answer.

5. An unexpected character neither advances the cursor nor returns an error. What likely failure follows?

Select one answer.

Join Discord