What a coding worksheet generator must handle
First period, Grade 8 Python. You need a one-page warmup that mixes three MCQs (predict-the-output), two fill-in-the-blank items (operators and keywords), and two short answers (trace a variable through a loop). A general-purpose worksheet tool will drift toward vocabulary trivia. A coding-ready generator should accept real code blocks, keep stems short, and propose distractors that reflect authentic mistakes: off-by-one in range(), confusing assignment with equality, or printing vs returning.
Set constraints up front: language (Python 3, JavaScript ES6), max 8 lines per snippet, no hidden globals, and integer math only if you don’t want float quirks. Ask for outputs to be exact, including whitespace and case. For fill-in-the-blank, use blanks that map to a single valid token, not whole lines. A productive flow is to open the draft workspace, paste a small snippet, and specify the item mix you want; you can open the worksheet generator here and try that pattern on a loop or conditional you taught yesterday.