Note AcademyNote Academy

Computer Science (AS & A Level) · Oct / Nov 2022 · Paper 21 · Question 7

9618

As printed in the paper

The question as text

A simple arithmetic expression is stored as a string in the format: <Value1><Operator><Value2> An operator character is one of the following: ' + ' ' − ' ' * ' ' / ' Example arithmetic expression strings: "803+1904" "34/7"

Read automatically from the paper; the printed page above is exact.

Show the answer and mark scheme
  • 7(a)(i)[7]

  • 7(a)(ii)[1]

  • 7(b)[2]

Make a free account to save your answers and see your weak topics and ask the AI why a wrong answer is wrong.