I want to get my students to exercise the conditional-branching mind-muscle. [edit: and I need it to be fun/playful]
I will ask them to read pseudo-code, then represent as a branching sketch[^1]. And vice-versa, go from illustration[^2] to pseudo-code. Then of course coding practice.
I wonder whether other teachers have found preferred[^3] conditional-branching exercising scenarios. For "scenarios" I mean the stage-setting one does for an exercise to have meaning or sense beyond the pure technical ability. Real life scenarios are ok but magic fungi that split in half and multiply by two are also ok.
Do you know any good conditional-branching exercising scenarios? [^4]
I'm right now thinking for a second class' homework. My students at this point are just familiar with assignment,
floats, and printing and reading input... but of course I'm curious about any other that might have come to your mind.
Third class is lists and loops. Language is python. This line is mostly anecdotic but could be relevant.
Sincere thanks Let in the poetry I'm happy about finding this sx
## 3/1 Update
I am now thoroughly convinced that while loops fall into this class, as they are clearly conditional branching. In a longer course they might take a class on themselves, but since I've got eight classes I'd rather include them in this one and take the next one on for loops and lists than simple-mindedly slicing "loops" into its own class, as I feel somewhat inadequate to state that "there are two kinds of loops..." as I often read or hear. This opens a lot of room for creative exercise scenarios. For instance offering a recurring menu could lead to fun name-composing. Btw my students are high-schoolers mostly.
[^1]: (with no enforced appearance conditions, like the non-cute rhombus and whatnot)
[^2]: (patiently drawn by the writer)
[^3]: ("my lil battle horse")
[^4]: (I hope you'll spare me asking subjective, since I come with so much joy for my students and passion for the trade)