switch-driven program
nounUK /swɪtʃ ˈdrɪvən ˈprəʊɡræm/
US /swɪtʃ ˈdrɪvən ˈproʊɡræm/
A switch-driven program is a computer program that chooses what to do by flipping on and off switches.
The toy robot runs a switch-driven program that turns its wheels when you press the button.
SYNONYMS
OTHER MEANINGS
2. A program whose behavior is selected by physical or virtual switches rather than typed commands.
The old elevator used a switch-driven program to pick which floor to stop at.
3. A piece of code that uses many if-or-switch choices to decide its next step.
Her game character moves by a switch-driven program that checks which key is pressed.
4. A simple control program in which each switch setting maps to one action.
The classroom lights follow a switch-driven program: one switch for bright, one for dim.