Unit 1 lesson 1.4 Flashcards

(5 cards)

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

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