Reverse Polish Notation (AQA A-Level Computer Science): Quizzes

📚Quizzes
Reverse Polish Notation
Sign up to keep practising.Create a free account to play more quizzes and track your progress.

Practise the questions

10 questions from this quiz

Show

What is Reverse Polish Notation (RPN) also known as?

Postfix notation

What is the main benefit of using RPN for mathematical expressions?

Removes need for brackets

Which expression is written in postfix notation?

73+7 3 +

When converting infix to postfix, what stays in the same order?

The operands

What principle does a stack data structure follow?

LIFO (Last In First Out)

Evaluate the RPN expression 45+2×4 5 + 2 \times using a stack.

18

Which tree traversal method produces postfix notation?

Post-order traversal

Who invented Polish Notation and when?

Jan Łukasiewicz in 1924

Why do processors prefer RPN over infix notation?

They need operands first

Convert the postfix expression 62×3÷6 2 \times 3 \div to infix notation.

(6×2)÷3(6 \times 2) \div 3

Join 100,000+ A-Level students studying Quizzes with us.

Select your subjects, and get access to A+ resources today.