DETAILED ANSWERS (VERIFIED ANSWERS) ALREADY
GRADED A+
Operators Ans✓✓✓special built-in symbols that have functionality, and
work on operands
operand Ans✓✓✓an input to an operator
arity Ans✓✓✓how many operands an operator takes
urnary--one operand
binary-- two operands
ternary-- three operand
z = 10 Ans✓✓✓assignment operator (binary)
x= y + z Ans✓✓✓addition (binary)
x= -y Ans✓✓✓unary (increment)
cascading Ans✓✓✓linking of multiple operators, especially of related
categories, together in a single statement
Ex: x=a+b+c-d+e;
, x=y=z=3;
precedence Ans✓✓✓rules specifying which operators come first in a
statement containing multiple operators
Ex: x= a+b*c; //b*c happens first
associativity Ans✓✓✓rules specifying which operators are evaluated
first when they have the same level of precedence. Most (but not all)
operators associate from left to right.
R- value Ans✓✓✓any expression that evaluates to a single value (name
comes from "right" side of assignment operator)
x= 5;
y= 10.3;
z= x + y;
L- value Ans✓✓✓a storage location! A variable or a reference to a
location
variable_name = expression
integer division Ans✓✓✓When you divide an integer by another
integer, the result is always an integer. If there is a remainder, it will be
discarded.