Open essepuntato opened 11 months ago
True
not (not True or False and True) or False not (False or False and True) or False not (False and True) or False not (False) or False True or False True
True
not (not True or False and True) or False not (False or False and True) or False not (False and True) or False not False or False True or False = True
According to brackets and rules for application order, the boolean value of not (not True or False and True) or False
is True
.
not ((not True) or (False and True)) or False
not (False or False) or False
not False or False
True or False
True
True
not (not True or False and True) or False not (False or False and True) or False not (False and False) or False not False or False not False True
True
not (not True or False and True) or False not (False or False and True) or False not (False or False) or False not False or False True or False True
not (not True or False and True) or False not(False or False and True) or False not(False and True) or False not (False) or False True or False True
Not (not True or False and True) or False = Not (False or False and True) or False = Not (False or False) or False = Not ( False) or False = True or False = True
not (not True or False and True) or False not (False or False and True) or False not (False or False) or False not False or False True or False True
not (not True or False and True) or False not (False or False and True) or False not (False and True) or False not False or False True or False True
Correct way to solve it:
not (not True or False and True) or False not (False or False and True) or False not (False or False) or False not False or False True or False True
True
Hi all, thanks for your take. It is important to remember that boolean operators must be applied with a particular priority among them, i.e. first not
, then and
and finally or
.
not True is False. not False is True. False and True is False. not (not True or False and True) is not (False or False), which is equivalent to not False, which is True. True or False is True. Therefore, is True.
not (not True or False and True) or False not(False or False and True) or False not(False and True) or False not (False) or False True or False True
edit: not (not True or False and True) or False not (False or False and True) or False not (False or False) or False not False or False True or False True
not (not True or False and True) or False not (False or False and True) or False not (False or False) or False not (False) or False True or False True
not (not True or False and True) or False not ((not True) or False and True) or False not (False or False) or False not (False) or False True or False True
What is the boolean value of
not (not True or False and True) or False
?