A programmer used Scratch to create a program with three frog sprites. If a
user clicks any of the frogs, they make a "boing" sound and glide to a random
position in the stage panel.
In this scenario, what are two examples of an algorithm?
A. The combination of panels that compose the Scratch interface
B. The code that instructs the computer to move the sprite after it is
clicked
C. The user's decision about which frog to click
D. The code that generates a random location each time.