Educator
GCSE Computer Science

Programming

250 questions25 subtopicsAQAEdexcelEduqasOCR
Practise all 250 questions free →

What's covered

Subroutines — Procedures and Functions13
Data Types — Integer, Real, Boolean, Character, String11
Data Validation Routines11
Arithmetic Operations — Including Integer Division and Modulo10
Boolean Operators — NOT, AND, OR10
Character-to-Code Conversion10
Iteration — Definite (For) and Indefinite (While)10
Keyboard Input and Screen Output10
Meaningful Identifier Naming10
Nested Iteration and Selection10
One-Dimensional Arrays10
Parameters, Return Values, Local Variables10
Random Number Generation10
Records10
Relational Operators10
Selection — If, Else If, Nested10
String Handling — Length, Position, Substring, Concatenation10
Structured Programming and Modularity10
Syntax Errors vs Logic Errors10
Testing — Normal, Boundary and Erroneous Data10
Two-Dimensional Arrays10
Variables and Constants — Declaration and Assignment10
Authentication Routines9
Code Maintainability and Comments8
Defensive Design8

Key facts

1

In AQA pseudo-code the keyword for integer division is DIV.

2

Authentication identifies who you are; authorisation decides what you are allowed to do.

3

age >= 18 AND has_ticket is true only when both conditions hold.

4

The ASCII code of the character '1' is 49, not the integer 1.

5

The five data types named on the AQA 8525 spec are integer, real, Boolean, character and string.

6

A format check tests that data matches an expected pattern, e.g. UK postcode LL1 1LL.

7

FOR i ← 1 TO 5 (inclusive both ends) runs the loop body five times.

8

In AQA pseudo-code, OUTPUT writes a value or string to the screen.

9

camelCase joins multiple words by capitalising each subsequent word's first letter, e.g. studentAge.

10

Deeply nested code becomes harder to read and debug; refactoring with subroutines or early returns is preferred.

Sample questions

A taste of the 250 questions in this topic — answers marked. Sign up to practise the full set with spaced repetition.

1Arithmetic Operations — Including Integer Division and Modulo

What is the value of 10 DIV 3?

  • One (the result minus two)
  • Ten (the dividend value itself)
  • Three (the integer part only)
  • Zero (no integer part at all)
2Authentication Routines

What is the most common form of authentication?

  • A handshake captured by the computer's camera
  • A signature signed on a physical form
  • A username and password combination
  • A weekly emailed code sent to the user
3Boolean Operators — NOT, AND, OR

When does an AND expression return true?

  • When at least one operand is true
  • When both operands are true
  • When neither operand is true at all
  • When the operands are different in value
4Character-to-Code Conversion

What does ASCII let us do with characters?

  • Compress characters to reduce file size
  • Display characters in different fonts and sizes
  • Encrypt characters for secure transmission
  • Represent characters as numbers
5Code Maintainability and Comments

Why are subroutines used when structuring a program?

  • To convert the code into binary faster
  • To make the program run more quickly
  • To split it into smaller reusable parts
  • To stop users entering invalid data
6Data Types — Integer, Real, Boolean, Character, String

Name the five common AQA data types.

  • Integer, float, Boolean, array, string
  • Integer, real, binary, character, string
  • Integer, real, Boolean, character, record
  • Integer, real, Boolean, character, string

Try it for four weeks. Free.

One school. Unlimited classes. No card limit. No teacher limit. If your students aren't practising daily by the end of the trial, you owe us nothing.

More GCSE Computer Science topics