ITE/CS no.4 Flashcards
It is a valid arrangement of variables, constants/literals, and operators
EXPRESSION
A term used to describe any object that is capable of being manipulated.
OPERAND
The values assigned to each constant variables
LITERAL
- Quantity which does not equal zero
- May represent TRUE value
NON ZERO VALUE
Lists all combinations of operand values and the value of the expression for each combination
TRUTH TABLE
A character that represents an action, as for example x is an arithmetic operator that represents multiplication.
OPERATOR
give the 3 types of operators
- UNARY
- BINARY
- TERNARY
operators that need only one operand to perform the task or operation.
UNARY
operators that operate on two operands.
BINARY
operators that operates on three operands.
TERNARY
give the types of binary operator (6):
- Arithmetic
- Relational
- Equality
- Bitwise
- Logical
- Assignment
determine which kind of binary operator:
Additive
- Addition + Sum
- Subtraction - Difference
Multiplicative
- Multiplication * Product
- Division / Quotient
- Modulo % Remainder
ARITHMETIC OPERATOR
determine which kind of binary operator:
(>,<,>=,<=)
- Greater than >
- Less than <
- Greater than or equal to >=
- Less than or equal to <=
RELATIONAL OPERATOR
determine which kind of binary operator:
XOR Operator (^)
- A TRUE/1 output results if one, and only one of the operands is TRUE/1 otherwise FALSE/0.
BITWISE OPERATOR
determine which kind of binary operator:
- !
- &&
- ||
LOGICAL OPERATOR