A computer program will take the user on a virtual tour of a national park. The program will show the same slides in the same order every time the program is run. This program is an example of which of these structures?

sequence
selection
iteration
array

1 answer

The computer program you described, which shows the same slides in the same order every time it is run, is an example of sequence.

In programming, a sequence refers to a series of instructions that are executed in a specific order, one after the other. Since the slides are shown in a fixed order without any conditional branching (selection) or repetition (iteration), it fits the definition of a sequence structure.