Lesson 3: What's in a number?
Outline:
- CS student departmental advisors (SDAs)
- Mini-quiz
int
s andfloat
s
- basic operations on
int
s andfloat
s - type conversions
- basic operations on
- The
math
library - Exercises 1 + 2
- Representing numbers in computers
- binary
- example: accumulating factorial
- Exercises 3-5
Reading assignment (to be completed by the next class):
- Zelle chapter 3 (pp. 57-76)