end-structure statement
a statement that marks the end of a block of code, such as the end of a loop or an if statement
block
a group of statements that are executed together, typically enclosed in curly braces or defined by indentation
dual-alternative if
a selection statement where the code can branch to one of two possible paths based on a condition being true or false and there is no condition for skipping selection (aka if-else)
loop structure
a way to repeat a block of code multiple times based on a condition, such as for loops or while loops
loop body
A loop body is the block of statements within a loop that executes every time the loop iterates.
nesting structures
placing one control structure, such as a loop or an if statement, inside another
null case
a situation in which no action is taken, often used as the default case in a switch statement or when no conditions in an if statement are met
selection structure
a control structure that chooses different paths of execution based on conditions, such as if statements or switch cases
sequence structure
the simplest control structure where actions are performed one after another in order
single-alternative if
an if statement that provides only one path of execution if the condition is true; no action is taken if the condition is false
stacking structures
placing one control structure after another in sequence
structure
an organized way to control the flow of a program, such as sequences, selections, and loops
while loop
a loop that repeats a block of code as long as a specified condition is true