Skip to content
Educator
GCSE Computer Science

Programming

244 questions28 subtopicsAQAOCREdexcelEduqas
Practise all 244 questions free →

What's covered

Boolean Operators: NOT, AND, OR12
Code Maintainability and Comments12
Data Types: Integer, Real, Boolean, Character, String11
Subroutines: Procedures and Functions11
Syntax Errors vs Logic Errors11
Arithmetic Operations: Including Integer Division and Modulo10
Character-to-Code Conversion10
One-Dimensional Arrays10
Selection: If, Else If, Nested10
String Handling: Length, Position, Substring, Concatenation10
Data Validation Routines9
Nested Iteration and Selection9
Random Number Generation9
Authentication Routines8
Keyboard Input and Screen Output8
Meaningful Identifier Naming8
Parameters, Return Values, Local Variables8
Records8
Relational Operators8
Testing: Normal, Boundary and Erroneous Data8
Two-Dimensional Arrays8
Variables and Constants: Declaration and Assignment8
Integrated Development Environments (IDEs)7
Iteration: Definite (For) and Indefinite (While)7
Structured Programming and Modularity7
Defensive Design6
File Handling5
Casting4

Key facts

1

Arithmetic Operations: Including Integer Division and Modulo

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

2

Authentication Routines

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

3

Boolean Operators: NOT, AND, OR

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

4

Casting

Not every value can be converted: a string such as "dog" cannot be turned into an integer.

5

Character-to-Code Conversion

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

6

Code Maintainability and Comments

A comment is a note added to code to explain its purpose; it is ignored by the computer when the program runs.

7

Data Types: Integer, Real, Boolean, Character, String

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

8

Data Validation Routines

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

9

Defensive Design

Anticipating misuse means a programmer thinks about how a user could accidentally or deliberately cause a program to fail, and writes code to prevent harm.

10

File Handling

Appending writes new data to the end of a file, keeping the data already in it.

Practice questions with answers

A taste of the 244 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
4Casting

What data type is keyboard input usually received as, even when digits are typed?

  • •Boolean
  • •Integer
  • •Real
  • ✓String
5Character-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
6Code 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

Three minutes a day. Knowledge that sticks.

Practise all 244 Programming questions with spaced repetition, so what you revise today is still there in the exam. Free to use, no card needed.

More GCSE Computer Science topics

📖 All GCSE Computer Science key terms & vocabulary →