ITB001 – SEM 2, 2008 WEEK 2 WORKSHOP Purpose
Setting a supportive Classroom Atmosphere
#
Activities
Mins
1.
Teacher Introduction • Tutors will introduce themselves and tell students a little of their background. Student Introductions • Students to introduce themselves including: • their name • programming experience – if any • what course they are doing • Take the roll Learning in ITB001 • Tour of Blackboard: • Unit Outline • Learning Resources • Assignments • Notices (email) • Contact hours • Expected time commitment Follow up previous week – issues? • Blackboard site • Python installation • Python documentation • ITB001 handbook Introduce Python and IDLE • Editing window • Python shell • Configuring IDLE • Keyboard shortcuts • Format of workshop exercises Workshop exercises [** students to present solutions] 1. change_calculator [e] 2. temp_conversion [e]** 3. number_of_days [e] 4. rainfall [e]** 5. remove_ends [e]** 6. interest_calculator [m]** 7. poker [m] 8. playing_cards [m] 9. area_largest_two_squares [h]
5
Presentation of sample solutions Preview next week: • function definitions • parameters • side-effect –v- return value • procedural abstraction
15 5
2.
3.
Setting Clear Expectations
4.
5.
Technical
6.
7. 8. Closing the Lesson
15
10
5
15
35
Page 1