Send Close Add comments: (status displays here)
Got it!  This site uses cookies. You consent to this by clicking on "Got it!" or by continuing to use this website.nbsp; Note: This appears on each machine/browser from which this site is accessed.
Two-valued logic: Introduction


1. Two-valued logic: Introduction

2. Infinite valued logic
InfinityArithmetic operations (addition, subtraction, etc.) involve a potentially infinite number of integer values. Note: In math, integers are infinite. In computers, integers are of finite size.

3. Two valued logic
Only two values are needed for two-value logic, so it must be easier than integer arithmetic.

Often, 1 is used for true and 0 is used for false.

Thus, truth table logic using two values must be simpler than arithmetic operations and logic.

4. George Boole
Logical operations, sometimes called Boolean operations after George Boole (Founder of Boolean logic) (1820-1898), are operations that involve two values, true and false.

5. Two values
Two values are needed for two value logic. Here are some examples.

6. Double-edged swords
Double-edged swords have a true edge (very sharp) and a false edge (not so sharp).

Get the point? It might give you an edge.

7. Happy
Smiley face

8. Sad
Frowny face

9. Magnets
Magnets have opposite polarities, called poles.

10. Magnetic disks
Magnetic media, such as fixed/floppy disks, use one polarity for 1 and the other for 0.

Can magnets have a nice appearance?

11. CDs and DVDs
Optical media, such as CD-ROM's, use high or low reflectivity as two values.

12. Electrical values
The high or low current or voltage can be used as 0 and 1.

What can you say about electrical engineers?

13. Literal values
The literal names true and false are the simplest form of what are called logical expressions.

A literal literally expresses a value and cannot be simplified. In this case, the expression true expresses the value true and the expression false expresses the value false.

Be aware that mathematicians often call an expression a formula while computer scientists often call a formula an expression.

14. Relating values
Yin Yang orbitsSince we have two distinct values,

15. End of page

16. Multiple choice questions for this page