Class Notes (1,200,000)
CA (650,000)
UW (20,000)
CS (1,000)
CS135 (30)
Lecture

Lecture #1 Notes Opening lecture notes


Department
Computer Science
Course Code
CS135
Professor
Craig Kaplan

This preview shows half of the first page. to view the full 2 pages of the document.
CS135
Sept 14, 2010
Course webpage
www.student.cs.uwaterloo.ca/~cs135/
Craig S. Kaplan
ISG Coordinator: Karen Anderson - Person you give doctor’s notes, exct.
CS undergrad advisors
Handouts available online and printed from campus copy
Software: DrRacket v5.0.1 (www.racket-lang.org)
Cs survival guide available online
read it asap
read the section on plagiarism
do your own work, and completing assignments is the key to success
Programming language design
Imperative: based on frequent changes to data
Eg. Machine language, Java, C++, Turing, VB
Functional: based on the computation of new values rather than the transformation of old ones
Eg. Excel formulas, LISP, ML, Haskell, Erlang, F#, Mathematic, XSLT
More closely connected to mathematics
Easier to design and reason about programs
Scheme
A functional programming language
Minimal but powerful syntax
Small toolbox with the ability to construct additional required tools
Interactive evaluator
Used in education and research since 1975
Racket: a dialect of Scheme
Functions in mathematics
A function is an abstraction that captures a repeated computation
f(x) = x^2
g(x,y) = x + y
=>Function name, arguments, computation
g(f(3),(g(4,2)) = 15
1. g(3^2,g(4,2))
2. g(9,g(4,2))
You're Reading a Preview

Unlock to view full version