🧠Concept

Pick the right answer.

Concept · Q1
What does ([floor ▾] of (3.9)) return?
Concept · Q2
What does ([abs ▾] of (-25)) return?
Concept · Q3
You call ([sqrt ▾] of (answer)) and the user typed -4. What does Scratch display?
Concept · Q4
In the circular orbit formula, which two operations from the ([sqrt ▾] of ()) block are used to calculate the star's x and y positions?

👀Code Reading

Look at the blocks. Predict what happens.

Code Reading · CR1
What does this script say when the user types 7.8?
when flag clicked
ask [Enter a number:] and wait
say ([ceiling v] of (answer)) for (2) seconds
Code Reading · CR2
What value is stored in distance if Pico is at x:0 y:0 and Star is at x:3 y:4?
when flag clicked
set [distance v] to ([sqrt v] of ((((x position) - ([x position v] of [Star v])) * ((x position) - ([x position v] of [Star v]))) + (((y position) - ([y position v] of [Star v])) * ((y position) - ([y position v] of [Star v])))))
Code Reading · CR3
What does this script display after the user types -9?
when flag clicked
ask [Enter a number:] and wait
set [input v] to (answer)
say (join [abs: ] ([abs v] of (input))) for (2) seconds
say (join [floor: ] ([floor v] of (input))) for (2) seconds

🐛Find the Bug

Something is broken. Pick the fix.

This script should display the square root of any number the user types, but when the user enters a negative number it shows "NaN". What is the fix?

when flag clicked
ask [Enter a number:] and wait
set [result v] to ([sqrt v] of (answer))
say (result) for (2) seconds

🛠️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 the floor block and the ceiling block.
  3. 3️⃣Say what each one does.
🧑‍🏫
For the teacher

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

Presentation Checklist

0 of 3 ticked

📤Submit

Send your results to your teacher and parent.

0 of 0 answered