A pattern for generating extended truth tables using Java

  • Authors:
  • Robin M. Snyder

  • Affiliations:
  • Savannah State University

  • Venue:
  • Journal of Computing Sciences in Colleges
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

Truth tables are a useful first step in learning to apply logic to prove, disprove, or otherwise reason about simple logical statements. This paper briefly shows how truth tables for a specific logical expression can be manually created. Then, it is shown how the same truth table can be generated using an easily created Java program. Insightful learning can take place when the student, with minimal programming experience, converts the tedious process of manually creating truth tables, learned earlier in the course, into a process that results in a simple computer program, written later in the course, to generate the same truth table.