Boolean+operators

=3.2.4 d=
 * ===understand the Boolean operators AND, OR and NOT and use these to construct expressions;===

=__**Boolean Operators**__=


 * == KEYWORDS == || == DEFINITIONS == ||
 * === And === || ===is used when the result needs to be TRUE only when noth data items are TRUE=== ||
 * === Or === || ===is used when the result needs to be TRUE when either data item (or both) is true=== ||
 * === Not === || ===is used when the result needs to be the opposite value of the data item, so NOT TRUE becomes FALSE and NOT FALSE becomes TRUE=== ||
 * === Not === || ===is used when the result needs to be the opposite value of the data item, so NOT TRUE becomes FALSE and NOT FALSE becomes TRUE=== ||

And and Or are boolean operators. Two boolean values are need to produce an output. We will use 'value 1' and 'value 2' to produce an output in the example below.
===This table shows that both of the values need to be True to give an output of True. If one is True and one is False the output is false as they are not the same as each other. However in the last line they are both False but the output is still false because the values are not true.===
 * ===__**Value1**__=== || ===__**Value 2**__=== || ===__**Value 1 AND Value 2**__=== ||
 * ===True=== || ===True=== || ===True=== ||
 * ===True=== || ===False=== || ===False=== ||
 * ===False=== || ===True=== || ===False=== ||
 * ===False=== || ===False=== || ===False=== ||

Then next table shows OR. OR allows it to be true if atleast one of the values is true.

 * ===__**Value 1**__=== || ===__**Value 2**__=== || ===__**Value 1 OR Value 2**__=== ||
 * ===True=== || ===True=== || ===True=== ||
 * ===True=== || ===False=== || ===True=== ||
 * ===False=== || ===True=== || ===True=== ||
 * ===False=== || ===False=== || ===False=== ||