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

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

View Full Document Right Arrow Icon
Functions, Built-Ins and Modules Lecture 4, Week 1 January 17, 2011 CSC108H1S Velian Pandeliev 1 Monday, January 17, 2011
Background image of page 1

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

View Full DocumentRight Arrow Icon
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
Background image of page 2
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
Background image of page 3

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

View Full DocumentRight Arrow Icon
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
Background image of page 4
5 Functions, Built-Ins and Modules Monday, January 17, 2011
Background image of page 5

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

View Full DocumentRight Arrow Icon
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
Background image of page 6
Image of page 7
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 Right Arrow Icon
Ask a homework question - tutors are online