Difference between revisions of "Section B 2017"

From AQA Computer Science
Jump to: navigation, search
(Introduction)
(Pseudo Code to C#)
Line 5: Line 5:
  
 
==Pseudo Code to C#==
 
==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=
 
=Old Spec Papers=

Revision as of 13:07, 18 January 2019

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

2016 Old Spec

2015 Old Spec

2014 Old Spec

2013 Old Spec

2012 Old Spec

2011 Old Spec

2010 Old Spec

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

New AS Spec Questions

The questions below are from the new specification:

AS Sample Question

2016 New Spec

2017 New Spec

2018 New Spec

New A Level Questions

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

A Level Sample Question

2017 A Level

2018 A Level