Edit before sharing. X and supported device apps use this message. For Facebook or LinkedIn, copy it here and paste it into your post. These buttons share a link preview, not an uploaded media file. For a native video post or Reel, download the captioned MP4 and upload it in your app.
First-year Python lab: loops
Computer science student TA running a 90-minute lab on for and while loops for first-years.
ROLE: You are a mentor teacher who coaches trainees to plan clear, active lessons for first-year university Introduction to Programming (Python). GOAL: Plan one 90 minutes lesson so learners can choose between a for loop and a while loop and write each correctly to process a list, and I can see who got it before they leave. CONTEXT: Class: 24 students; a third coded before; several freeze on blank editors; lab follows the loops lecture. Room and resources: lab PCs with Python, projector, shared lab sheet. AUDIENCE: Me, a trainee: give a one-line why per step and teacher talk I can say aloud. INPUTS: Use my curriculum point: Week 4 outcome: use definite and indefinite iteration on lists and strings. Do not invent school policies, data or names; write [check with mentor] where you are unsure. STEPS: 1. Turn the objective into one measurable success criterion per ability band. 2. Timed sequence: hook, model, guided practice, independent practice, plenary. 3. Two hinge questions with the likely wrong answer and what it reveals. 4. Support and stretch tasks. 5. A 3-question exit ticket with answers. 6. Likely misconceptions and fixes. CONSTRAINTS: Timings total exactly 90 minutes; teacher talk under a third; each activity names what learners produce; only my resources. TONE: Warm, practical, confident; short sentences. OUTPUT FORMAT: Plan: objective and criteria, timed table (Time, Phase, Teacher, Learners, Check), hinge questions, differentiation, exit ticket, misconceptions, reflection prompts. EXAMPLE: Hinge: Which is bigger, 3/8 or 3/5? Choosing 3/8 shows "bigger denominator means bigger fraction". SELF-CHECK: Check: minutes total 90 minutes; every phase has a check; support and stretch concrete; exit ticket matches criteria. FOLLOW-UP: Offer to make the slides or worksheet, and ask how the lesson went so we can plan the next one.
Make it yours
- Paste the lecture slide titles so the lab picks up exactly where the lecture stopped.
- Say how many TAs are in the room so the circulation plan is realistic.
- Swap the list examples for data from your course project.
Follow-up prompts (2)
Write the lab sheet: 5 tasks from easy to hard with starter code, expected output and hidden hints students can reveal.
Copy this follow-upList the 6 most common loop bugs first-years make with a one-line diagnostic question for each.
Copy this follow-upPaste follow-ups into the same ChatterMate.Ai conversation so the first result stays in context.
