Operators Flashcards
(5 cards)
What is left-to-right associativity?
The rule that operators with the same precedence are evaluated from left to right in an expression.
What is a magic number?
A hard-coded number in a program that lacks context or explanation, making the code harder to understand and maintain.
What is a named constant?
A variable with a value that is set once and cannot be changed; it is used to give meaningful names to fixed values.
What is overhead in computing?
The extra processing time, memory, or other resources required by a computer program beyond the actual task it is performing.
What are the rules of precedence?
The rules that define the sequence in which different operations (like addition and multiplication) are performed in an expression to ensure consistent results.