5 questions to test your understanding
A programmer writes `result = 7 / 2` in a language where both 7 and 2 are integers. What is the value of `result`?
A language that infers a variable's type from the assigned value and checks type rules when operations execute is called:
In most programming languages, the expression `0.1 + 0.2` evaluates to exactly `0.3`.
Booleans in modern typed languages are simply a special name for the integers 0 and 1.
Why does the type of a value matter in programming, beyond just labeling it? Give a concrete example of a type affecting what an operation produces.