5 questions to test your understanding
What does the expression `7 / 2` evaluate to in a language that uses integer division when both operands are integers?
Consider the condition: `if (x != 0 and 10 / x > 2)`. If x equals 0, what happens?
Writing `if (x = 5)` instead of `if (x == 5)` in most C-style languages will cause an immediate syntax error that stops the program from running.
The modulo operator `%` is primarily useful for checking whether a number is even or odd.
Why does operator precedence matter in programming, and how does it relate to order of operations from math?