Lesson 1: Computers and programs and input, oh my!
Outline:
- Introduction to Computer Science
- What is Computer Science?
- What makes a programming language?
- Python and VS Code:
print()
and basic operatorsinput()
, functions, and variableseval()
versusint()
orfloat()
- Exercises 1 + 2
- Go over syllabus, course website, etc.
Explore after class:
- An example program:
chaos.py
- Execute
chaos.py
in VS Code - Run with different starting values for
x
- Execute
- Exercises 3 + 4
Reading assignment (to be completed by the next class):
- Zelle chapter 1 (pp. 1-21)