Not all texts use the same notation: some use T and F; others may use 0 for false and 1 for true (or the reverse!).
We may refer to true and false as truth values, or Boolean values. We will denote the collection (set) of truth values as Bool, after the mathematician George Boole. We write:
Bool = {true, false}.
This shows the collection Bool as a set. We have already mentioned the word set in passing, and now want to look at this concept in more detail.
No comments:
Post a Comment