ch 5 Boolean Logic - An Introduction to Programming Using...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: An Introduction to Programming Using Alice Boolean Logic An Introduction to Programming Using Alice George Boole In1854, George Boole published An investigation into the Laws of Thought, on which are founded the Mathematical Theories of Logic and Probabilities. Boole outlined a system of logic and a corresponding algebraic language dealing with true and false values. 100 th Anniversary Edition An Introduction to Programming Using Alice Boolean Logic Boolean logic is a form of mathematics in which the only values used are true and false. Boolean logic is the basis of all modern computing. There are three basic operations in Boolean logic AND, OR, and NOT. 100 th Anniversary Edition An Introduction to Programming Using Alice The AND Operation The AND operation is a binary operation, meaning that it needs two operands. c = a AND b Both a and b must be true for the result to be true. AND b T F a T T F F F F An Introduction to Programming Using Alice The OR Operation The OR operation is also a binary operation with two operands....
View Full Document

This note was uploaded on 10/17/2011 for the course CIS 106 taught by Professor Alice during the Spring '11 term at Community College of Philadelphia.

Page1 / 17

ch 5 Boolean Logic - An Introduction to Programming Using...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online