Computer Science 120
Introduction to Programming
Fall 2011, Siena College
Lecture 5: Centering Objects; More Conditionals; Defining Classes
Agenda
- Announcements
- Remember: don't hesitate to ask questions!
- Laundry lab wrapping up
- SkiBall lab out
- Lecture assignment recap
- Boolean expressions
- Data types for numeric values
- Defining classes
Lecture Assignment 5 [not due for a grade]
- BDM Exercise 3.4.1, p. 71.
- BDM Exercise 3.4.2, p. 72.
- BDM Exercise 4.8.5, p. 116.
- BDM Exercise 4.8.7, p. 117.
- BDM Exercise 4.8.8, p. 117.
Examples