Purchase Solution

About Truth Tables

Not what you're looking for?

Ask Custom Question

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.

Purchase this Solution

Solution Summary

This posting contains answers to the given questions.

Solution Preview

Hi,

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. ...

Purchase this Solution


Free BrainMass Quizzes
Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.

Javscript Basics

Quiz on basics of javascript programming language.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.