Skip to content
    Computer Science GCSE

    Syntax error

    What Syntax error means in Computer Science GCSE, as defined for OCR, Pearson Edexcel.

    Definitions of Syntax error

    Exam boards and our study guides word this term in slightly different ways. Learn the version your board uses.

    Check what you remember

    Read the wording for your board, then hide it and explain Syntax error in your own words. Rough notes are fine. This is a self-check, with no mark or grade.

    Reference: OCR

    An error that breaks the rules of the language, such as a missing bracket or a misspelled keyword, and prevents the program running at all.
    OCR · Designing, creating and refining algorithms (study guide)
    Code violates the grammar of the language, so it cannot be translated or run; the translator reports it before execution.
    Pearson Edexcel · Algorithms (study guide)
    Breaks the rules of the programming language, so the code cannot be translated or run.
    OCR · Testing (study guide)

    Topics that use Syntax error

    Related terms

    Using Syntax error in the exam

    Check the command word and mark scheme for your exact question. After comparing your explanation with the reference, use the term in an answer on the linked topic. This practice does not predict an exam mark.

    Practise Computer Science questions

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

    Start free

    A week of Premium from your first lesson · Then the free plan continues · No card, no charge

    All Computer Science GCSE terms