SHSubjectHub

Programming Fundamentals quiz games for GCSE Computer Science

22 live games for GCSE Computer Science, 250 questions. Free for teachers, up to 40 players.

Programming Fundamentals for OCR GCSE Computer Science (J277 section 2.2): 22 ready-made live quiz games, 250 questions in all.

The questions cover 2D arrays, OCR pseudocode arrays, strings and subroutines, OCR pseudocode selection and loops, Python arrays, strings and subroutines, Python selection and loops and OCR pseudocode variables and operators.

There are 16 code-reading sets, 2 quickfire rounds, 2 practice sets and 2 picture rounds. Question types: 158 multiple choice, 86 true or false, 4 fill the gap and 2 matching. 45 questions have a picture.

Pick a set, put the join code on the board and pupils play on their phones. Pupils need no account. Free for teachers, up to 40 players.

The gamesEach set is a fixed list of questions. Open a preview to see a few of them.

Quickfire: Programming Fundamentals

GCSE15 questions· Warm-up

Plays in 17 of 17 game modes, including Gold Rush, Big Catch and Speed Blitz.

Preview 3 sample questions
  1. 1

    True or false?

    Concatenation joins strings together
  2. 2

    True or false?

    An integer is a whole number.
  3. 3

    Which of these is an integer?

    42True"hello"3.14

+ 12 more questions in the game.

Practice

Programming Fundamentals: Data Types & Variables

GCSE15 questions· Core

Plays in 17 of 17 game modes, including Gold Rush, Big Catch and Speed Blitz.

Preview 3 sample questions
  1. 1

    What values can a Boolean variable hold?

    Any whole numberA decimal numberTrue or FalseAny text string
  2. 2

    Arrays: true or false?

    An array can store multiple values
  3. 3

    Arrays: true or false?

    An array can only store integers

+ 12 more questions in the game.

Practice

Programming Fundamentals: String Manipulation

GCSE15 questions· Core

Plays in 17 of 17 game modes, including Gold Rush, Big Catch and Speed Blitz.

Preview 3 sample questions
  1. 1

    What does concatenation mean in programming?

    Converting a string to an integerJoining two or more strings togetherDeleting characters from a stringSplitting a string into characters
  2. 2

    True or false?

    The length of the string 'Hi' is 3
  3. 3

    True or false?

    Strings can be converted to uppercase or lowercase

+ 12 more questions in the game.

Code reading: OCR pseudocode arrays, strings and subroutines

GCSE10 questions· Core

Plays in 13 of 17 game modes, including Gold Rush, Big Catch and Fossil Hunt.

Preview 3 sample questions
  1. 1

    True or false? Read this OCR pseudocode.

    array nums = [21, 19, 20, 18]
    print(nums[2])
    This code outputs 20.
  2. 2

    True or false? Read this OCR pseudocode.

    word = "screen"
    print(word.upper)
    This code outputs screen.
  3. 3

    What does this OCR pseudocode output?

    word = "mouse"
    print(word.upper)
    MOUSEMousemouseWORD

+ 7 more questions in the game.

Code reading: OCR pseudocode arrays, strings and subroutines, set 2

GCSE10 questions· Core

Plays in 13 of 17 game modes, including Gold Rush, Big Catch and Fossil Hunt.

Preview 3 sample questions
  1. 1

    What does this OCR pseudocode output?

    array nums = [28, 9, 25, 27, 21]
    print(nums[3] + nums[0])
    327285655
  2. 2

    What does this OCR pseudocode output?

    array nums = [2, 13, 3, 28, 22]
    print(nums[1] + nums[3])
    54141328
  3. 3

    What does this OCR pseudocode output?

    array nums = [27, 6, 26, 1, 17]
    print(nums[1] + nums[0])
    34627331

+ 7 more questions in the game.

Code reading: OCR pseudocode arrays, strings and subroutines, set 3

GCSE10 questions· Core

Plays in 13 of 17 game modes, including Gold Rush, Big Catch and Fossil Hunt.

