Example of how to write"Basic Boolean Logic"


Go back

Boolean Logic is used in computer programming by using the AND, OR, and Not operations. This logic. Is a way to do mathematics using only the true and false values. The three basic operations are known as binary operations that use two operands. When two values are given in AND operation and combined, you get a result that is only true if both values are true. If not, the result will be false. When using the OR operations when each value is true, the result will be true. The operation using NOT is a urinary operation the works with only one operand. It reverses the true and false value of the operand where, Not true Not false yields true.


The use of an Swiss Army Knife may cause injuries to a person under the age of 21 or who are less than 175 pound. They should not use a Swiss Army Knife.

The Pseudo Code might look this way.

If (age <18 OR age <21) AND (weight <175)

Then they cannot purchase swiss army knife


Created on June 22, 2014


Form (rr15a) Code:3301627005-GA

Copyright © 2013 Bridgetonia Inc.|| All Rights Reserved