An expression is a syntactic entity in a programming language that may be evaluated to determine its value.
+ Addition- Subtraction* Multiplication/ Division"Hello, World!" (string)7 (integer)Follows conventions from algebra
True or False| Operator | Name |
|---|---|
< |
Less than |
> |
Greater than |
<= |
Less than or equal |
>= |
Greater than or equal |
== |
Equal |
!= |
Not equal |
True or False when operating
on True and False valuesnotandor| A | B | Q |
|---|---|---|
| F | F | F |
| F | T | F |
| T | F | F |
| T | T | T |
| A | B | Q |
|---|---|---|
| F | F | F |
| F | T | T |
| T | F | T |
| T | T | T |
What is the truth table for the following expression?
Follows conventions from algebra