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)
- (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]
Mark scheme
Marking points from the official mark scheme. The mark or mark type is shown in brackets.
- 13(a)
- Error in the grammar/structure/rules of the programming language (B1)
- Prevents the program from compiling/running (B1).
- Max 2 marks.
- 13(b)
- Dry run: Manually stepping through the code (B1)
- Using trace tables/tracking variable values (B1)
- To predict the program's output for specific inputs (B1)
- Comparing predicted output with expected output to identify discrepancies/logic errors (B1).
- 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 →