Cambridge IGCSE · Computer Science (0478)

Boolean logic:练习题

5 道选择题即时批改,另有 5 道文字题附完整解题步骤,全部围绕「Boolean logic」。

10 道题目23 免费,无需注册
第 1 题
1

Identify the logic gate that produces an output of 0 ONLY when both of its inputs are 1.

第 2 题
1

Given the inputs \( A = 1 \) and \( B = 0 \), which of the following logic gates will produce an output of 1?

第 3 题
1

Which output sequence (for inputs AB in order 00, 01, 10, 11) correctly represents the Boolean expression \( X = \text{NOT } (A \text{ OR } \text{NOT } B) \)?

第 4 题
1

A logic circuit has two inputs, A and B. The output is 0 only when both inputs are the same (both 0 or both 1). Which single logic gate does this describe?

第 5 题
1

Which single logic gate is equivalent to the output of an AND gate being passed through a NOT gate?

第 6 题
2

Identify the single logic gate that produces an output of 0 only when both of its inputs are 1, and produces an output of 1 for all other input combinations.

先自己写一遍答案,再对照解题步骤。

第 7 题
3

A safety system uses a logic circuit with inputs S (Sensor) and K (Key). The alarm (X) activates if the sensor is triggered (S=1) OR if the key is NOT turned (K=0). Write the Boolean expression for the output X.

先自己写一遍答案,再对照解题步骤。

第 8 题
6

A logic circuit with three inputs \(X\), \(Y\), and \(Z\) produces an output \(Q\). The output \(Q\) is 1 only if (\(X\) is 1 AND \(Y\) is 1) XOR (\(Y\) is NOT 1 AND \(Z\) is 1). Write the complete Boolean logic expression for \(Q\) using the operators AND, XOR, and NOT.

先自己写一遍答案,再对照解题步骤。

第 9 题
3

State the Boolean expression and define the function for the following standard logic gates:


(a) AND gate (with inputs A and B)

(b) NOT gate (with input X)

(c) XOR gate (with inputs P and Q)

先自己写一遍答案,再对照解题步骤。

第 10 题
4

A simple safety monitoring system, S, outputs a signal (S=1) under the following conditions: the pressure (P) is too high (P=1) AND the temperature (T) is not high (T=0). Alternatively, the signal is triggered if the manual override switch (M) is activated (M=1).


(a) Write the Boolean expression for the output S in terms of P, T, and M.


(b) Draw the logic circuit corresponding to the expression derived in part (a). Use standard logic gate symbols.

先自己写一遍答案,再对照解题步骤。

* thinka提供的内容由AI生成,可能并非总是准确或最新。请将其用作辅助资源,并与官方材料进行核实。

你已看过标准答案。现在轮到你的答案被批改。

这一页能告诉你好答案是什么样子,却无法指出你的答案缺了什么。thinka 按真实评分标准批改你的文字答案,约 15 秒完成。

想多做几道同类题目?立即开始练习这个课题,边做边批改。

立即练习