logo

AQA A-Level Computer Science practice

Which infix expression is represented by the RPN expression AB+C*?

Try the question first, then check the answer and practise the same topic again.

At a glance

MCQ

Type

practice

Style

Topic

Reverse Polish

Exam-style question

Try this first

Which infix expression is represented by the RPN expression AB+C*?.

  1. A.A + (B * C)
  2. B.(A + B) * C
  3. C.A * (B + C)
  4. D.(A * B) + C

Answer and explanation

Concise answer

(A + B) * C

Why this is correct

A and B are combined first because the addition operator follows them. The result is then multiplied by C.

Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

No flashcards are published for this page yet.

Related practice questions