Difference between revisions of "Section B"

From TRCCompSci - AQA Computer Science
Jump to: navigation, search
(Pseudo Code to C#)
(Common Skills)
 
(18 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
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.
 
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#==
+
==C# to Pseudo Code==
The symbol '←' always means '='. This assigns a value to a variable.
+
[[CSharp to Pseudo Code]]
  
===While===
+
==Common Skills==
This is the pseudo code command word for a while loop. it will have the condition after the command word:
+
[[Generating Random Numbers]]
  
eg WHILE (factorfound = false)
+
[[Modular Division]]
        ............
 
    ENDWHILE
 
  
This is essentially the same as this in c:
+
===string manipulation===
 +
[[Accessing each character of a string]]
  
<syntaxhightlight lang=c#>
+
[[Getting the ASCII value of a character]]
while (factorfound == false)
+
 
{
+
[[Testing if a character is in a word]]
    ...........
 
}
 
</syntaxhighlight>
 
  
 
=Old Spec Papers=
 
=Old Spec Papers=
Line 50: Line 46:
  
 
[[2018 New Spec]]
 
[[2018 New Spec]]
 +
 +
[[2019 New Spec]]
 +
 +
[[2020 New Spec]]
 +
 +
[[2022 New Spec]]
 +
 +
[[2023 New Spec]]
  
 
=New A Level Questions=
 
=New A Level Questions=
Line 59: Line 63:
  
 
[[2018 A Level]]
 
[[2018 A Level]]
 +
 +
[[2019 A Level]]
 +
 +
[[2020 A Level]]
 +
 +
[[2021 A Level]]
 +
 +
[[2022 A Level]]
 +
 +
[[2023 A Level]]
 +
 +
=Example Questions=
 +
These are some A Level standard questions i have found:
 +
 +
[[politeness of a number]]

Latest revision as of 12:24, 6 February 2024

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.

C# to Pseudo Code

CSharp to Pseudo Code

Common Skills

Generating Random Numbers

Modular Division

string manipulation

Accessing each character of a string

Getting the ASCII value of a character

Testing if a character is in a word

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

2019 New Spec

2020 New Spec

2022 New Spec

2023 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

2019 A Level

2020 A Level

2021 A Level

2022 A Level

2023 A Level

Example Questions

These are some A Level standard questions i have found:

politeness of a number