conditional program
nounUK /kənˈdɪʃənəl ˈprəʊɡræm/
US /kənˈdɪʃənəl ˈproʊɡræm/
A set of computer steps that only happen if something else is true.
The game uses a conditional program to decide if you win or lose.
RELATED WORDS
OTHER MEANINGS
2. A plan of actions that depends on certain conditions being met.
The picnic has a conditional program: if it rains, we stay indoors.
3. In computing, a program whose instructions run only when a test is true.
The robot follows a conditional program to avoid walls.
4. A set of conditional rules in a learning exercise.
Students wrote a conditional program to sort shapes by color.