Doug Ensley, Shippensburg University
Barbara Kaskosz, University of Rhode Island
This Flash Forum article provides instructions and resources for producing customized truth table applications. This includes classes for parsing and evaluating expressions using simple propositional connectives and, or, not, implies and iff.
The compressed file truth_table_tutorial.zip contains all templates and code referenced within the article, and the brief Developer's Guide ( truth_tables_guide.pdf ) gives detailed instructions for some specific customization tasks.
Within this article, there is a short description of each of the templates including active versions to demonstrate the functionality of each. In addition, we outline some of the specific customizations that are addressed within the Developer's Guide. One template includes the use of an XML data file to provide truth table exercises.
Doug Ensley, Shippensburg University
Barbara Kaskosz, University of Rhode Island
This Flash Forum article provides instructions and resources for producing customized truth table applications. This includes classes for parsing and evaluating expressions using simple propositional connectives and, or, not, implies and iff.
The compressed file truth_table_tutorial.zip contains all templates and code referenced within the article, and the brief Developer's Guide ( truth_tables_guide.pdf ) gives detailed instructions for some specific customization tasks.
Within this article, there is a short description of each of the templates including active versions to demonstrate the functionality of each. In addition, we outline some of the specific customizations that are addressed within the Developer's Guide. One template includes the use of an XML data file to provide truth table exercises.
The compressed file truth_table_tutorial.zip contains all templates and code referenced within the article, and the brief Developer's Guide ( truth_tables_guide.pdf ) gives detailed instructions for some specific customization tasks. Try out the templates below by clicking on the appropriate thumbnail image.
Template 1.
The first template consists of a basic "truth table builder" for expressions in three variables. The Developer's guide explains how to make the following changes to this template:
Template 2.
The second template consists of a typical student-centered activity that one could make using the classes developed for this article. This template pulls a series of exercises from an external data file and challenges the student to supply the correct truth table. The program checks the student answer for correctness and provides feedback.
Instructions are given for changing the source code to make the exercise set internally defined rather than externally defined, if that is preferable. A brief discussion of how to use an XML data file for external definitions is included.
The following outline describes what can be accomplished by following the Truth Table Developer's Guide after downloading all source files to your machine with Flash 8 installed.
Download the 5-pagetruth_tables_guide.pdf for detailed instructions for customizing the Function Grapher.
Download the truth_table_tutorial.zip file and unzip it in to your computer. You will see the truth_table_tutorial folder which contains all the files related to this article:
Working right from the folder truth_table_tutorial, you can open one of the three .fla files in Flash 8 Professional and begin customizing the application to your liking. If you prefer a clean working environment, create a new folder but be sure to include the edu folder alongside your programs that are to use these classes.