Question 5
AQA Computer Science Specimen Paper 1 (7517/1)A level3 marks
On the specification
- 5.1
- 4.3 Fundamentals of algorithms
- 5.2
- 4.3 Fundamentals of algorithms
- 5.3
- 4.3 Fundamentals of algorithms
Question text
5 Convert the following Reverse Polish Notation expressions to their equivalent infix expressions. 5.1 3 4 * [1 mark] 5.2 12 8 + 4 * [1 mark] Reverse Polish Notation is an alternative to standard infix notation for writing arithmetic expressions. 5.3 State one advantage of Reverse Polish Notation over infix notation. [1 mark] END OF SECTION A Section B begins on page 14 You are advised to spend no more than 20 minutes on this section. Enter your answers to Section B in your Electronic Answer Document. You must save this document at regular intervals. The question in this section asks you to write program code starting from a new program/project/file. • Save your program/project/file in its own folder/directory. • Save your program/project/file at regular intervals.