Exam-style question
Try this first
What is the Reverse Polish notation (RPN) form of the infix expression A + B * C?.
- A.AB+C*
- B.ABC*+
- C.A+BC*
- D.ABC+*
Model answer
What a good answer should say
- ABC*+
Explanation
Why this works
Multiplication is performed before addition, so B and C are combined first: BC*. A is then added to the result, giving ABC*+.
Common mistake
No common mistake is linked to this question yet.
