Unit 3 
- Very large amount of the AP exam
 
- Switch cases are more efficient
 
- Booleans for assignment and comparative logic
 
If Statements 
- Logic gates in the condition
 
- Else if is another condition
 
- Else is what happens when nothing else is true
 
Switch statement 
- More efficient because it is nested
 
- Executed more quickly 
 
Boolean Expressions 
- Compare 2 types of data 
 
- 1 is true; 0 is false
 
- == is comparison
 
- = is assignment
 
- != is inequality
 
- Can be used with other operators as well
 
Logic Gate Symbols 
De Morgans Law 
- not(A and B) is equal to (not A or not B)
 
Truth Table 
- Shows inputs
 
- Outputs of the condition