# Introduction

You are advised to spend no more than 20 minutes on this section. You will be asked to create a new program not related to the Preliminary Material or Skeleton Program.

This will be a programming question, they will give you or describe an algorithm for you to implement. They will give you the data types and variables required. Typically this will be at least 10 marks, and additional marks are given for testing your program. This is similar to the old specification AS exam and the sample questions below are taken from previous papers.

## Pseudo Code to C#

The symbol '←' always means '='. This assigns a value to a variable.

### While

This is the pseudo code command word for a while loop. it will have the condition after the command word:

eg WHILE (factorfound = false)
............
ENDWHILE


This is essentially the same as this in c:

<syntaxhightlight lang=c#> while (factorfound == false) {

    ...........


} </syntaxhighlight>

# Old Spec Papers

2009 Old Spec (Ignore this one, far too simple)

# New AS Spec Questions

The questions below are from the new specification:

# New A Level Questions

These are questions from the A Level exam so may be harder. The sample questions is also included: