AP® Computer Science A glossary

Truth table

Course: AP® Computer Science A Shows up in: Unit 2: Selection and Iteration

A table that lists every combination of true and false for the variables in Boolean expressions, with the value of each expression in every row.

Appears in the course and exam description (CED): 2.6.A.12.5.A.1

Two variables need 4 rows, three variables need 8. If two expressions match in every row, they are equivalent; one row that differs proves they are not.

Learn it properly, with a checkpoint 2.6 Comparing Boolean Expressions

Related terms

Was this page helpful?

No names are ever shown, and every public comment is checked by us first. Please do not include personal details. To get a reply, email [email protected].

↑ Top

Enlarged view of the selected figure