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 +

Answered by Nick P. Computing tutor

4519 Views

See similar Computing A Level tutors

Related Computing A Level answers

All answers ▸

What is the difference between a RISC and CISC processor?


Why indentation is important in Python and what is the scope of a global variable?


What are the main differences between different loops when it comes to coding ?


Basic Conversions (Binary, Hexadecimal, etc)


We're here to help

contact us iconContact usWhatsapp logoMessage us on Whatsapptelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo
Cookie Preferences