====== Week 3 ====== ~~NOTOC~~ ==== Monday ==== * Last week, we talked about functions (lecture) and conditionals/boolean values (lab). Let's review the slides from chapter 4 * Lecture notes * {{ :courses:cs101-202203:05_tables.pptx |Tables}} * {{ :courses:cs101-202203:05_tables.pdf |pdf Tables}} * {{ :courses:cs101-202203:04_conditionalsandbooleans.pptx |Conditionals & Booolean Values}} * {{ :courses:cs101-202203:04_conditionalsandbooleans.pdf |pdf version of Conditionals & Boolean Values}} ==== Wednesday ==== * Let's take a quick look at The Best In Show for lab 1! * We stopped at slide 28 in 05-Tables on Monday. * {{ :courses:cs101-202203:05_tables.pptx |We'll continue from there...}} * A word about publish/include... * There is, for lack of a better term, some wonkiness associated with publishing and including tables. * Don't worry about it too much, we can avoid picking up the shared "municipalities" table in order to * write code using functions being presented * analyze some of this data * If you cannot include the municipalities table in pyret, then {{ :courses:cs101-202203:05_googlesheets.pptx |google sheets is the way to go}} The link is a bit of a how-to guide with an assist from our textbook. * If you create your own small table to try publish/include out, then * start fresh with a new code.pyret.org browser (tab) * use consistent names for the table and filename (round-table.arr and round-table, for example) * Seems like a limitation to me! * type in the row data yourself * save your file, run it (to be sure there are no typos!) and then hit publish. * ==== Friday ==== === Lab 3 === * Direct link to the wiki page for lab 3 [[https://www.cs.vassar.edu/courses/cs101-2022b/labs/03|(I wish I could count properly.)]] * A few comments before we start on the lab: * Let's try using Gradescope together, or at get our accounts set up. If we all have issues with it, then I will open up moodle. * The lab recommends working in pairs. SP 309 is not the best space in which to do this. For today, let's try this: if any pairs want to use the Asprey lab, let me know and I'll make sure that one of the coaches is 100% available there. * Please use this link for a concise outline (It's a cookbook!) on tables and associated functions we covered in class. * [[https://www.cs.vassar.edu/~cs101/3/resources/tables.html|You'll need this for this lab and the homework assignment too]] * {{:courses:cs101-202203:candy-data.png?linkonly|Candy-data sample}} == Homework assignment 3 == * Direct link for the wiki page for homework assignment 3 [[https://www.cs.vassar.edu/courses/cs101-2022b/assignments/03| HW3]] * While I mentioned trying Gradescope for the lab, I want everyone to use Gradescope for the homework assignment, not merely try out. One advantage is that you can submit the homework any number of times! * I will not setup a moodle link for the homework, so if you have difficulty with Gradescope, please contact me or one of the coaches.