Skip to main content
Edexcel IGCSEComputer ScienceGeneral Applications5 Marks

A programmer is testing a new piece of software. (a) Explain what is meant by 'syntax error' in programming. (2) (b) Describe how 'dry run' testing can help identify logic errors in a program. (3)

  1. (a)Explain what is meant by 'syntax error' in programming.[2]
  2. (b)Describe how 'dry run' testing can help identify logic errors in a program.[3]

Mark scheme

Marking points from the official mark scheme. The mark or mark type is shown in brackets.

  1. 13(a)
  2. Error in the grammar/structure/rules of the programming language (B1)
  3. Prevents the program from compiling/running (B1).
  4. Max 2 marks.
  5. 13(b)
  6. Dry run: Manually stepping through the code (B1)
  7. Using trace tables/tracking variable values (B1)
  8. To predict the program's output for specific inputs (B1)
  9. Comparing predicted output with expected output to identify discrepancies/logic errors (B1).
  10. Max 3 marks.

Write your answer and get it marked

On Oracle Prep you can write or photograph your own answer and have it marked by AI against this mark scheme, with feedback on what you missed.

Sign up free →

About this question

Topic
General Applications, Edexcel IGCSE Computer Science. Structured question, 5 marks.

Questions and mark schemes are from past examination papers and remain the copyright of the exam board. How Oracle Prep builds its content

Related Computer Science questions

© 2026 Oracle Prep