====== Welcome to Week 3!!! ====== ~~NOTOC~~ ==== Tuesday ==== * [[https://calendar.google.com/calendar/u/0/embed?src=vassar.edu_c5hlp10klpbtksv8qbqrh0et84@group.calendar.google.com&ctz=America/New_York&mode=week|Coaching Schedule, also posted on moodle]] * Last Friday's lab: any questions? * Lecture notes: we will complete chapter 2 * Let's formally update our vehicle class with some real code * We have a homework assignment... on moodle (due on Monday) * https://moodle.vassar.edu/course/view.php?id=19557#section-3 **Lectures** * {{ :courses:cs102-2021-01:102-lec03.pptx |Lecture 3 from last week, a final point or two to make; review from page 9.}} * {{ :courses:cs102-2021-01:102-lec04.pptx |Week 3 lecture material}} ==== Thursday ==== * A quick warm up exercise is up first * {{ :courses:cs102-2021-01:tester.java.txt |Take a look at this file, what will the output be?}} * Today's topics on the Java programming language: * switch statements * Scanner class (i.e. I/O) * loops (while, for) {{ :courses:cs102-2021-01:vehicle.java.txt |Code from Tuesday's lecture, Vehicle.class}} The following link should probably be put in the "apropos" section: [[https://littlemaninmyhead.wordpress.com/2021/09/15/if-you-copied-any-of-these-popular-stackoverflow-encryption-code-snippets-then-you-did-it-wrong/|encryption code snippets are not all that]] ==== Friday's Lab ==== * Main moodle page - https://moodle.vassar.edu/course/view.php?id=19557 * Lab 2 - https://moodle.vassar.edu/mod/assign/view.php?id=754200 * A few thoughts... * My approach would be to ensure each step (within step 3) you write along the way does work. So get the Welcome and Quit parts working before attempting to perform any calculations. * You may want to have the lecture slides (see Tuesday, above) or Oracles java documentation handy. * The due date is Tuesday, 9/21 at noon! **Apropos of nothing**