Exam-style question
Try this first
Which infix expression is represented by the RPN expression AB+C*?.
- A.A + (B * C)
- B.(A + B) * C
- C.A * (B + C)
- D.(A * B) + C
Model answer
What a good answer should say
- (A + B) * C
Explanation
Why this works
A and B are combined first because the addition operator follows them. The result is then multiplied by C.
Common mistake
No common mistake is linked to this question yet.
