Design for code-first checks, not word recall
Grade 8 students just learned loops in Python. A useful Arabic quiz at this moment asks them to trace a for-loop, fix an off-by-one error, and choose the correct Arabic term for “index” that your department uses ("فهرس" or "مؤشر"). That is different from a vocabulary-only item asking what a loop is. In Arabic-medium coding, stems should be short and anchored to a visible snippet so reading load stays on the code, not on long prose.
Prioritize items that force interaction with the program logic: predict-the-output, identify-the-bug, choose-the-correct-line-to-insert, or select-all-that-apply about runtime vs syntax errors. Keep distractors realistic: show common mistakes like using "<=" instead of "<" or mixing tabs and spaces. For Scratch, swap in block screenshots with Arabic stems that prompt sequence or event logic rather than naming blocks. To test this pattern quickly, open the generator and start from a snippet students already saw—then check that each question cannot be answered without reading that code. You can open the Arabic quiz generator and build that draft in under five minutes.