The example you've provided, "A sprite in a block-based program keeps jumping until the user says to stop," is not an example of sequential program flow. Instead, it represents a form of iterative or event-driven behavior because it involves a loop that continues to execute based on user input.
Sequential program flow refers to a linear sequence of steps where each step is executed in order, one after the other, without any branching or iterations. An example of sequential program flow would be a simple program that performs a series of actions, such as:
- Display a welcome message.
- Ask the user for input.
- Process the input.
- Display the results.
If you have more examples or need clarification on different types of program flow, feel free to ask!