English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2007-01-22 13:38:24 · 7 answers · asked by deona_chavez 1 in Computers & Internet Programming & Design

7 answers

a boolean operator is a condition or expression that evaluates to a TRUE (-1) or FALSE (0) value.

2007-01-22 13:55:22 · answer #1 · answered by Richard H 7 · 0 0

Here are a few examples of boolean operators: "AND" "OR" "NOT". They are used to define the relationships between binary code, such as 1 and 0 or TRUE and FALSE.

Here are a few examples of Boolean Expressions:


In order to come up with the result 1, both x and y must be 1.

1 AND 1 = 1
1 AND 0 = 0
0 AND 1 = 0
0 AND 0 = 0


In order to come up with the result 1, both x or y must be 1.

1 OR 1 = 1
1 OR 0 = 1
0 OR 1 = 1
0 OR 0 = 0


NOT is the opposite.

NOT 1 = 0
NOT 0 = 1

2007-01-22 13:49:56 · answer #2 · answered by Alvin E 2 · 0 0

A symbol that represents one of the following:
AND, OR, NOT, NOR, NAND, XOR

In C, symbols are substituted for the full description or abbreviation of a Boolean operation. They are as follows for the operations covered:

Logical Operation Abbreviation Symbol
And AND &
Or OR |
Exclusive OR XOR ^
Inversion NOT ~

http://www.howstuffworks.com/framed.htm?parent=boolean.htm&url=http://www.learn-c.com/boolean.htm

2007-01-22 13:54:38 · answer #3 · answered by Anonymous · 0 0

Boolean means true or false. 1 equals true and 0 is false.

2007-01-22 13:41:53 · answer #4 · answered by TheMan 2 · 0 0

There are 3 boolean operators: AND, OR and NOT. They are used to combine logical expressions into more complex expressions.

See the following link for definitions:
http://www.google.ca/search?hl=en&lr=&client=firefox-a&rls=org.mozilla:en-US:official&defl=en&q=define:boolean+operator&sa=X&oi=glossary_definition&ct=title

2007-01-22 13:46:33 · answer #5 · answered by mikedonovan42 1 · 0 0

And/or/not

It's been a while, but do a yahoo search.

off AND off = off
on AND off = on
on AND on = on

off NOT on = off
etc.

2007-01-22 13:43:10 · answer #6 · answered by Anonymous · 0 0

true or false...

usually used in if-then/if-else statements

2007-01-22 13:44:44 · answer #7 · answered by Anonymous · 0 0

fedest.com, questions and answers