Unit 6: Hands-On Projects

Lesson 3: Development Continued – Testing and Iteration (1 hour)

Lesson content from Unit 6: Hands-On Projects

Lesson 3: Development Continued - Testing and Iteration (1 hour)

Learning Objectives

  • Continue developing AI projects
  • Test projects systematically
  • Iterate based on test results
  • Refine and improve projects

Materials Needed

  • Projects in progress
  • Internet-connected devices
  • Testing checklists
  • Student notebooks
  • Peer feedback forms

Time Breakdown

  • Review progress (5 min)
  • Testing strategies (15 min)
  • Continued development and testing (30 min)
  • Peer feedback session (10 min)

Activities

1. Review Progress (5 min)

Quick Status Check:

  • What did you accomplish?
  • What are you working on today?
  • Any blockers?

Encouragement:

  • Celebrate progress
  • Remind: Learning through doing
  • Mistakes are okay
  • Iteration is part of process

2. Testing Strategies (15 min)

Why Test?

  • Ensure project works
  • Find problems early
  • Improve quality
  • Build confidence

Testing Approaches:

1. Functionality Testing:

  • Does it work as intended?
  • Test main features
  • Test edge cases
  • Example: Does image classifier correctly identify images?

2. Accuracy Testing (for ML models):

  • How accurate is the model?
  • Test with different inputs
  • Note when it fails
  • Calculate accuracy if possible

3. User Testing:

  • Have others try it
  • Observe how they use it
  • Get feedback
  • Note confusion or problems

4. Ethical Testing:

  • Any bias issues?
  • Privacy concerns?
  • Fairness considerations?
  • Safety issues?

Testing Checklist:

  • [ ] Core functionality works
  • [ ] Handles normal inputs
  • [ ] Handles edge cases
  • [ ] Accuracy is acceptable (for ML)
  • [ ] User-friendly
  • [ ] No major ethical concerns
  • [ ] Documentation complete

Iteration Process:

  1. Test
  2. Identify problems
  3. Fix problems
  4. Test again
  5. Repeat until good enough

Remember:

  • Perfect is the enemy of good
  • Focus on core functionality
  • Can always improve later
  • Learning is the goal

3. Continued Development and Testing (30 min)

Development Time:

  • Continue building
  • Test as you go
  • Fix issues
  • Improve based on feedback

Testing Activities:

  • Students test their own projects
  • Test with classmates
  • Get feedback
  • Iterate

Documentation:

  • Document test results
  • Note issues found
  • Record fixes made
  • Reflect on improvements

Teacher Support:

  • Help with testing
  • Guide iteration
  • Provide feedback
  • Help troubleshoot

Peer Support:

  • Test each other's projects
  • Provide constructive feedback
  • Help troubleshoot
  • Share ideas

4. Peer Feedback Session (10 min)

Peer Testing:

  • Students test each other's projects
  • Use feedback form:
    • What works well?
    • What could be improved?
    • Any bugs or issues?
    • Suggestions?

Feedback Guidelines:

  • Be constructive
  • Be specific
  • Be kind
  • Focus on improvement

Students Use Feedback:

  • Consider suggestions
  • Prioritize improvements
  • Plan fixes
  • Document changes

Wrap-Up:

  • What did you learn from testing?
  • What will you improve?
  • What's left to do?

Preview: Next lesson - Finalize projects and prepare presentations

Differentiation Strategies

  • Younger students: Simpler testing, more guidance, structured feedback
  • Older students: More thorough testing, deeper analysis, peer review
  • Struggling learners: More support, simpler testing, guided feedback
  • Advanced learners: Comprehensive testing, advanced techniques, help others

Assessment

  • Quality of testing
  • Response to feedback
  • Iteration and improvement
  • Documentation