| Lesson Plan | |
| Grade: Year 10 | Date: 17/01/2026 |
| Subject: Computer Science | |
| Lesson Topic: Apply validation to fields in a database | |
Learning Objective/s:
|
|
Materials Needed:
|
Introduction: Begin with a quick poll: “What happens when you enter the wrong data into a form?” Connect this to previous lessons on database design and explain that today’s success criteria are to identify validation needs, implement them in SQL and HTML, and test their effectiveness. |
Lesson Structure:
|
|
|
Conclusion: Recap the hierarchy of validation—from UI checks to database constraints—and highlight how they work together to protect data integrity. Collect exit tickets and remind students to complete the homework worksheet, which asks them to design validation rules for a new inventory system. |
|
Your generous donation helps us continue providing free Cambridge IGCSE & A-Level resources, past papers, syllabus notes, revision questions, and high-quality online tutoring to students across Kenya.