Skip to content

Course home

Develop code

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]
Markscheme

Develop code Questions

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

62 exam-style questions on Edexcel IGCSE Computer Science Develop code. Each one has a worked solution and a mark scheme showing where the marks go.

Question bank