How to use XOR Function | XOR Logical Function with Example

Published: 22 September 2022
on channel: Jagat Infotech
197
27

"The XOR function returns a logical Exclusive Or of all arguments. The result of XOR is TRUE when the number of TRUE inputs is odd and FALSE when the number of TRUE inputs is even. The XOR function performs what is called ""exclusive OR"", in contrast to the ""inclusive OR"" performed by the OR function. Whereas the OR function returns true if any input is TRUE, XOR only returns TRUE in specific cases. In the simplest case, with just two logical statements, XOR returns TRUE only if one of the logicals is TRUE. If both values are TRUE, XOR returns FALSE.

The concept of exclusive OR is more common in the world of programming. In plain English, you can think of a sentence like this: ""I'm either going to visit New York or San Francisco this summer"". Nothing prevents the speaker from visiting both, but the meaning is clearly that they plan to visit only one or the other. If they visit one or the other, the original statement is TRUE. If they visit neither or both, the original statement is FALSE."


Watch video How to use XOR Function | XOR Logical Function with Example online, duration hours minute second in high quality that is uploaded to the channel Jagat Infotech 22 September 2022. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 197 times and liked it 27 visitors.