Open essepuntato opened 2 weeks ago
True
If I understood correctly the order of the operations:
The value is True.
True
NOT FALSE OR FALSE= TRUE
True
True
True
not (not True or False and True) or False?
not True = False
False and True = False
so we have
not (False or False) or False?
False or False = False
so again
not False or False?
not False = True
so in the end
True or False?
True
not (not True or False and True) or False? 1) not True = False 2) False and True = False 3) False or False = False
not False or False? 1) not False = True
True or False? True
Hi all,
While all results are good, in some of your answers, you are not applying the right resolution order for the boolean operators. As described in the chapter, it should be as follows:
First, one must execute all the
not
operations. Then, one must perform all theand
operations. Finally, one must assess the remainingor
operations.
Thus, the resolution of not True or False and True
should be:
False or False and True
False or False
False
A bit late to the game, and I have cut out Prof. Peroni's answer before I tried to answer this:
1) not (not True or False and True) or False. 2) not (False or False and True) or False. 3) not (False or False) or False. 4) True or False. 5) True.
True
not True = false
false and true = false
false or false = false
not false or false = true or false = true
True
What is the boolean value of
not (not True or False and True) or False
?