XOR is like a regular OR, but with one difference: if both inputs are true, the XOR is false.
XOR 类似于常规的 OR,但有一个区别:如果两个输入均为真,则 XOR 为假。
单词 | XOR1 |
释义 |
XOR1
原声例句
科技 Crash Course XOR is like a regular OR, but with one difference: if both inputs are true, the XOR is false. XOR 类似于常规的 OR,但有一个区别:如果两个输入均为真,则 XOR 为假。 科技 Crash Course For example, another useful boolean operation in computation is called an Exclusive OR - or XOR for short. 例如,计算中另一个有用的布尔运算称为异或 - 或简称 XOR。 科技 Crash Course Now, the output of our XOR gate is partially correct - 1 plus 1, outputs 0. 现在,我们的 XOR 门的输出是部分正确的——1 加 1,输出 0。 科技 Crash Course The only time an XOR is true is when one input is true and the other input is false. 只有当一个输入为真而另一个输入为假时,异或为真。 科技 Crash Course So this set of inputs exactly matches the boolean logic of an XOR gate, and we can use it as our 1-bit adder. 所以这组输入与 XOR 门的布尔逻辑完全匹配,我们可以将它用作我们的 1 位加法器。 科技 Crash Course And building this from transistors is pretty confusing, but we can show how an XOR is created from our three basic boolean gates. 从晶体管构建这个非常令人困惑,但我们可以展示如何从我们的三个基本布尔门创建 XOR。 科技 Crash Course So instead as we talked about in Episode 3 – we can use a high-level of abstraction and build our components out of logic gates, in this case: AND, OR, NOT and XOR gates. 因此,正如我们在第 3 集中讨论的那样——我们可以使用高级抽象并在逻辑门之外构建我们的组件,在这种情况下:AND、OR、NOT 和 XOR 门。 |
随便看 |
|
英汉网英语在线翻译词典收录了3779314条英语词汇在线翻译词条,基本涵盖了全部常用英语词汇的中英文双语翻译及用法,是英语学习的有利工具。