Cho x = True, y = False. Cho biết giá trị của biểu thức sau: not((x or y ) and x ) A. True B. False C. x D. 1
Giải thích
Đáp án đúng là: B
not((x or y ) and x ) = not((True or False) and True)
= not(True and True) = not(True) = False
Đáp án đúng là: B
not((x or y ) and x ) = not((True or False) and True)
= not(True and True) = not(True) = False