+ 1

What is the difference between exclusive OR and regular OR?

Please help me out

27th Apr 2018, 10:00 AM
Tummala Vishnupriya
Tummala Vishnupriya - avatar
4 Antworten
+ 3
A Or B is actually ((A XOR B(exclusive or)) XOR (A AND B)) So if A and B is true OR gives true XOR gives false
27th Apr 2018, 10:18 AM
syul
syul - avatar
+ 3
- OR: A OR B its true if A or B (or either) is true else its false (this is simple 😁) - XOR: A XOR B its true if ONLY one of A and B its true else its false In practice OR is used for detect if ANY true is present while XOR is used for test if two params are different
27th Apr 2018, 10:23 AM
KrOW
KrOW - avatar
+ 1
If A and B are inputs then : and Y is the output. then: Regular OR: this logic is True if at least one of the inputs is true. A is true. or B is true. or A and B are both true. then Y will be true. Exclusive OR: the logic is True if only one input is true. A is true. or b is true. but but cannot be true.
11th May 2018, 3:59 PM
V Chauhan
V Chauhan - avatar
0
Guys help me out
27th Apr 2018, 10:00 AM
Tummala Vishnupriya
Tummala Vishnupriya - avatar