# 108HL04 - Functions Built-Ins and Modules Lecture 4 Week 1 CSC108H1S Velian Pandeliev 1 Monday Announcements Labs start on Wednesday room

This preview shows pages 1–7. Sign up to view the full content.

Functions, Built-Ins and Modules Lecture 4, Week 1 January 17, 2011 CSC108H1S Velian Pandeliev 1 Monday, January 17, 2011

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
2 Announcements Labs start on Wednesday, room assignments are on Blackboard Can you log on to CDF? My of±ce hours on Tuesday: 1-3 pm (not 2-4pm!) Quiz 1 is NOT on Wednesday Monday, January 17, 2011
3 Important Dates Wed Jan. 26 Quiz 1 Wed Feb. 9 Quiz 2 Fri Feb. 11 Assignment 1 Due, Midterm Cutoff Wed Feb. 16 Midterm Mon Feb. 21 Course Drop Deadline Wed Mar. 9 Quiz 3 Wed Mar. 9 Assignment 2 Due Wed Mar. 23 Quiz 4 Wed Apr. 6 Assignment 3 Due Monday, January 17, 2011

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
Quick Note on Variables 4 When you assign a new value to a variable, you lose the link to the old value. In one CodeLab exercise, you were asked to swap the values of two variables, i and j. temp = i i = j j = temp Monday, January 17, 2011
5 Functions, Built-Ins and Modules Monday, January 17, 2011

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
6 A function is a named sequence of instructions that performs a speci±c task. Functions make code easier to read and enable us to
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 04/25/2011 for the course CSC 108 taught by Professor Gries during the Spring '08 term at University of Toronto- Toronto.

### Page1 / 16

108HL04 - Functions Built-Ins and Modules Lecture 4 Week 1 CSC108H1S Velian Pandeliev 1 Monday Announcements Labs start on Wednesday room

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online