Errors & Maintainability
OCR J2772.3cGCSELesson packSubscription
Also online
This worksheet marks itself
Set it as homework or classwork and every answer is marked as pupils go, with feedback on what they got wrong. The scores go straight into your mark book, so you can see who needs help before the next lesson.
- 8 questions
- 28 marks
- about 18 minutes
- marked instantly
Question types: multi-part, multiple choice, matching, true or false, short answer.
Try one from this worksheet
What happens when a program contains a syntax error?
Pick an answer: it's marked straight away, just as your pupils would see it.
About this resource
Understand syntax errors vs logic errors, how to identify and fix them, and techniques for writing maintainable code.
11 slides.
Lesson outline
- Syntax Errors
- Logic Errors
- Syntax or Logic?
- Identifying Errors in Code
- Code Demo: Finding & Fixing Errors
- Coding Challenge: Debug the Program
- Writing Maintainable Code
- Comments and Subprograms
- Task: Improve This Code
Unit bundle2.3 Robust Programs


