Computer Science 120
Introduction to Programming
Spring 2012, Siena College
Lecture 5: Dragging Obejcts; Centering Objects
Date: Tuesday, January 31, 2012
Agenda
- Announcements
- Note the style guide now on the class home page.
- Textbook status?
- Labs and projects:
- First project back: everyone did well
- Basic laundry lab wrapping up
- Fancy laundry lab (with more colors and dragging and scoreboards) tomorrow
- Random flowers project continues through February 8
- Lecture assignment 4 recap
- Dragging graphical objects
- Centering objects
Lecture Assignment 5
Due at the start of class, Thursday, February 2.
Please submit answers to these questions
either as a hard copy (typeset or handwritten are OK) or by email to
jteresco AT siena.edu by the start of class. Please use a clear subject line
when submitting by email (e.g., CS 120 Lecture
Assignment 5, Joe Student). We will discuss these
questions at the start of class, so no late submissions are
accepted.
- BDM Exercise 3.4.1, p. 71 (2 points)
- BDM Exercise 3.4.2, p. 72 (3 points)
- BDM Exercise 4.8.5, p. 116 (2 points)
- BDM Exercise 4.8.7, p. 117 (2 points)
- BDM Exercise 4.8.8, p. 117 (2 points)
Examples