repetition
selection
sequency
sorting
Answer is Right!
Answer is Wrong!
The correct answer is D. Sorting is not a programming control structure.
A programming control structure is a way to control the flow of execution of a computer program. The three basic control structures are sequence, selection, and repetition.
- Sequence is the simplest control structure. It allows the program to execute statements one after the other.
- Selection allows the program to choose between two or more possible paths of execution based on a condition.
- Repetition allows the program to execute a block of statements multiple times, until a condition is met.
Sorting is not a programming control structure. It is an algorithm that rearranges the elements of a data structure in a specific order. Sorting is often used to improve the performance of other algorithms, such as searching.