Scratch Retest

By Mickey Arnold
Last updated 10 months ago
5 Questions

What is output by the code to the below?

set a to 99
if a < 99
say "abc"
say "def"

What is output by the code to the below?

set d to 80
set e to 60
if d > 90
say "abc"
if e < 95
say "def"

What is output by the code to the below?

set a to 55
repeat 5
change a by -5
say a

What is output by the code to the below?

set c to 10
repeat until c > 49
change c by 8
say c

What is output by the code to the below?

set e to 0
set count to 0
repeat until e > 90
if e < 50 change e by 15
else
change e by 9
change count by 1
say count