Need help with boolean expression
Watch
Announcements
Page 1 of 1
Skip to page:
Anyone knows how boolean expressions work? I've a question about it and can upload an image of the question.
0
reply
Report
#3
1. This is the wrong section.
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
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
0
reply
X
Page 1 of 1
Skip to page:
Quick Reply
Back
to top
to top