下列逻辑运算结果为“true”的是( )。

admin2021-02-23  23

问题 下列逻辑运算结果为“true”的是(     )。

选项 A、false or not true
B、true or not true
C、false and not true
D、true and not true

答案B

解析 逻辑运算符的优先级别为:Not>And>Or。因此,False Or Not True的值为False,True Or NotTrue的值为’rrue,False And Not True的值为False,True And Not True的值为False。
转载请注明原文地址:https://kaotiyun.com/show/QFSp777K
0

最新回复(0)