YB07_02 – Using switch Effectively: break, default, and Fall-Through
Learning Goal: Understand how to properly use break in switch cases to control flow, the role of the default case, and what fall-through behavior means.
YB07_03 – Loops Introduction: Repeating Actions in Code
Learning Goal: Grasp the concept of loops and why they are needed – to repeat a set of instructions multiple times without writing them out repeatedly.
YB07_04 – The while Loop: Repeating with Pre-Check
Learning Goal: Learn how to use the while loop to repeat actions as long as a condition remains true, and understand its characteristics (pre-check loop, may execute zero times).
YB07_06 – The for Loop: Definite Iteration Made Easy
Learning Goal: Learn how to use the for loop for situations where the number of iterations is known or can be defined, and understand its structure (initialization, condition, update).
Learning Goal: Learn how to control loop execution using break (to exit a loop early) and continue (to skip the rest of the current iteration), and understand their effects especially in nested loops.
YB07_08 – Real Flow Example: Combining Loops and Conditions
Learning Goal: Apply switch and loops together in a practical scenario, demonstrating real program flow control (e.g. a simple menu-driven program or repetitive task with conditional logic).