Need help with boolean expressionWatch
2. Attachments do not work in this section.
3. A boolean is a value that is true or false.
4. An expression is a legal combination of symbols that represent a value.
5. Boolean logic is commonly expressed in terms of AND, NOT and OR
Example of boolean expression
Cats are fluffy. (true or false)
For example of boolean logic
If your girlfriend shags your dad AND she's a drunk - She's probably an alcoholic
If your girlfriend shags your dad OR she's a drunk - She's probably an alcoholic
If your girlfriend shags your dad but is NOT drunk - She's probably not an alcoholic
Common use for conditional logic in mathematics AND/OR computer programs