Friday, April 24, 2020

Week of April 27th - May 1st, 2020

Quote of the week: "Unless in communicating with a computer one says exactly what one means, trouble is bound to result" -- Alan Turing

You are going to need to do some planning ahead this week.  The first part of the week you will be working in teams on a MadLib challenge that builds on what you've learned in CodeHS, but allows you to exercise some creativity.  The rest of the week will be spent on CodeHS.  You also have a completion grade for unit 5 next Sunday night, a quiz on unit 5 next Monday, and the 'Getting Started with Machine Learning paper' assignment due next Tuesday.  As of April 23rd, more than half of the students have already completed or almost completed unit 5.  If you've been lagging, now is the time to step up your game. . . if you have something going on in your life that makes this unreasonable, please let me know.

Monday:
We will be working in teams of two on a MadLibs challenge.  I made the teams alphabetically, in case you're wondering. Here they are:

Period 1: 
Ayah and Lucas, Sejal and Paige, Olivia and Lexi, Anna and Devan, Tanya and Katie, Prabhnoor and Eric, Christian and Emily, Megan and Jason, and Jenna and Sharvani.

Period 2:
Isha and Areebah, Chris and Alexa, Filza and Anna, Kareem E. and Jewely-Ann, Kareem H. and Natalia, Aakanksha and Abi, Ishaan and Erin, Jake and Zarin, and Jennifer and Hannah.  

Jenna, Sharvani, Jake, Zarin, Jennifer, and Hannah already have experience with the assignment -- you can ask them for help.

Here is the assignment.  Here is the spreadsheet where each team will enter the URL of their shared repl.  If you don't know what a MadLib is, here's an example.

Tuesday:
Continue working on MadLib with your partner.

Wednesday:
Continue working on MadLib with your partner, if you need the time.  Otherwise, work on CodeHS or the 'Getting Started with Machine Learning paper' assignment.  I will grade your MadLib projects beginning at 5 PM on Wednesday

Thursday, Friday:
Continue with CodeHS.  Remember that there will be a progress grade on unit 5 Sunday evening, and a quiz on Monday.  The 'Getting Started with Machine Learning paper' assignment is due next Tuesday. 
Here is a preview of the unit 5 quiz:
  • This quiz has some tricky questions!  Take your time!
  • Know how to work with for loops, while loops, and nested loops -- that is, a loop within a loop, like the example below.
  • Know how to work with range() with one, two, and three parameters
  • Know what break and continue do
  • Remember that 'between 5 and 10' does not include the values 5 and 10 unless the word inclusive is used
  • Be able to predict what is printed by code like:
       sum = 0
       for i in range(4):
          sum = sum - 5
          for j in range(3):
             sum = sum + 1
       print sum