108HL02 - Operations, Data Types and Variables Lecture 2,...

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

View Full Document Right Arrow Icon
Operations, Data Types and Variables Lecture 2, Week 1 January 12, 2011 CSC108H1S Velian Pandeliev 1 Wednesday, January 12, 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
Some of you have not signed up for tutorial sections. Do this today! The download instructions on the website were mistakenly posted without links. This has been Fxed. I have compiled a tentative important dates sheet. 2 A ±ew Announcements Wednesday, January 12, 2011
Background image of page 2
3 Tentative Important Dates Wed Jan. 19 Quiz 1 Wed Feb. 2 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. 21 Quiz 4 Wed Apr. 6 Assignment 3 Due Wednesday, January 12, 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
Get a Course Information Sheet if you don’t have one yet Check out the course website on Blackboard Find your CDF username and try to log into a lab computer Install Python and Wing IDE Register for CodeLab Buy textbook 4 This Week’s To Do List Wednesday, January 12, 2011
Background image of page 4
5 Recap of Lecture 1 Wednesday, January 12, 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
A program is a set of instructions that a computer understands and executes. We write programs to accomplish tasks or solve problems. There are two three steps to writing a program: 1) Design an algorithm that solves the problem 2) Code the appropriate sequence of instructions 3) Verify that it works 6 Programs Wednesday, January 12, 2011
Background image of page 6
Programming languages are artifcial languages that enable humans to convey sequences oF instructions to a computer. Like natural languages, they have rules, grammar and syntax. Programming Languages 7 Wednesday, January 12, 2011
Background image of page 7

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

View Full DocumentRight Arrow Icon
Python is a high-level language designed for code readability and simplicity. It is an interpreted language, which means that we can execute commands one at a time and see the result instantly without compiling. It has an extensive library of helpful functions and modules that programmers can use in their code. 8 Meet Wednesday, January 12, 2011
Background image of page 8
The simplest way to experiment with the Python shell is to use mathematical operations. Syntax and order of operations is very similar to what we know from math. 9
Background image of page 9

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

View Full DocumentRight Arrow Icon
Image of page 10
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 / 33

108HL02 - Operations, Data Types and Variables Lecture 2,...

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

View Full Document Right Arrow Icon
Ask a homework question - tutors are online