|
|
Created by Rebecca Noel
almost 9 years ago
|
|
| Question | Answer |
| == | if the values of two operands are equal, then the condition becomes true. |
| != | if values of two operands are not equal, then condition becomes true. |
| <> | If values of two operands are not equal, then condition becomes true. |
| > | if the value of left operand is greater than the value of right operand, then condition becomes true. |
| < | if the value of left operand is less than the value of right operand, then condition becomes true. |
| >= | if the value of left operand is greater than or equal to the value of right operand, then condition becomes true. |
| <= | if the value of left operand is less than or equal to the value of right operand, then condition becomes true. |
| 1<2 and 2<3 | True |
| The 'and' statement is used to ... | make sure two checks have to be true in order for the total check to be true |
| 1==2 or 2<3 | True |
| The 'or' operator only needs | at least one statement to be true in order for the whole comparison to be true. |
Want to create your own Flashcards for free with GoConqr? Learn more.