Boolean Expressions

Boolean expressions are a compact notation for combining boolean operations that go together. A boolean expression results in a boolean result.

The operations that can be combined are the boolean operations.

Order of operations

  1. !
  2. &&
  3. ||

Example

The T-Table of

!a || b && c

is

Expression Operation
!a || b && c
t1 || b && c t1 = !a
t1 || t2 t2 = b && c
t3 t3 = t1 || t2

The T-Form is

t1 = !a
t2 = b && c
t3 = t1 || t2

For more information about T-Tables and T-Forms, see T-Tables.