Use Case Summary Flashcards
Use whenever you need to store and manipulate data throughout your program. They allow for dynamic data handling and are fundamental for calculations, data storage, and control flow.
Variables
Use when you need to execute different code paths based on varying conditions or inputs. This is essential for decision-making processes in your program
Branches
Use when you need to perform the same operation multiple times, especially when working with lists, arrays, or when the number of iterations is not predetermined
loops
Use when you need to store multiple items of the same type together, especially when you want to efficiently access, modify, or iterate over that collection.
arrays
Use when you want to encapsulate a specific task or calculation that may be reused multiple times throughout your program. This promotes code reusability and organization
user-defined functions