Sie sind auf Seite 1von 1

ITB001 – SEM 2, 2008

WEEK 2 WORKSHOP

Purpose # Activities Mins


1. Teacher Introduction 5
• Tutors will introduce themselves and
tell students a little of their
background.
Setting a 2. Student Introductions 15
supportive
• Students to introduce themselves
Classroom
including:
Atmosphere
• their name
• programming experience – if any
• what course they are doing
• Take the roll
3. Learning in ITB001 10
• Tour of Blackboard:
• Unit Outline
Setting Clear • Learning Resources
Expectations • Assignments
• Notices (email)
• Contact hours
• Expected time commitment
4. Follow up previous week – issues? 5
• Blackboard site
• Python installation
• Python documentation
• ITB001 handbook
5. Introduce Python and IDLE 15
• Editing window
• Python shell
• Configuring IDLE
• Keyboard shortcuts
• Format of workshop exercises
Technical 6. Workshop exercises 35
[** 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]
7. Presentation of sample solutions 15
8. Preview next week: 5
• function definitions
Closing the
• parameters
Lesson
• side-effect –v- return value
• procedural abstraction

Page 1