- Announcements:
-
Continue to work on Lab 2: Repetition, Looping, and Making Choices.
- This lab is due Wed at midnight.
- It is assumed that you understand how to submit assignments on WISE.
If not, please see the instructor asap.
Begin Lab 3: Functions and Animation.
-
Programming Elements for this Week
- See Readings in Lab 3
- Review:
- Expressions (value) vs Statements (complete sentences, end with semi-colon)
- Variables: Declaration and Assignment
- Arithmetic (+, -, *, /, %) and the assignment statement (=)
- For-Loops
- Comparison operators: <, >, <=, >=, !=
- New Material:
- "if" statement and the "if-else" statement
- Boolean operators: AND (&&), OR (||), NOT (!)
- Functions: See notes.
- Animation - using setup() and draw()