AI as a study helper
Debug with questions — not pasted solutions
For coding homework, ask AI to interrogate your bug — not to hand you a finished program you can’t explain.
1Learn the idea
Read
The debugging-questions workflow
Use this before-and-after pattern.
Before (outsourcing):
Here’s all my code. Make it work.
After (learning):
I’m debugging. Do not paste a full solution. Ask me up to five yes/no or short-answer questions that help me find the bug. Wait for each of my answers. If I’m stuck after five, give one hint about where to look, not the fixed code.
Now the model becomes a rubber duck with a checklist — and you stay the programmer.
Read
What to share (minimal)
Include:
- the symptom (“sprite ignores the second broadcast”)
- the small snippet around the failure (10–20 lines, not the whole repo)
- what you already tried
Skip:
- classmates’ full projects
- API keys or login secrets
- huge unrelated files
Smaller context makes better questions and fewer accidental leaks.
Read
Sample question ladder you want AI to ask
Good questions sound like:
- Does the freeze happen on the first click or only after the second message?
- Which script is listening for that broadcast name — exact spelling?
- What is the value of your counter right before the loop?
- Did you change costumes and scripts in the same event?
Answering those often reveals the bug without a gift-wrapped fix.
Read
If it slips into full solutions
Reply immediately:
Delete the full code from your approach. Convert that fix into two questions I should ask myself instead.
Then answer those questions in your editor. Change one thing. Retest. That is real debugging practice for CS class, Scratch clubs, or Python homework.
Read
Own the final commit
Before you turn work in, close the chat and explain the bug and fix in two sentences. If you can’t, you don’t understand the “solution” yet — keep questioning, don’t keep pasting.
Go deeper
Before you start
Why this matters
Your Scratch sprite freezes after you add a new broadcast. Or your Python loop prints forever. Panic-paste: the entire project plus “fix it.” The chatbot returns a complete working script. You drop it in. The teacher asks why you used that variable name. Silence. You submitted a solution your fingers typed but your brain never owned.
Related lessons
Check your understanding
Page assessment
Answer from memory. Completion is saved from this evidence, not from opening the next page.
All responses are required.