Explore BrainMass

Explore BrainMass

    About Truth Tables

    Not what you're looking for? Search our solutions OR ask your own Custom question.

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    Using the Internet and other resources define and study Truth Tables. How are Truth Tables used in computer programming? Give a short example. Did you find other areas where Truth Tables are used? Explain.

    © BrainMass Inc. brainmass.com December 15, 2022, 7:46 pm ad1c9bdddf

    Solution Preview


    Truth tables are mathematical tables used in logic analysis. A truth table consists of logical representations of 1 or more inputs and the equivalent output from the combination of inputs. For example, there are 2 inputs, A and B. When both inputs are 1 (other meanings of 1 are HIGH, TRUE and ON), that is the only time the output F will have an output of 0 (other meanings of 0 are LOW, FALSE and OFF). When we write this in a table:

    A | B | F |

    0 0 1
    0 1 1
    1 0 1
    1 1 0

    From that table, we can formulate the process to produce output F from inputs A and B:
    F = A' + B'
    where the apostrophe symbol means the complement of the input (complement of 1 is 0 and vice-versa)

    Logic mathematics are composed of logic gates, which represent a process in Boolean algebra. ...

    Solution Summary

    This posting contains answers to the given questions.