What is programming
Casting spells
A creative activity—challenging, fun, requires practice to learn, at times frustrating
Dealing with frustrations—start early and allow enough time, take breaks, get help
Approaches—Disciplined programming (better for production environments) vs. experimental
programming (better for learning)
Programming Languages
Compiled vs. Interpreted -- last time
Levels
Church's Thesis
Syntax vs. Semantics
Program Comments
Be sure your comments include:
The file name
Your Name
The Date
"Pledged"
Any appropriate citations
Using IDLE
See Appendix B in your text or visit the web if you need additional information. You might start at:http://www.python.org/idle/doc/idle2.html
http://hkn.eecs.berkeley.edu/~dyoo/python/idle_intro/
Here are some terms we used today. Most should be familiar but make sure you know them all.
IDLE, IDE—integrated development environment
Guido van Rossum
prompt
interactive mode
math operations: + - * / ** %
types
long numbers
keywords & reserved words
expression
input
output
string literal
error messages
functions
comments
parameters—formal and actual
variables
case-sensitive
camel capitalization