AQA GCSE Computer Science - Paper 1 Revision Sheet
AQA GCSE Computer Science - Paper 1 Revision Sheet
Revision Sheet
1. Python: Core Concepts
Input / Output
Variables
Data Types
2. Control Structures
Arithmetic Operators
Operator Description
+ Addition
- Subtraction
* Multiplication
/ Division
// Floor Division
% Modulus (remainder)
** Exponentiation
Comparison Operators
Operator Meaning
== Equal to
!= Not equal to
Selection (IF)
if x > 10:
print("High")
else:
print("Low")
Loops
for loop: Known number of repetitions
while loop: Repeats until a condition is false
Definition: Checks each item in a list one-by-one until the target is found or the end is
reached.
Use: Works with unsorted data.
Efficiency: Simple but inefficient for large lists – time complexity O(n).
Exam Tip: You may be asked to identify when it’s appropriate or count comparisons.
Binary Search
Bubble Sort
Definition: Compares each pair of adjacent items and swaps them if they are in the wrong
order. Repeats until sorted.
Use: Good for small lists, not efficient for large data sets.
Efficiency: Time complexity O(n²) in worst case.
Exam Tip: You may be asked to complete a pass or count swaps/comparisons.
Merge Sort
Definition: A divide and conquer algorithm that splits the list into halves, sorts each half,
and merges them.
Use: Very efficient on large datasets.
Efficiency: Time complexity O(n log n).
Exam Tip: You may be asked to explain the splitting/merging process or compare merge
sort to bubble sort.
🔷 Process Instruction
🔶 Decision IF condition