answersLogoWhite

0

A boolean operator is a simple word such as and, or, or not which are used to narrow or expand searches. Boolean operators are also used in programming to determine a path of action often depending on the status of a variable.

User Avatar

Wiki User

10y ago

Still curious? Ask our experts.

Chat with our AI personalities

EzraEzra
Faith is not about having all the answers, but learning to ask the right questions.
Chat with Ezra
JordanJordan
Looking for a career mentor? I've seen my fair share of shake-ups.
Chat with Jordan
ReneRene
Change my mind. I dare you.
Chat with Rene
More answers

Boolean logic is used to combine multiple operations together. You can use "OR" to choose one or more from several sets of conditions, "AND" to specify all conditions must be met, "XOR" if only one of two conditions must be met (but not both), and "NOT" to specify that a condition must not be met.

User Avatar

Wiki User

12y ago
User Avatar

A boolean operator is an operator that returns true or false (zero or non-zero). Non-zero values are typically -1 (0xFF in 8-bit hexadecimal), however the actual value is immaterial.

Examples of boolean operators are the ==, !=, >, >=, < and <= operators. Each of these compares the left operand with the right operand and returns true or false depending on the comparison. E.g., if x is equal to y, then x operator, when applied to strings, must return !strcmp() in order to return the correct boolean value.

User Avatar

Wiki User

12y ago
User Avatar

Add your answer:

Earn +20 pts
Q: What is a boolean operation?
Write your answer...
Submit
Still have questions?
magnify glass
imp