Music that repeats
Answers are for parents and teachers.
1
Perform this rhythm algorithm: 1 Start. 2 Pat your knees. 3 Pat your knees. 4 Pat your knees. 5 Click your fingers. 6 Repeat steps 2 to 5 three more times. 7 Stop. How many pats and how many clicks do you make in all?
Steps 2 to 5 are done 4 times, so 12 pats and 4 clicks.
2
Think of a song with a line that repeats, such as a chorus. Write how many times each line is sung.
Answers vary. Look for a correct count of repeated lines.
3
Write an algorithm for playing C for 1 beat and E for 1 beat, four times. Write it in two ways: with every step written out and with a repeat. Count the steps in each.
Every note written: 10 steps (start, 8 notes, stop). With a repeat: 5 steps (start, C, E, repeat, stop).
4
Tap a rhythm on a table. Keep repeating it until a family member raises a hand. What kind of loop did you use?
A condition-controlled loop: it repeats until the hand is raised.
5
(if you have a computer or tablet) Make a sprite play a note inside a repeat until block that stops when you press a key.
The sprite plays the note again and again and stops when the key is pressed.