<<< Logical Operations     Index     OR Operation >>>

19. AND Operation


  • AND is a binary logical function.

  • Similar to addition and subtraction, AND requires two operands.

  • Behavior of logical operation can be conveniently described by the truth table.

  • The operation is applied to individual bits at their respective positions.

  • The bit-wise AND operation can be described as follows:

     

    A B AND(A,B)
    0 0 0
    0 1 0
    1 0 0
    1 1 1

<<< Logical Operations     Index     OR Operation >>>