← 返回资讯屏轩教育 · 行业资讯

Logic Circuits, Logic Expressions, Truth Tables and Problem Statements | 逻辑电路、逻辑表达式、真值表与问题陈述

2026-08-29 23:53 · 本文部分内容由AI辅助创作

📚 Logic Circuits, Logic Expressions, Truth Tables and Problem Statements | 逻辑电路、逻辑表达式、真值表与问题陈述

Digital computers process information using binary signals: 0 (low / false) and 1 (high / true). Logic circuits are built from logic gates that perform Boolean operations on these binary signals. Understanding logic circuits, logic expressions and truth tables is essential for the Cambridge IGCSE Science and Computer Science syllabuses.

数字计算机使用二进制信号处理信息:0(低电平 / 假)和 1(高电平 / 真)。逻辑电路由执行布尔运算的逻辑门构成。理解逻辑电路、逻辑表达式和真值表是剑桥 IGCSE 科学和计算机科学课程大纲的核心要求。


1. What is a Logic Circuit? | 什么是逻辑电路?

A logic circuit is an arrangement of logic gates connected together to process binary inputs and produce a binary output. Each gate performs a specific Boolean operation such as AND, OR, NOT, NAND, NOR or XOR.

逻辑电路是由多个逻辑门连接而成的网络,用于处理二进制输入并产生二进制输出。每个逻辑门执行特定的布尔运算,如 AND(与)、OR(或)、NOT(非)、NAND(与非)、NOR(或非)或 XOR(异或)。

In IGCSE examinations, circuits are usually given with standard symbols. You may be asked to:

在 IGCSE 考试中,电路通常使用标准符号给出。你可能会被要求完成以下任务:


2. The Three Basic Logic Gates | 三种基本逻辑门

AND gate (与门): The output is 1 only when all inputs are 1. For two inputs A and B, the expression is:

与门:仅当所有输入均为 1 时,输出才为 1。对于两个输入 A 和 B,表达式为:

X = A · B

ABX = A · B
000
010
100
111

OR gate (或门): The output is 1 when at least one input is 1. For two inputs A and B, the expression is:

或门:当至少一个输入为 1 时,输出为 1。对于两个输入 A 和 B,表达式为:

X = A + B

ABX = A + B
000
011
101
111

NOT gate (非门): The output is the opposite of the single input. For input A, the expression is:

非门:输出是单输入的反相。对于输入 A,表达式为:

X = ¬A

AX = ¬A
01
10

3. NAND, NOR and XOR Gates | 与非门、或非门与异或门

NAND gate (与非门): gate followed by a NOT gate. The output is 0 only when both inputs are 1. Expression: X = ¬(A · B).

与非门:它是由与门后接非门组合而成。仅当两个输入均为 1 时,输出才为 0。表达式:X = ¬(A · B)。

ABX = ¬(A · B)
001
011
101
110

NOR gate (或非门): gate followed by a NOT gate. The output is 1 only when both inputs are 0. Expression: X = ¬(A + B).

或非门:它是由或门后接非门组合而成。仅当两个输入均为 0 时,输出才为 1。表达式:X = ¬(A + B)。

ABX = ¬(A + B)
001
010
100
110

XOR gate (异或门): The output is 1 when the two inputs are different. Expression: X = A ⊕ B. For example, 0 ⊕ 1 = 1 and 1 ⊕ 1 = 0.

异或门:当两个输入不同时,输出为 1。表达式:X = A ⊕ B。例如,0 ⊕ 1 = 1,而 1 ⊕ 1 = 0。

ABX = A ⊕ B
000
011
101
110

广告 / Sponsored

4. Writing Logic Expressions | 逻辑表达式的书写

A logic expression uses Boolean algebra to describe the relationship between inputs and output. The standard symbols are:

逻辑表达式使用布尔代数来描述输入与输出之间的关系。常用符号如下:

The order of precedence follows: NOT first, then AND, then OR, unless brackets are used to change the order. For example:

运算优先级为:先非门,再与门,最后或门,除非使用括号改变顺序。例如:

X = ¬A · B + A · ¬B

This expression means: (NOT A AND B) OR (A AND NOT B).

这个表达式表示:(非 A 与 B)或(A 与非 B)。


5. Constructing Truth Tables | 构造真值表

A truth table shows every possible combination of inputs and the corresponding output. For n inputs, the table must contain 2ⁿ rows. For example, 2 inputs give 4 rows, and 3 inputs give 8 rows.

真值表列出所有可能的输入组合及其对应的输出。对于 n 个输入,表格必须包含 2ⁿ 行。例如,2 个输入有 4 行,3 个输入有 8 行。

Follow these steps:

按以下步骤操作:


6. Building Circuits from Logic Expressions | 根据逻辑表达式构建电路

To draw a circuit from an expression, work from the inputs to the output:

要根据表达式绘制电路,请从输入向输出推导:

C) requires an OR gate combining B and C first, then an AND gate combining A with that result.

例如,表达式 X = A · (B + C) 需要先用或门合并 B 和 C,然后使用与门将 A 与该结果结合。


7. Deriving Expressions from Circuits | 从电路推导表达式

When a circuit diagram is given, you can write its logic expression by labelling intermediate outputs:

当给出电路图时,可以通过标记中间输出来写出逻辑表达式:

n AND gate with inputs A and B, whose output goes into a NOT gate. The final output is X = ¬(A · B). This is exactly a NAND gate.

假设一个电路包含一个输入为 A 和 B 的与门,其输出接至非门。最终输出为 X = ¬(A · B)。这正是与非门。


8. From Problem Statements to Logic | 从问题陈述到逻辑

Real-world problems can be converted into logic expressions by defining binary conditions. Each condition becomes a Boolean variable that is 1 when true and 0 when false.

实际生活问题可以通过定义二进制条件转化为逻辑表达式。每个条件成为一个布尔变量,条件为真时取 1,为假时取 0。

Example 1: ads high (T = 1) OR the humidity sensor reads high (H = 1). The expression is Fan = T + H.

例 1:当温度传感器读数高(T = 1)或湿度传感器读数高(H = 1)

Published by TutorHao | IGCSE Science Revision Series | aleveler.com

广告 / Sponsored
必刷题2027新高中上分卷数学物理化学生物必修一12人教版语文英语文历史地理政治新高一上周末小卷教材同步练习单元期中期…
化学、地理 备考教辅 · 正版现货 · 学习备考通用
查看详情 / View on Taobao参考价 ¥15.11
广告 / Sponsored
2026高中必刷题数学物理化学生物选修一1语文地理历史英语选择性必修一二三四123新教材同步练习册题高二上册下册高中教…
化学、地理 备考教辅 · 正版现货 · 学习备考通用
查看详情 / View on Taobao参考价 ¥10.19

更多咨询请联系16621398022(同微信)

备考资讯每日更新,关注不错过
考纲变化 · 科目分析 · 学习方法
扫码关注公众号 tutorhao
在微信里长按二维码识别关注
或截图后用「扫一扫 → 相册」选择本图
公众号:tutorhao