1.4 Display Binary Numbers (using a variable, operator and a repeat loop)

Scratch solution

View solution

This is just one of many possible solutions:

when green flag clicked
set [number of dots v] to [1]
repeat (5)
  say (number of dots) for (1) secs
  set [number of dots v] to ((number of dots) * (2))
end

Back to programming challenge

Extra Challenge

Display the numbers from largest to smallest (display numbers 16, 8, 4, 2 and 1).