Skip to content
    Computer Science GCSE

    Local Variable

    What Local Variable means in Computer Science GCSE, as defined for Pearson Edexcel.

    Definition of Local Variable

    A variable declared inside a subprogram that is only accessible within that subprogram.
    Pearson Edexcel · Subprograms (study guide)

    Topics that use Local Variable

    Related terms

    Using Local Variable in the exam

    Definition questions usually carry one or two marks, and examiners look for the precise wording. Write the definition from memory, check it against the version above, and then use the term in a longer answer on the same topic so it sticks.

    Practise Computer Science questions

    Create a free account to answer exam-style questions on this topic and get feedback on your answers.

    Start free

    7 days Premium · Then free forever · No card, no charge

    All Computer Science GCSE terms