AQA GCSE Computer Science 8525
Algorithms
Programming
Data Representation
Computer Systems
Computer Networks
Cyber Security
Relational Databases and SQL
Ethical, Legal and Environmental Impacts of Digital Technology
Programming
- 8 subtopics
- 24 things to know
- Paper 1
What Programming covers
Programming is examined in Paper 1, Computational thinking and programming skills. It covers data types, variables, constants and assignment, sequence, selection and iteration, arithmetic, relational and Boolean operators, arrays and records, input, output, string handling and random numbers, subroutines and structured programming and validation, authentication and testing.
Where it is assessed
Paper 1
Computational thinking and programming skills, a two-hour paper worth 50% of the GCSE.
Check the AQA specification ↗The 8 subtopics
Each one has its own page.
- Data typesInteger, real, Boolean, character and string, choosing the right type for a phone number, a price or a grade, and why 7 + 3 and '7' + '3' give different results.Open →
- Variables, constants and assignmentVariables, constants and declaration, assignment with the arrow, tracing a few lines of assignments, the difference between ← and =, and choosing meaningful identifier names.Open →
- Sequence, selection and iterationThe three basic constructs, definite and indefinite iteration, WHILE, REPEAT…UNTIL and DO…WHILE loops, nested loops and nested selection, and the output of short loops.Open →
- Arithmetic, relational and Boolean operatorsReal division, DIV and MOD with worked examples, the order of operations, the six relational operators, and AND, OR and NOT in conditions such as a mark between 1 and 10.Open →
- Arrays and recordsOne- and two-dimensional arrays indexed from zero, reading and changing items, totalling an array with a loop, record data structures and their fields, and arrays of records.Open →
- Input, output, string handling and random numbersUSERINPUT and OUTPUT, LEN, POSITION and SUBSTRING, concatenation, character codes, converting between strings and numbers, and generating random whole numbers with RANDOM_INT.Open →
- Subroutines and structured programmingProcedures and functions, parameters and return values, local variables, clear interfaces, and why subroutines and the structured approach make programs easier to write, share and debug.Open →
- Validation, authentication and testingRange, length and presence checks, looping until input is valid, simple authentication routines, normal, boundary and erroneous test data, and telling syntax errors from logic errors.Open →
What you need to know
Answer each one before you reveal it.
What is output by the code n ← 1, then WHILE n < 20, n ← n * 3, ENDWHILE, then OUTPUT n?
Why might INT_TO_STRING be used before output?
Why is using local variables good practice?
A program accepts ages from 11 to 18. Suggest one normal, one boundary and one erroneous test value.
What is a data type?
What is a variable?
What does the / operator do?
What is a data structure?
What is the integer data type?
What is a constant?
What does x ← 17 DIV 5 store in x?
What is an array?
How does a program obtain input from the keyboard in AQA pseudo-code?
What is a subroutine?
What is data validation?
What is the real data type?
What does declaring a variable do?
What are the three basic constructs used to build programs?
What does x ← 17 MOD 5 store in x?
In AQA pseudo-code, what is the index of the first item in an array?
How does a program display data on the screen?
How is a subroutine called?
What is a range check?
Take Programming further
The same content, four other ways.
Commonly confused
Pairs that lose marks when they are blurred together.
Variable vs Constant
Variable: a named store whose value can change while a program runs. Constant: a named value that stays fixed for the whole time a program runs.
Definite iteration vs Indefinite iteration
Definite iteration: repeating a block a fixed number of times known in advance. Indefinite iteration: repeating a block until some condition is met.
Procedure vs Function
Procedure: a named block of code that carries out a task without sending anything back. Function: a named block of code that sends a value back to the code that called it.
Questions from this topic
Each one with the model answer underneath.
- 1
What is a data type?
Model answer
A data type sets the kind of value a variable can hold. The data type also decides which operations can be carried out on that value.
- 2
What is the integer data type?
Model answer
An integer is a whole number with no fractional part. Integers can be positive, negative or zero, such as 42, 0 and −7.
- 3
What is the real data type?
Model answer
A real is a number that can have a fractional part, such as 3.75 or −0.5. Some languages call a real a float.
- 4
What is the Boolean data type?
Model answer
A Boolean holds only one of two values, True or False. Booleans are used in conditions and to record whether something has happened.
- 5
What is the character data type?
Model answer
A character is a single letter, digit, symbol or space. Examples of characters are 'A', '7' and '#'.
- 6
What is the string data type?
Model answer
A string is a sequence of characters, such as a name or a sentence. A string can also be empty, holding no characters at all.
What is inside Levo
Six ways to work the same material.
Programming revision questions
- What does Programming cover in AQA GCSE Computer Science?
- 8 subtopics: data types, variables, constants and assignment, sequence, selection and iteration, arithmetic, relational and boolean operators, arrays and records, input, output, string handling and random numbers, subroutines and structured programming and validation, authentication and testing. Each one has its own page with questions and model answers.
- How is Programming organised?
- By the AQA 8525 specification, subtopic by subtopic, so it matches the order you are taught it in.
Every question in Programming, on a schedule.
Attempt a question from memory, write the correct version, then attempt it again. Levo records the jump between your first attempt and your last, and brings each question back on the day you are due to forget it.
Or £46 a year, about £3.83 a month. Cancel anytime.