Question 10

AQA Computer Science June 2022 Paper 1 (7517/1)A level1 mark

On the specification

4.4 Theory of computation
Question text

10 The user must input a D or P to select Discard or Play during a game. Write a regular expression that would match the character D or P. You should not make any changes to the Skeleton Program to answer this question. [1 mark] You are advised to spend no more than 70 minutes on this section. Enter your answers to Section D in your Electronic Answer Document. You must save this document at regular intervals. These questions require you to load the Skeleton Program and to make programming changes to it.