Lecture Notes for March 4
Exam 1 Next Week Wednesday!!!
Read for Today
- Sections 6.2, 6.3, and 6.4.
Topics to Cover Today
- Expression evaluation (quick wrap up)
- orthogonality, expression-oriented, statement-oriented
- definite assignment, dynamic checks
- ordering within expressions (e.g., evaluating arguments)
- Structured and unstructured flow
goto
(considered harmful)- "structured" gotos: return, break, continue, throw/raise.
- Sequencing: compound statement, block
- Selection:
- if-then-else/cond, case/switch
- implementations