Outline:
- Go over syllabus
- Course prefect: Kate Finstuen-Magro
- Introduction to Computer Science
- What is Computer Science?
- What makes a programming language?
- Python: IDLE,
print()
and basic operators
- Python:
input()
, functions, and variables
- Python:
eval()
versus int()
or float()
- Exercises 1 + 2
- An example program:
chaos.py
- Discuss each line
- Save
chaos.py
as a .py
file in IDLE
- Run with different starting values for
x
- Exercises 3 + 4
- Discuss float representation
Reading assignment (to be completed by the next class):
- Zelle chapter 1 (pp. 1-21)