control structure

noun
UK /kənˈtrəʊl ˈstrʌktʃə/
US /kənˈtroʊl ˈstrʌktʃər/

A control structure is a rule in a computer program that tells it which steps to do and in what order.

The teacher explained that a loop is a control structure that repeats a step many times.


OTHER MEANINGS

2. A system of rules and checks that keeps an organization or machine working safely and correctly.

The factory added a new control structure to make sure every machine stops if something goes wrong.

3. The way parts of a system are arranged so that one part can guide or limit another.

The robot's control structure lets the main computer decide when the arms should move.

4. In grammar, the pattern that links a main clause with a dependent clause.

The sentence 'I will go if you come' uses a control structure to show the condition.