I never understood and can not understand what XOR is. Please explain in simple words and if possible, with examples. respectfully



    2 answers 2

    Logical operation "exclusive or".

    • FALSE XOR FALSE = FALSE
    • FALSE XOR TRUE = TRUE
    • TRUE XOR FALSE = TRUE
    • TRUE XOR TRUE = FALSE

    The operation gives FALSE if the operands are equal regardless of them. Another name is "Addition modulo 2"

      1100

      1010

      -

      0110