Operators Flashcards

1
Q

left-to-right associativity

A

the rule that operators with the same precedence are evaluated from left to right in an expression

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

magic number

A

a hard-coded number in a program that lacks context or explanation, making the code harder to understand and maintain

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

named constant

A

a variable with a value that is set once and cannot be changed; it is used to give meaningful names to fixed values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

overhead

A

the extra processing time, memory, or other resources required by a computer program beyond the actual task it is performing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

rules of precedence (order of operations)

A

the rules that define the sequence in which different operations (like addition and multiplication) are performed in an expression to ensure consistent results

How well did you know this?
1
Not at all
2
3
4
5
Perfectly