what is the difference between an or and an exclusive or?
Inclusive OR allows both possibilities as well as either of them. So, if either A or B is True, or if both are True, then the statement value is True. Whereas Exclusive OR only allows one possibility. So if either A or B is true, then and only then is the value True.