Worked example · Expressive Arts · Year 5

Writing a drum loop with repeat blocks

DCF: Data and computational thinking → Problem-solving and modelling

What this is

A secure Year 5 response, annotated so you can see which success criterion each part meets. It is also the answer key. Key answers: bars E (4½) and F (3½) are the bugs; the loop is repeat 4 times [A B], repeat 4 times [C], repeat 2 times [A B]; 16 bars, 64 beats; quavers are ½ of bar B and semiquavers ¼ of bar D; 8 quavers or 16 semiquavers fill a bar; extension 32 seconds.

Step 1: how long is each note?

NotesBeats
1 crotchet1
1 quaver½
2 quavers1
1 semiquaver¼
4 semiquavers1
1 minim2
1 minim and 2 quavers3

Step 2: debug the bar cards

BarNumber sentence4 beats?
A1 + 1 + 1 + 1 = 4Yes
B½ + ½ + 1 + ½ + ½ + 1 = 4Yes
C2 + 1 + 1 = 4Yes
D¼ + ¼ + ¼ + ¼ + 1 + 1 + 1 = 4Yes
E1 + ½ + ½ + 1 + 1 + ½ = 4½No
F2 + ½ + 1 = 3½No

Bar C has a rest. It is silent but it still lasts 1 beat, so 2 + 1 + 1 = 4.

Fix E: take away the last quaver: C Q Q C C, 1 + ½ + ½ + 1 + 1 = 4.

Fix F: add a quaver after the first one: M Q Q C, 2 + ½ + ½ + 1 = 4.

Adds halves and quarters correctly and uses the totals to find the bugs. Other correct fixes: E could change the last crotchet to a quaver (C Q Q C Q Q); F could change the quaver to a crotchet (M C C). Evidences criteria 1 and 2.

Step 3: the song as a loop

repeat 4 times [ A B ]
repeat 4 times [ C ]
repeat 2 times [ A B ]

(a) 4 × 2 = 8 bars, then 4 bars, then 2 × 2 = 4 bars. 8 + 4 + 4 = 16 bars, the same as Gruff’s list.

(b) 16 × 4 = 64 beats.

Three lines replace sixteen, and the pupil checks the loop plays exactly the same bars. Evidences criterion 3.

Step 4: does the order matter?

ProgramPlays
repeat 2 times [ A B ]A B A B
repeat 2 times [ A ]
repeat 2 times [ B ]
A A B B
repeat 2 times [ B ]
repeat 2 times [ A ]
B B A A

A computer follows instructions in exactly the order they are written. The same bars in a different order make a different rhythm, so the drummer would not fit with the band.

Evidences criterion 4.

Step 5: fractions of a bar

(a) 4 quavers × ½ = 2 beats. 2 out of 4 beats = 2/4 = ½ of the bar.

(b) 4 semiquavers × ¼ = 1 beat. 1 out of 4 beats = ¼ of the bar.

(c) 8 quavers (8 × ½ = 4) or 16 semiquavers (16 × ¼ = 4).

(d) Bar G: S S Q C M. ¼ + ¼ + ½ + 1 + 2 = 4.

Knows that two quarters make a half and two halves make a whole, and writes the fractions in number sentences. Evidences criteria 1 and 5.

Step 6: test it

It fitted ☑. My partner counted to 4 and my last note, the minim, lasted for beats 3 and 4.

If you finish early: answer

64 beats ÷ 2 beats every second = 32 seconds.

Why this response is secure