switch-based program
nounUK /swɪtʃ beɪst ˈprəʊɡræm/
US /swɪtʃ beɪst ˈproʊɡræm/
A switch-based program is a computer program that uses on and off choices to decide what to do.
The toy robot runs a switch-based program that turns its lights on and off.
RELATED WORDS
OTHER MEANINGS
2. A program whose behavior is selected by physical switches rather than typed commands.
The old machine used a switch-based program set by flipping levers on its panel.
3. A software routine that chooses between two paths using a switch statement.
The developer wrote a switch-based program to pick a color from a menu.
4. A training or activity plan that changes steps based on simple yes-or-no signals.
The coach made a switch-based program that swaps drills when a player says yes or no.