Skip to content
← Back to glossary

真理値表Truth Table

Learn in the textbookSets and Logical Operations

DefinitionA truth table (真理値表) lists every combination the inputs can take, one per row, together with each output.

ExplanationTrue is usually written as 1 and false as 0, and with n inputs the table has 2 to the power n rows. Because the table spells out an operation's behavior completely, two expressions that produce the same table behave the same way.

AnalogyFor a light with two switches, a list made by trying every on/off pattern and noting whether the bulb lights.

Memory hookA "truth value" is the value true or false, and the table is named for listing those values.

Related past-exam questions(4 questions)