Skip to content
MathsGenie logo
Open app

Course home

  1. IGCSE
  2. Computer Science Edexcel
  3. Question bank

Develop code

EasyMediumHard
123456789101112131415161718192021222324
Question 13

Programs can contain different types of errors, including logic, syntax, and runtime errors.

A program has three distinct errors.

Complete the table by adding a tick (✓) for each error description to show whether it is a logic, syntax, or runtime error.

Error descriptionLogicSyntaxRuntime
Attempting to retrieve index 12 from an array containing only 5 elements
Writing elsif instead of elif in a Python program
Calculating average value using a + b + c / 3 instead of (a + b + c) / 3
[3]

Develop code Questions

  1. IGCSE
  2. /Computer Science
  3. /Develop code