Sep 18: More Logic, Tracing
Meet in EnGeo 2208
Learning Objectives
After today's class, you should be able to:
- Predict output when using nested
ifstatements and short-circuit logic. - Use a debugger to step through and examine programs one line at a time.
- Use
help()to explore built-in functions in a shell.
Lesson Outline
Presentation [10 min]
- Using
help()to read the documentation of a built-in function
Boolean Logic [10 min]
- Chained conditions
- Nested conditions
- Short-circuiting
Activity [30 min]