All Collections
Course Development
Course "Iterative" exercises
Course "Iterative" exercises

Learn about DataCamp's Iterative exercise type.

Amy Peterson avatar
Written by Amy Peterson
Updated over a week ago

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 learner to complete more and more of the code themselves.


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).

Did this answer your question?