5 questions to test your understanding
What is the value of the expression `10 - 3 * 2 + 4`?
A student writes `2 ** 3 ** 2` expecting the result `(2**3)**2 = 64`. What does the expression actually evaluate to?
The expression `17 % 5` evaluates to 2.
Adding parentheses to an expression in a way that reflects the order it would already be evaluated can change the result.
Explain why operator precedence rules exist in programming languages, and what problem would arise if all operators were evaluated strictly left-to-right.