# Boolean Operator

Document Sample

```					                         Boolean Operator
Boolean Operator

Boolean operators are defining in the Boolean algebra that has defined through the
several type of meanings as follows:

These operators are define as Boolean function or Boolean algebra and when we talk
about the Boolean algebra it define the several expression that are define the
different types of operators that are applied on the operands of the set.

The other uses of these Boolean operators are in the programming languages that
define the logical connectives as an application of the Boolean Operators.

The basic functionality of the Boolean operators is to provide the value in form of true
and false.

There are some types of Boolean operators are defined in the Boolean algebra that
are as follows:

Tutorcircle.com                                                Page No. : ­ 1/4
1. AND operator: The main aim of using AND Boolean operator is to combine the
values of different concepts.

It can be explained through the example as if there are two type of music as jazz and
blue then if we find the result of jazz AND blue then according to the operator AND it
will compare the jazz and blue that reduce the number of searches means AND
operator combine the phrases or words in case when both the words or phrase are
present in the value you want to retrieve.

We can also give an example for defining the AND operator as if there are two value
x and y then according to the operator when both the variables having the same
values that is true then they are set to the true value otherwise there combined values
are define as false.

X   y       x AND y

T   T       T

T   F       F

F   T       F

F   F       f

(t = true) ; (F = False)

(2) OR operator: The main aim of using OR Boolean operator is to combine the
values of related concepts. It is used for joining the synonymous terms.

Tutorcircle.com                                             Page No. : ­ 2/4
It can be explained through the example as if there are two type of music as jazz and
blue then if we find the result of jazz OR blue then according to the operator OR it will
discover either jazz or blue music that increase the number of searches means OR
operator find the result that have one of the term or both the words. We can also give
an example for defining the OR operator as if there are two value x and y then
according to the OR operator when one of the variable between both variables having
the true value then they are set to the true value otherwise their combined values are
define as false.

X   y       x AND y

T   T       T
T   F       T
F   T       T
F   F       F

(t = true) ; (F = False)

(3) NOT operator: COT operator is used to eliminate the word or group of words .It is
used to exclude a term that is no longer used. It is reduce the number of results by
eliminating the number of terms.

It can be define as the example if there is a variable x then according to the not
Boolean operator if x is true then answer is false by the not operator and vice versa.

X not x
T F
F T
(t = true) ; (F = False)

Tutorcircle.com                                               Page No. : ­ 3/4
Page No. : ­ 2/3
Thank You For Watching

Presentation

```
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
 views: 6 posted: 6/18/2012 language: pages: 4
How are you planning on using Docstoc?