CS 302 Winter 2003 F. Vahid Week 3 * Excercise on precise communication - Explaining how to redraw a particular drawing - Same, but in noisy environment * Helping students in lab - How can you help 28 students when there's only 1 of you? - Simple math: 28 * 5 minutes = 140 minutes -- almost whole period! - Key -- teach them how to help themselves * "Give a man a fish and he eats for a day; Teach a man to fish, and he eats for a lifetime." * "Solve a student's bug and his program works today; Teach a student to debug, and his programs will work for a lifetime." * Debugging their code is probably not feasible. Instead, give them suggestions on how to debug based on their problem - Important to teach them how to GROW programs, not write one big program before testing it out - Start small, build little by little - If stuck, insert print statements - Test functions individually - Use debugger - Make sure to teach them how to debug early in quarter, give incorrect programs and have students fix them * Require students to bring their books. - Point them to sections that may help with their problem * Don't just give answers -- help them to help themselves * TA copy accounts - For TA course-related use only * Not for personal use, or classes the TA is taking - CANNOT be shared with others