Test 3
Test 3
• Which block would you use to repeat an action until a condition is met?
a) Forever
b) Repeat until
c) Wait
d) Broadcast
• What is the outcome of a logical test that compares two equal numbers?
a) True
b) False
c) Error
d) Loop
• How many times will a loop execute if the counter is set to 10?
a) 9
b) 10
c) Infinite
d) Until a condition is met
• What will the following code do? "Set variable X to 5, then change X by 3."
a) X becomes 8
b) X remains 5
c) X becomes 3
d) X becomes 15