Week 01 - September 16¶
Class Description¶
This week we dive into decision-making in programming and the mathematical foundations of logic. We'll explore how computers make decisions using conditional statements and boolean expressions, while also learning about logical operators and their mathematical properties.
Before Class¶
Flipped Classroom Reminder¶
Remember: Watch the videos before class so we can spend our time together on active learning and problem-solving!
Videos to Watch Before Class¶
Please watch the following videos before our class meeting:
CS 5001 - Week 1: Flowcharts, Conditionals & Boolean Expressions¶
- Lesson 1.1: Intro to Conditionals, Logical Operators, and Debugging [Text]
- Lesson 1.2: Boolean Expressions [9:04]
- Lesson 1.3: Conditional Statements [9:22]
- Lesson 1.4: Nesting if Statements [4:19]
- Lesson 1.5: Multiway Conditionals [4:22]
- Lesson 1.6: Logical Operators [11:10]
- Lesson 1.7: Common Errors [9:07]
- Lesson 1.8: Tracing and Debugging [18:04]
- Lesson 1.9: Good Style [2:10]
CS 5002 - Module 2: Statement Representation¶
- Lesson 1: Logical Operators (NOT, AND, OR)
- Lesson 2: Logic Gates
- Lesson 3: Implication
- Lesson 4: Logic Rules Part 1 (DeMorgan's Laws)
- Lesson 5: Logic Rules Part 2 (Identity and Complement)
- Optional: Predicate Logic and Quantifier Negation
Practice Math Problems¶
Before class, you are encouraged to work on the practice problems in your notebook (the practice problems are posted on Slack).