Use Case Summary Flashcards

1
Q

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.

A

Variables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

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

A

Branches

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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

A

loops

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

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.

A

arrays

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

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

A

user-defined functions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly