Compilers: principles, techniques, and tools
Compilers: principles, techniques, and tools
Introduction to mathematical logic (3rd ed.)
Introduction to mathematical logic (3rd ed.)
Code: The Hidden Language of Computer Hardware and Software
Code: The Hidden Language of Computer Hardware and Software
Hi-index | 0.00 |
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.