which of the following is an example of sequential program flow?

A. A sprite in a block-based program keeps jumping until the user says to stop.
B. A sprite in a block-based programs goes outside if it's not raining but stays inside if it is raining.
C. A sprite in a block-based program jumps up and down 50 times.
D. A sprite in a block-based program takes four steps forward, jumps, and then walks backward.

1 answer

The best example of sequential program flow from the options you provided is:

D. A sprite in a block-based program takes four steps forward, jumps, and then walks backward.

This option clearly demonstrates a sequence of actions that occur one after the other in a specified order. Each action follows the previous one, which is a key characteristic of sequential programming.