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 ▸

Describe two's complement.


How does a HDD (Hard drive disk) work?


What are higher order functions in functional programming? How does the 'map' function work and why is it a higher order function?


What is the denary equivalent of the hexadecimal number A7?