Preview 3 sample questions
  1. 1

    True or false? Read this OCR pseudocode.

    array nums = [12, 12, 6, 3, 5]
    total = 0
    for i = 0 to nums.length - 1
      total = total + nums[i]
    next i
    print(total)
    This code outputs 38.
  2. 2

    What does this OCR pseudocode output?

    function change(n)
      return n + 2
    endfunction
    print(change(change(8)))
    8101214
  3. 3

    What does this OCR pseudocode output?

    array nums = [8, 7, 6, 9]
    total = 0
    for i = 0 to nums.length - 1
      total = total + nums[i]
    next i
    print(total)
    4223021

+ 7 more questions in the game.

Code reading: OCR pseudocode selection and loops

GCSE10 questions· Core

Plays in 13 of 17 game modes, including Gold Rush, Big Catch and Fossil Hunt.

Preview 3 sample questions
  1. 1

    True or false? Read this OCR pseudocode.

    total = 0
    for i = 1 to 5
      total = total + i
    next i
    print(total)
    This code outputs 21.
  2. 2

    True or false? Read this OCR pseudocode.

    count = 0
    for i = 2 to 11 step 3
      count = count + 1
    next i
    print(count)
    This code outputs 4.
  3. 3

    True or false? Read this OCR pseudocode.

    score = 100
    bonus = 0
    if score > 100 then
      bonus = 5
    endif
    print(score + bonus)
    This code outputs 100.

+ 7 more questions in the game.

Code reading: OCR pseudocode selection and loops, set 2

GCSE10 questions· Core

Plays in 13 of 17 game modes, including Gold Rush, Big Catch and Fossil Hunt.

Preview 3 sample questions
  1. 1

    True or false? Read this OCR pseudocode.

    count = 0
    for i = 5 to 14 step 3
      count = count + 1
    next i
    print(count)
    This code outputs 4.
  2. 2

    What does this OCR pseudocode output?

    x = 19
    if x MOD 2 == 0 then
      print(x DIV 2)
    else
      print(x * 3 + 1)
    endif
    5857199
  3. 3

    What does this OCR pseudocode output?

    count = 0
    for i = 0 to 5
      count = count + 1
    next i
    print(count)
    8765

+ 7 more questions in the game.

Code reading: OCR pseudocode selection and loops, set 3

GCSE10 questions· Core

Plays in 13 of 17 game modes, including Gold Rush, Big Catch and Fossil Hunt.

Preview 3 sample questions
  1. 1

    What does this OCR pseudocode output?

    x = 27
    while x > 0
      x = x - 5
    endwhile
    print(x)
    -3230
  2. 2

    What does this OCR pseudocode output?

    total = 0
    for i = 0 to 3
      total = total + i * 2
    next i
    print(total)
    361220
  3. 3

    What does this OCR pseudocode output?

    x = 15
    if x MOD 2 == 0 then
      print(x DIV 2)
    else
      print(x * 3 + 1)
    endif
    4574615

+ 7 more questions in the game.

Code reading: OCR pseudocode variables and operators

GCSE10 questions· Core

Plays in 13 of 17 game modes, including Gold Rush, Big Catch and Fossil Hunt.

Preview 3 sample questions
  1. 1

    True or false? Read this OCR pseudocode.

    b = 5
    a = 7
    answer = b + a * 5
    print(answer)
    This code outputs 60.
  2. 2

    True or false? Read this OCR pseudocode.

    y = 8
    x = 6
    result = y + x * 2
    print(result)
    This code outputs 20.
  3. 3

    True or false? Read this OCR pseudocode.

    x = 35
    y = 4
    print(x DIV y)
    This code outputs 8.

+ 7 more questions in the game.

Code reading: OCR pseudocode variables and operators, set 2

GCSE10 questions· Core

Plays in 13 of 17 game modes, including Gold Rush, Big Catch and Fossil Hunt.

Preview 3 sample questions
  1. 1

    What does this OCR pseudocode output?

    x = 30
    y = 4
    print(x DIV y)
    26727.5
  2. 2

    What does this OCR pseudocode output?

    x = 22
    y = 4
    print(x MOD y)
    1825.55
  3. 3

    What does this OCR pseudocode output?

    x = 39
    y = 4
    print(x DIV y)
    39359.75

+ 7 more questions in the game.

Code reading: Python arrays, strings and subroutines

GCSE10 questions· Core

