logo

Topic study hub

Reverse Polish

Official AQA 7517 section 4.3.3.

0

Objectives

5

Flashcards

7

Questions

36 min

Study time

AqaA LevelComputer ScienceFundamentals of algorithms

Choose a revision tool

Start revising Reverse Polish

Syllabus checklist

What you need to know

0 objective pages available

Reverse Polish – infix transformations1 objectives
  • Reverse Polish – infix transformations: Be able to convert simple expressions in infix form to Reverse Polish notation (RPN) form and vice versa. Be aware of why and where it is used. Eliminates need for brackets in sub- expressions. Expressions in a form suitable for evaluation using a stack. Used in interpreters based on a stack for example Postscript and bytecode. 52

Key terms

Reverse Polish notation (RPN)Stack-based interpreter

Exam tips

  • Convert one sub-expression at a time: Identify each bracketed or higher-priority sub-expression, convert it to RPN, and then place the combining operator after the completed parts.

Common mistakes

  • Placing an operator before its operands: Place the operator after its operands: A+B becomes AB+.

Practice preview

Continue by objective

Objectives are grouped by subtopic so students can jump straight to the exact skill they want to revise.

Related topics

Study nearby topics next