What is Control structure?

A basic structure that determines the flow of a program. There are three: sequence, which runs statements in order from the top; selection (conditional branching), which chooses statements according to a condition; and iteration, which repeats statements, for example while a condition holds. Any procedure is known to be expressible as a combination of these three (the structured program theorem).

Japanese name: 制御構造

Control structure appears in 1 practice question across 1 topic, including Programming Basics (Pseudocode Tracing).

Field: Programming Basics (Pseudocode Tracing)

Control structure in the explanations

Questions that mention Control structure (1)

  1. The following program has a condition inside a nested loop. What is the value of c after it runs?

Books on Programming Basics (Pseudocode Tracing) Ad

As an Amazon Associate I earn from qualifying purchases.

Related terms

Argument Array Bitwise operation Integer division Modulo operation Object-oriented programming Off-by-one error Pseudocode Return value Rounding error

Back to the glossary