====== Week 4!!! ====== ~~NOTOC~~ ==== Tuesday ==== * A word (or two) about Friday's lab * Today's Topics: Variable/Object scope and arrays * Part 2 of the pet trainer homework assignment... on moodle (due date is 9/27. However...) * https://moodle.vassar.edu/course/view.php?id=19557#section-3 * Another, more significant homework assignment is coming this Friday. **Lecture Notes** * Let's look at an updated Vehicle class as it relates to Friday's lab. * {{ :courses:cs102-2021-01:vehicle.java.txt |Rename the file or copy/paste code}} * {{ :courses:cs102-2021-01:guesstheoutput.txt | Let's Guess The Output}} * {{ :courses:cs102-2021-01:week4arrays.txt | Let's use this file for our discussion on arrays}} * {{ :courses:cs102-2021-01:102-lec05week4.pptx | Scope and Arrays}} ==== Thursday ==== * Important! Date Change: The second part of the Pet Trainer homework is due on October 1! * Today - we'll finish up discussion on array data type and start on typecasting * {{ :courses:cs102-2021-01:102-lec05week4part2.pptx |Updated week 4 lecture notes}} ==== Friday's Lab and homework assignment ==== * Main moodle page - https://moodle.vassar.edu/course/view.php?id=19557 **Apropos of nothing** *[[https://www.honoraryunsubscribe.com/robert-everett/?awt_l=HXZQ7&awt_m=IgOG_rxGDCAPkr|More core]] * [[https://benhoyt.com/writings/python-pattern-matching/|switch statements vs. if-else statements in Python]] * [[https://github.com/snoack/python-goto|The goto statement, it is bad! That is all.]]