Rate Tips

Misconception: Students think that a “repeat 1” block in Scratch will execute the relevant script twice, where the script executes once and then repeats once.

  • For example, students will think that the "repeat 1" in the following code means that the note plays once and then repeats once. However, the "repeat 1" block only plays the note one time.
    • Students have a reasonable intuition that repeat only happens after an event has occurred, but this is simply not how repeat blocks work.
    • when green flag clicked: repeat 1: play note (60) for (0.5) beats