← All GCSE Flashcard Decks

GCSE Computer Science Flashcards

7 cards from real GCSE practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.

Read the first 7 GCSE Computer Science flashcards as text
  1. What is an algorithm?

    Answer: A step-by-step set of instructions to solve a problem

    An algorithm is a precise, ordered set of instructions designed to solve a specific problem or perform a task.

  2. Which sorting algorithm works by repeatedly swapping adjacent elements that are in the wrong order?

    Answer: Bubble sort

    Bubble sort repeatedly compares and swaps neighbouring elements until the entire list is in the correct order.

  3. What does 'iteration' mean in the context of programming?

    Answer: Repeating a block of code

    Iteration refers to the repetition of a block of code, typically implemented using loops such as for or while.

  4. In Python, which operator is used for integer (floor) division?

    Answer: //

    The // operator in Python performs integer division, dividing and discarding any remainder to return a whole number.

  5. What is a subroutine in programming?

    Answer: A named block of code that can be called multiple times

    A subroutine is a named, reusable block of code that performs a specific task and can be called from anywhere in a program.

  6. What does 'selection' refer to in programming?

    Answer: Making decisions using conditions such as IF statements

    Selection is a programming construct that uses conditions (IF, ELSE IF, ELSE) to choose between different execution paths.

  7. Which data type is used to store the value True or False?

    Answer: Boolean

    A Boolean data type stores only two values — True or False — and is used for logical conditions and decision-making.