decision-based coding
nounUK /dɪˈsɪʒən beɪst ˈkəʊdɪŋ/
US /dɪˈsɪʒən beɪst ˈkoʊdɪŋ/
Writing computer instructions where the program picks what to do next by checking if something is true or false.
In decision-based coding, the game asks if the player has enough coins before letting them buy a hat.
RELATED WORDS
OTHER MEANINGS
2. A teaching style where students choose between options to build a program step by step.
The teacher used decision-based coding to let kids pick which path the robot should take.
3. Software design that centers on rules for making choices rather than fixed steps.
The app's decision-based coding decides which menu to show based on the user's age.
4. Using yes-or-no questions to guide how a computer solves a problem.
Her decision-based coding helped the quiz game choose the next question.