Chapter 7 Flashcards

1
Q

Define operator precedence and operator associativity.

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

What is a unary operator?

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

What is an infix operator?

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

What operator usually has left associativity?

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

When do we call operators adjacent?

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

What associativity rules are used by Java?

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

What is the difference between the way exponentiation operators are implemented in Fortran and Ruby?

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

How do parentheses affect the precedence rule?

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

How is a Lisp statement declared?

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

Give a solution to the problem of operand evaluation order and side effects.

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

What is an overloaded operator?

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