Reading & Directing AI-Written Code · Intermediate
Reading & Directing AI-Written Code — Intermediate
30 practice questions on Reading & Directing AI-Written Code. Every question is written from a specific moment in a real lecture, and after you answer it links to that exact timestamp so you can check it yourself.
What this pack asks
The free questions in this pack. Answer choices and explanations appear as you play.
A helper an agent wrote ends with return name, house, and the caller patches known bad input: … The quick test entered "Harry"/"Gryffindor" and printed fine. What goes wrong first once real input arrives?
Answer this one →An agent hardens a Student class: … A teammate's script later does s.house = "Number Four, Privet Drive", and printing shows exactly that. The agent insists the class is fully validated. What must the next instruction pin down?
Answer this one →
Written from lectures by Harvard CS50. Not affiliated with or endorsed by any university, channel, creator or certification program.