May/June 2026 Paper 31

2026 · 11 questions · 28 parts · 75 marks

0/75 marks
0Correct0Partial0Wrong28Unattempted
Filters0 active

Questions

Select a part to jump to its question

Finish set
7(a)Compilation Stages Reverse Polish NotationEasy2 marks
Write this infix expression in Reverse Polish Notation (RPN).
21 * (15 - 3 + 8) / 7

Answer

0 words
7(b)Compilation Stages Reverse Polish NotationMedium3 marks
Write this RPN expression in infix form.
c d + a b - a c - * /

Answer

0 words
7(c)Compilation Stages Reverse Polish NotationMedium4 marks
The RPN expression
15 9 - 24 3 / * 18 6 + /
is to be evaluated. Show the changing contents of the stack as the RPN expression is evaluated.
Show the stack after each token is processed
0 words