Please enable JavaScript to use CodeHS

Effective Use of AI in the CS Classroom

AI as a Coding Companion

This module helps educators understand how AI can serve as a supportive coding companion for students. Teachers will explore tools that assist with debugging, enriching code, reviewing and explaining student work, and comparing it to AP CSP rubrics. The module wraps up with a reflection on effectively integrating these AI tools into classroom practice.

Lessons

4.1 Code Debug

  • Code Debug
  • Teacher Debug of Python Program
  • Teacher Debug Reflection
  • AI Debug Prompt
  • AI Debug Response
  • +2 more

4.2 Code Enrichment

  • Code Enrichment
  • Conditional Printing Using if-elif
  • Conditional Printing Suggested Improvements
  • AI Prompt on Improvements
  • AI Response on Improvements
  • +2 more

4.3 Code/Peer Review

  • Code / Peer Review
  • Student Built Banking Application
  • Teacher Peer Review of Banking Application
  • AI Code/Peer Review Prompt
  • AI Code/Peer Review Response
  • +2 more

4.4 Code Explanation

  • Code Explanation
  • Code Explanation (Modulus)
  • Code Explanation Prompt #1
  • AI Code Explanation Response #1
  • Code Explanation Prompt #2
  • +2 more

4.5 AP CSP Code Rubric Comparison

  • Code Rubric
  • AP CSP Create Performance Task Rubric
  • AP CSP Code Try #1
  • AI Rubric/Code Comparison Prompt
  • AI Rubric/Code Response #1
  • +3 more

4.6 Code Companion Reflection

  • Code Companion Summary