Operators
- You all should now about and , inclusive or, and
not. These
can be represented by truth tables.
- The And Table
- The Or Table
- The Not Table
- You read the first two by inputs on the row and column, and result
in the cell. Not has input on top.
- There's another or exclusive or; you can have ice cream or cake.
- The counter intuitive one is if:
- The if input is in the row, and then is the column. So, the
only time an if statement is false is if the if bit is True, and the
consequent is false. Politicians do this a lot.
- So, we have J=True and W=False.
- What's J and W?
- (We also have assign,=.)