Question 1
The commands below change a frog’s color. Each command has the form “If ... then ...” or “If ... then ...; otherwise ...”. Initially the frog has an unknown color. Which commands make the frog blue?
Editorial execution convention: execute the lines in order, testing each condition against the current color after any preceding change. Select all valid options.
Editorial execution convention: execute the lines in order, testing each condition against the current color after any preceding change. Select all valid options.