Question 5

AQA Computer Science June 2025 Paper 1 (7517/1)A level5 marks

On the specification

5.1
4.3 Fundamentals of algorithms
5.2
4.2 Fundamentals of data structures
5.3
4.2 Fundamentals of data structures
Question text

5 This question is about the ConvertToRPN subroutine. 5.1 Describe two advantages of using Reverse Polish Notation (RPN) instead of infix notation to represent expressions. [2 marks] 5.2 A dictionary is used to store the precedence of the allowed operators. Explain the concept of a dictionary. [2 marks] 5.3 State the type of data structure that has been represented using the Operators list. [1 mark]