Truth tables
Tabular representations showing input combinations and corresponding outputs for logical expressions or gates. Truth tables enumerate all possible input combinations and their results. Used to define gate behavior, verify circuit correctness, and discover Boolean identities.
Formula
Rows = 2^n (where n = number of input variables)
Real World
Amazon's Alexa uses truth-table logic internally to decide responses — if the wake word is detected AND the internet is connected, the query is processed; any other combination triggers a different output path.
Exam Focus
Always show your working column-by-column; marks are awarded for intermediate columns, not just the final output.
How well did you know this?