What is Reverse Polish Notation?

Reverse Polish Notation (or RPN) is simply a different mathematical way of laying out equations, take for example the expression:
7+ 9
The layout is <First number> <Operator> <Second Number>, in computing we usually refer to the numbers as 'Operands' - another name for this layout is 'infix'. RPN lays out expressions with the Operands first and the Operator later. So our expression becomes:
7 9 +

NP

Related Computing A Level answers

All answers ▸

When a stack is implemented using a 1-D array, adding a valid item can cause an execution error. Explain why an execution error can occur in this situation.


In decimal, what is the most negative number that can be represented using a 12-bit two’s complement binary integer?


What is the difference between Serial and Parallel transmission of data?


Write pseudocode for the linear search algorithm, and then explain it’s complexity using big-O notation