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
Answered by Nick P. Computing tutor

4853 Views

See similar Computing A Level tutors

Related Computing A Level answers

All answers ▸

In a computer program, a parameter may be passed to a procedure by value. Explain how this method works.


What do the logical operators AND, OR, XOR and NOT do?


How do you convert from binary to decimal?


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


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

© MyTutorWeb Ltd 2013–2025

Terms & Conditions|Privacy Policy
Cookie Preferences