Conditional Remix & Share Permitted
CC BY-NC-SA
This lesson introduces students to `while` loops and `if / else` statements. _While loops_ are loops that continue to repeat commands as long as a condition is true. While loops are used when the programmer doesn't know the exact number of times the commands need to be repeated, but the programmer does know what condition needs to be true in order for the loop to continue looping. `If / Else` statements offer flexibility in programming by running entire sections of code only if something is true, otherwise it runs something else.
- Subject:
- Computer Science
- Science
- Material Type:
- Lesson Plan
- Provider:
- Code.org
- Provider Set:
- CS Fundamentals 2019-2134
- Date Added:
- 11/06/2019