Remember: A variable can count. Each time, it takes its old value and adds one.
Questions
1
🚦Will a counter count up if you start at zero, add one each time?
YesNo
2
Which rule is a bug in a counter?
🙈forget the old value➕add one to the old value🚦start at zero, add one each time
3
Which rule does not make a counter count up?
put zero in the box every time➕add one to the old value🔁take out, add one, put back
4
Which rule does not make a counter count up?
🧮set stars to stars plus one🚦start at zero, add one each time🗑️empty the box each time
5
Which rule does not make a counter count up?
🔁take out, add one, put backput one in the box every time🚦start at zero, add one each time
6
Which rule makes a variable count up?
🙈forget the old value🔁take out, add one, put backput one in the box every time
7
Which rule makes a variable count up?
🗑️empty the box each timeput one in the box every time➕add one to the old value
8
Which rule makes a variable count up?
🧮set stars to stars plus one🙈forget the old valueput one in the box every time
9
Which rule does not make a counter count up?
🙈forget the old value🚦start at zero, add one each time➕add one to the old value
10
Which rule is a bug in a counter?
put one in the box every time🔁take out, add one, put back🧮set stars to stars plus one
11
Which rule is a bug in a counter?
🔁take out, add one, put back➕add one to the old valueput zero in the box every time
12
Which rule is a bug in a counter?
🗑️empty the box each time➕add one to the old value🧮set stars to stars plus one
Scan the code at the top to mark this sheet on screenTake a photo of your answers or type them. It is marked for you automatically, and your score is kept.
Answer key · Set C
Counting stars with a variable
1Yes
2forget the old value
3put zero in the box every time
4empty the box each time
5put one in the box every time
6take out, add one, put back
7add one to the old value
8set stars to stars plus one
9forget the old value
10put one in the box every time
11put zero in the box every time
12empty the box each time
Mark each answer, count the right ones and write the score on the sheet.