问题标题:
高中选修4-10开关电路与布尔代数2、用A,B,C分别表示张小华语文、数学、英语考试及格,写出下列语句的逻辑表达式:(1)张小华语文和数学都及格;(2)张小华语文考试及格、但数学
问题描述:
高中选修4-10开关电路与布尔代数
2、用A,B,C分别表示张小华语文、数学、英语考试及格,写出下列语句的逻辑表达式:
(1)张小华语文和数学都及格;
(2)张小华语文考试及格、但数学考试不及格;
(3)张小华语文考试及格,但数学和英语考试都不及格;
(4)张小华语文、数学、英语考试都不及格;
(5)张小华语文和数学考试至少有一门及格;
(6)张小华语文、数学、英语三门考试至少有一门不及格;
(7)张小华语文、数学、英语考试恰有一门课及格。
洪著财回答:
(1)张小华语文和数学都及格;AandB
(2)张小华语文考试及格、但数学考试不及格;AandnotB
(3)张小华语文考试及格,但数学和英语考试都不及格;AandnotBandnotC
(4)张小华语文、数学、英语考试都不及格;notAandnotBandnotC
(5)张小华语文和数学考试至少有一门及格;AorB
(6)张小华语文、数学、英语三门考试至少有一门不及格;notAornotBornotC
(7)张小华语文、数学、英语考试恰有一门课及格。
(AandnotBandnotC)or(notAandBandnotC)or(notAandnotBandC)
and与
or或
not非
查看更多