Truth table - GCSE Computer Science Definition

Reviewed by: Robert Hampton

Published

A truth table is a tool used in computer science to show how different combinations of true and false values affect the outcome of a logical statement or operation. It lists all possible scenarios of inputs, often as "true" (T) or "false" (F), and shows the resulting output for each scenario. Truth tables are especially useful when dealing with logic gates or boolean algebra, which are key parts of computer science. By using a truth table, you can clearly see how a specific logic operation, like AND, OR, or NOT, works with different input values and predict the final result systematically.

Examiner-written GCSE Computer Science revision resources that improve your grades 2x

  • Written by expert teachers and examiners
  • Aligned to exam specifications
  • Everything you need to know, and nothing you don’t
GCSE Computer Science revision resources

Share this article

Robert Hampton

Reviewer: Robert Hampton

Expertise: Computer Science Content Creator

Rob has over 16 years' experience teaching Computer Science and ICT at KS3 & GCSE levels. Rob has demonstrated strong leadership as Head of Department since 2012 and previously supported teacher development as a Specialist Leader of Education, empowering departments to excel in Computer Science. Beyond his tech expertise, Robert embraces the virtual world as an avid gamer, conquering digital battlefields when he's not coding.

The examiner written revision resources that improve your grades 2x.

Join now