问题 单项选择题

下列逻辑运算结果为“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。因此,FloseOr NotTrile的值为Flase,True()rNotTrue的值为Trile,False And Not True的值为Fase,True And Not True的值为Fase。

单项选择题
单项选择题 案例分析题