Review the diagram, then answer the MCQs. Aim for a full score before Practice.
for = known sequence. while = keep going until a condition fails.
Use this quiz like the AI Workshop check: teach with visuals, then verify with questions.
Answer all questions, then click Check answers. Use this before Practice in the editor.
Q1. What is a loop for?
Q2. `for i in range(3)` repeats how many times?
Q3. What usually stops a `while` loop?
Q4. Summing 1..N is best done with…