Question:

How much code scaffolding should I use in the sample code?

Answer:

Writing code is one of the fun things about completing DataCamp Courses and Projects, so use the least amount of scaffolding that will allow the students to complete the exercise without resorting to hints.

This depends:

  1. Are there multiple solutions to the exercise? Where there are many possible solutions to an exercise, it can become tricky to write high quality feedback tests for all solutions. In this case, you may wish to provide more scaffolding to encourage students towards a particular solution.
  2. Do you want to focus students' attention on a particular piece of code? Some lines in an exercise may be more closely related to the learning objective of the exercise than others. Make the students type more of those lines.
Did this answer your question?