Iterative exercises combine several sub-exercises into one and are meant to iterate over the same concept. The parts of an Iterative exercise are independent, and they are designed to let learners practice a skill several times. For example, a bullet exercise in a SQL course might ask the learner to select films by title, then select films by director, then by country, and so on. You can also use Iterative exercises for "faded" learning, where the same code is presented in each step, but the level of scaffolding increases each time, forcing the student to complete more and more of the code themselves.
Watch this video that compares Iterative and Sequential exercises to ensure the different use cases for each exercise type are clear.
Iterative exercises should have:
- A maximum context length of 600 characters ( ~300 characters is recommended).
- Between 2 - 4 steps (recommended is 3).
- Each step must have only one instruction that is between 10 - 120 characters (recommended is 60).