Tuesday, 24 April 2012

Logical Operators : AND Operator

Advertisement

This operator is also known as the logical multiplication operator and is represented by the dot (.) symbol. The AND operation is used between the variables a, b in the manner a AND b. The output in this case is 1 only when both a and b are 1. And if both are 0 or if any one of them is 0, then he output is also 0. The rules of the AND operation are:

0 . 0 = 0
0 . 1 = 0
1 . 0 = 0
1 . 1 = 1

The Truth table is shown below
Through a Venn diagram and AND operation would be shown in the figure below:


EmoticonEmoticon

:)
:(
hihi
:-)
:D
=D
:-d
;(
;-(
@-)
:o
:>)
(o)
:p
:-?
(p)
:-s
8-)
:-t
:-b
b-(
(y)
x-)
(h)