Plays in 13 of 17 game modes, including Gold Rush, Big Catch and Fossil Hunt.

Preview 3 sample questions
  1. 1

    What does this Python code output?

    nums = [21, 4, 6, 28]
    print(nums[1])
    46211
  2. 2

    What does this Python code output?

    nums = [4, 9, 16, 6, 2, 7]
    print(nums[3])
    16236
  3. 3

    What does this Python code output?

    nums = [3, 15, 26, 1, 21, 13]
    print(nums[1])
    115263

+ 7 more questions in the game.

Code reading: Python arrays, strings and subroutines, set 2

GCSE10 questions· Core

Plays in 13 of 17 game modes, including Gold Rush, Big Catch and Fossil Hunt.

Preview 3 sample questions
  1. 1

    True or false? Read this Python code.

    nums = [1, 5, 9]
    total = 0
    for i in range(0, len(nums)):
        total = total + nums[i]
    print(total)
    This code outputs 6.
  2. 2

    True or false? Read this Python code.

    word = "MONITOR"
    print(word[2:5])
    This code outputs NIT.
  3. 3

    True or false? Read this Python code.

    def change(n):
        return n * 2
    print(change(6) + 9)
    This code outputs 21.

+ 7 more questions in the game.

Code reading: Python arrays, strings and subroutines, set 3

GCSE10 questions· Core

Plays in 13 of 17 game modes, including Gold Rush, Big Catch and Fossil Hunt.

Preview 3 sample questions
  1. 1

    What does this Python code output?

    word = "KEYBOARD"
    print(word[3:5])
    BOYBBOAOA
  2. 2

    What does this Python code output?

    nums = [6, 7, 3, 2, 4]
    c = 0
    for i in range(0, len(nums)):
        if nums[i] > 7:
            c = c + 1
    print(c)
    4105
  3. 3

    What does this Python code output?

    def update(n):
        return n * 5
    print(update(6) + 4)
    50343010

+ 7 more questions in the game.

Code reading: Python selection and loops

GCSE10 questions· Core

Plays in 13 of 17 game modes, including Gold Rush, Big Catch and Fossil Hunt.

Preview 3 sample questions
  1. 1

    True or false? Read this Python code.

    total = 0
    for i in range(2, 7):
        total = total + i * 2
    print(total)
    This code outputs 40.
  2. 2

    True or false? Read this Python code.

    score = 61
    bonus = 0
    if score >= 50:
        bonus = 20
    print(score + bonus)
    This code outputs 61.
  3. 3

    True or false? Read this Python code.

    count = 0
    for i in range(2, 11, 3):
        count = count + 1
    print(count)
    This code outputs 4.

+ 7 more questions in the game.

Code reading: Python selection and loops, set 2

GCSE10 questions· Core

Plays in 13 of 17 game modes, including Gold Rush, Big Catch and Fossil Hunt.

