🧠Concept

Pick the right answer.

Concept · Q1
What does insert [red] at (1) of [votes] do?
Concept · Q2
A button uses change [red] by (1) on click. How does the count grow?
Concept · Q3
What is the difference between add and insert at (1)?

👀Code Reading

Look at the blocks. Predict what happens.

Code Reading · CR1
The list votes is empty. You run this. What is item 1 of votes?
add [red] to [votes v]
add [blue] to [votes v]
insert [green] at (1) of [votes v]
Code Reading · CR2
The list counts holds [4, 2, 5]. What does top hold after this runs?
set [top v] to (item (1) of [counts v])
set [i v] to (1)
repeat (length of [counts v])
  if <(item (i) of [counts v]) > (top)> then
    set [top v] to (item (i) of [counts v])
  end
  change [i v] by (1)
end
Code Reading · CR3
The list votes holds [red, blue]. What number does this show?
insert [green] at (1) of [votes v]
set [total v] to (length of [votes v])

🐛Find the Bug

Something is broken. Pick the fix.

This should put the newest vote at the front of votes, but it goes to the end. What is the fix?

when this sprite clicked
change [green v] by (1)
add [green] to [votes v]

🛠️Build It

Pick a level. Build it. Check the boxes.

🧑‍🏫
For the teacher

Review the student's project, then check each thing they did.

Project Evaluation

0 of 4 ticked

💬Talk About It

Present your project to your teacher or a classmate.

  1. 1️⃣Show your project.
  2. 2️⃣Point to a count monitor, the list, and the insert block.
  3. 3️⃣Click a button, then say one word: which color is the most.
🧑‍🏫
For the teacher

Watch the student present, then check each thing they did.

Presentation Checklist

0 of 4 ticked

📤Submit

Send your results to your teacher and parent.

0 of 0 answered