Level 2

Class Survey Chart

Level 2 · Chapter 17

What this lesson follows

CSTA K–12 Computer Science Standards (2017)

Data & Analysis · Grades 3–5

Show data in a chart that backs up a claim.

Code 1B-DA-06Read the official text

Also practised: 1B-DA-07 · 1B-AP-15

Common Core State Standards for Mathematics

Measurement & Data · Grade 3

Make and read picture and bar graphs.

Code 3.MD.B.3Read the official text

The short lines are our own words. We matched this lesson to these standards ourselves; the standards' owners have not reviewed or endorsed this course.

Common Core State Standards © 2010 National Governors Association Center for Best Practices and Council of Chief State School Officers. All rights reserved.

Today you will survey the class about their chase games and build a picture bar chart of the votes.

1👋 Warm-Up

For teachers · goals · guide
Lesson Outcomes · for teachersCSTA 1B
✦ CSTA 1B-DA-06 · CSTA 1B-DA-07 · CSTA 1B-AP-15 · ISTE 1.5.b · Standards
🎯 I cansurvey the class about their chase games and build a picture bar chart of the votes
🧩 New blocks1 block
📝 New words9 words
⏱ Lesson time~35 min
Teacher Guide

📋 Before class

⚠️ Common misconceptions

  • Students may think a taller column means the icon is bigger. Clarify that the column is taller because it holds more votes, not a larger picture.
  • Students may start the two pets at different heights, so the columns cannot be compared fairly. Both pets must go to the same base line first.
  • Students may mix up change y by with the go to x: y: block from Ch4. change y by is relative: it moves the pet up from wherever it stands now. go to x: y: is absolute: it drops the pet on one fixed spot. Use go to x: y: once for the base line, then change y by for every vote.

🎯 Differentiation

🐢 Struggling: Give a printed grid with two empty columns. Let students draw one box per vote by hand, then match the drawing to the pet that climbs higher on screen.

🚀 Advanced: Challenge students to add a third pet column for a new chaser choice, run the survey for the whole class, and write one claim sentence that names the winner and the runner-up.

💡 During the lesson

  • Warm-UpFrame the vote on the games the class just built: "In our next chase game, who should chase — the cat or the dog?" Count hands out loud for each pet. Write the two totals on the board as two stacks of tally marks. Point out that the taller stack is easy to read from across the room. This is the whole idea of a chart: turn counted votes into a height you can see. Do this before any code appears.
    Ask: "Which pet won on our board?" Let two students answer by pointing to the taller stack, not by reading the number. Build the habit of reading a claim straight from the picture. That is CSTA 1B-DA-06, present data to support a claim. Save the two totals — students use their real class numbers in the Build.
  • Try Itchange y by is the new block of this chapter, and it is relative: it adds 40 to the pet's current y, so each run of it means one more vote. Contrast it with go to x: y: from Ch4, which is absolute and always lands on the same spot — that is the pair students confuse most. Change the repeat number one step at a time and watch the cat rise higher with each added vote. For an extra try (the 🟡 ball vote in Extend), add a 🔴 Ball sprite with if <touching [Ball ▾]?> then around change y by (40) and park it on the base before the flag: the if checks once, so one flag click adds at most one vote — a quick review of conditions from Ch9 and Ch10. Stress that the repeat number equals the vote count, and the height shows that count as a picture.
  • PlanDo the first box together. Pick, then watch both stages, and say each step aloud. Ask "Which box gives the answer?" (The last one.) The dog follows the same plan, at x 100. Stress that the base line comes first, because a fair compare needs both pets starting from the same height.
  • BuildCheck that both sprites start with go to x: y: at the same y, minus 120, and differ only in x. If a student skips the base, the pets climb from wherever they were left and the columns will not line up. Confirm the repeat number on each pet matches that pet's real vote count from the class survey — the numbers on the board, not the 3 and 2 in the sample. The chart is only honest when the height equals the count.