Preview 3 sample questions
  1. 1

    What does this Python code output?

    total = 0
    for i in range(2, 9):
        total = total + i * 2
    print(total)
    8887054
  2. 2

    What does this Python code output?

    x = 5
    if x % 2 == 0:
        print(x // 2)
    else:
        print(x * 3 + 1)
    216515
  3. 3

    What does this Python code output?

    x = 10
    while x > 0:
        x = x - 4
    print(x)
    -1-202

+ 7 more questions in the game.

Code reading: Python selection and loops, set 3

GCSE10 questions· Core

Plays in 13 of 17 game modes, including Gold Rush, Big Catch and Fossil Hunt.

Preview 3 sample questions
  1. 1

    What does this Python code output?

    x = 13
    if x % 2 == 0:
        print(x // 2)
    else:
        print(x * 3 + 1)
    3913640
  2. 2

    What does this Python code output?

    x = 20
    if x % 2 == 0:
        print(x // 2)
    else:
        print(x * 3 + 1)
    20611060
  3. 3

    What does this Python code output?

    x = 19
    while x > 0:
        x = x - 4
    print(x)
    -1013

+ 7 more questions in the game.

Code reading: Python variables and operators

GCSE10 questions· Core

Plays in 13 of 17 game modes, including Gold Rush, Big Catch and Fossil Hunt.

Preview 3 sample questions
  1. 1

    True or false? Read this Python code.

    x = 22
    y = 3
    print(x % y)
    This code outputs 1.
  2. 2

    True or false? Read this Python code.

    a = 9
    m = 3
    total = a - m + 3
    print(total)
    This code outputs 3.
  3. 3

    What does this Python code output?

    a = 7
    y = 2
    result = a * y - 6
    print(result)
    14-2883

+ 7 more questions in the game.

Code reading: Python variables and operators, set 2

GCSE10 questions· Core

Plays in 13 of 17 game modes, including Gold Rush, Big Catch and Fossil Hunt.

Preview 3 sample questions
  1. 1

    True or false? Read this Python code.

    x = 19
    y = 2
    print(x // y)
    This code outputs 1.
  2. 2

    What does this Python code output?

    x = 11
    n = 4
    total = x - n + 4
    print(total)
    731911
  3. 3

    True or false? Read this Python code.

    a = 8
    b = 5
    print(str(a) + str(b))
    This code outputs 85.

+ 7 more questions in the game.

Quickfire: Data structures

GCSE15 questions· Warm-up· all pictures

Plays in 13 of 17 game modes, including Gold Rush, Big Catch and Fossil Hunt.

Preview 3 sample questions
  1. 1
    A 2D array grid of 3 rows and 5 columns, numbered from 0

    Picture: Forge Class Software Ltd

    In this 2D array, where is the value 5?

    row 3, column 1row 2, column 0row 0, column 2row 2, column 1
  2. 2
    A 2D array grid of 3 rows and 5 columns, numbered from 0

    Picture: Forge Class Software Ltd

    In this 2D array, where is the value 6?

    row 1, column 0row 0, column 1row 1, column 1row 2, column 1
  3. 3
    A 2D array grid of 3 rows and 5 columns, numbered from 0

    Picture: Forge Class Software Ltd

    In this 2D array, where is the value 3?

    row 0, column 2row 0, column 3row 2, column 0row 1, column 3

+ 12 more questions in the game.

Picture round: 2D arrays

GCSE15 questions· Core· all pictures

Plays in 13 of 17 game modes, including Gold Rush, Big Catch and Fossil Hunt.

Preview 3 sample questions
  1. 1
    A 2D array grid of 4 rows and 3 columns, numbered from 0

    Picture: Forge Class Software Ltd

    True or false?

    In this 2D array, grid[2][1] holds 4. (grid[row][column])
  2. 2
    A 2D array grid of 3 rows and 4 columns, numbered from 0

    Picture: Forge Class Software Ltd

    True or false?

    In this 2D array, grid[0][1] holds 44. (grid[row][column])
  3. 3
    A 2D array grid of 4 rows and 3 columns, numbered from 0

    Picture: Forge Class Software Ltd

    True or false?

    In this 2D array, grid[0][2] holds 27. (grid[row][column])

+ 12 more questions in the game.

Picture round: 2D arrays, set 2

GCSE15 questions· Core· all pictures

Plays in 13 of 17 game modes, including Gold Rush, Big Catch and Fossil Hunt.

Preview 3 sample questions
  1. 1
    A 2D array grid of 4 rows and 3 columns, numbered from 0

    Picture: Forge Class Software Ltd

    The 2D array grid is shown. What is grid[0][1]? (grid[row][column])

    4758217
  2. 2
    A 2D array grid of 4 rows and 3 columns, numbered from 0

    Picture: Forge Class Software Ltd

    The 2D array grid is shown. What is grid[2][1]? (grid[row][column])

    20145539
  3. 3
    A 2D array grid of 3 rows and 3 columns, numbered from 0

    Picture: Forge Class Software Ltd

    The 2D array grid is shown. What is grid[0][1]? (grid[row][column])

    34841

+ 12 more questions in the game.

How hosting works

  1. Pick a set and a game mode. The questions stay the same; the game changes.
  2. Put the join code on the board. Pupils join at subjecthub.co.uk/play on a phone or laptop. They need no account.
  3. Play for 1 to 7 minutes. You choose the length before you start.

Free for teachers: host these sets with up to 40 players. You sign up once as a teacher.

See how each game mode plays →

← All GCSE Computer Science games · All live games