What does Boolean mean?

Motero

Senior member
Jan 31, 2001
889
0
0
It depends on what you want to know...

Boolean expressions may evaluate to either true or false.
False = 0
True = any integer except 0



 

Motero

Senior member
Jan 31, 2001
889
0
0
Or there are the Boolean logic operators like:

Or, And, & Not.

Or = answer from one thing or the other you asked for.
And = answer from both things you asked for.
Not = answers that aren't the same in both things.
 

Motero

Senior member
Jan 31, 2001
889
0
0
If you go into a search and type:

cars and trucks - it will give you both things.
cars or trucks - one or the other
cars not trucks - info on cars only.
 

FusionTorch

Member
Feb 10, 2001
44
0
0
Named after the nineteenth-century mathematician George Boole, Boolean logic is a form of algebra in which all values are reduced to either TRUE or FALSE. Boolean logic is especially important for computer science because it fits nicely with the binary numbering system, in which each bit has a value of either 1 or 0. Another way of looking at it is that each bit has a value of either TRUE or FALSE.



Boolean Operators
x AND y Result is TRUE if both x and y are TRUE. Otherwise the result is FALSE.
x OR y Result is TRUE if either x or y is TRUE. Otherwise the result is FALSE.
x XOR y Result is TRUE only if x and y have different values. Otherwise the result is FALSE.
NOT x Result is TRUE if x is FALSE. Result is FALSE if x is TRUE.
 

jasonlee123

Member
Jan 30, 2001
177
0
0
Thanks alot man. Thats about exactly what I wanted to know. I was wondering where they got a random name like Boolean. Great help.
 

edblor

Diamond Member
Apr 23, 2000
7,921
0
76
Thanx FusionTorch,

I thought that sounded familiar!:) And,

TYVM for bringing back those Grade 12 memories of Algebra I spent the last 10 years supressing...:eek:

Edblor;)