Saturday, May 9, 2020

Week of May 11th - 15th, 2020

Monday, Tuesday:
Everyone working on Guessing Game assignment -- you can work alone or with one other person.  The completed assignment is due Tuesday at 5 PM.  Please enter the URL of your shared REPL here, and the name of your partner if you have one.

Folks, there are a couple good reasons to learn about programming.  It can obviously be useful in the world, and it can help you get a job, but more importantly, it is a great way to practice actually thinking and solving problems.  If you're struggling to figure something out in this assignment. . . that's the idea!  Take your time, put some genuine thought and effort into it.  It really isn't that hard, and you'll feel great when you get it.  I encourage you to take a minute and re-read the 'Guy Under the Car' story.

Wednesday:
Quiz on Unit 6, functions and exceptions
Know how to define functions
Know how to define and work with function parameters
Know how to work with function parameters with default values
Remember that functions must be defined before they can be called
Know what happens when you multiply a string by a number
Know how local and global namespaces work
Know how functions can return values
Know the difference between printing a value and returning a value
Know the purpose of try and except
Know that int('1.5') will generate an exception

When you finish the quiz, work on Codingbat warmup-1 problems.   MAKE SURE YOU LOGGED IN, OR I WON'T SEE YOUR WORK! You should try to solve each problem yourself, and only look at the solution provided after you've tried it.  Codingbat gives me information about how many times you tried to solve each problem, what the code for each attempt looked like, and when you made each attempt.  So it's pretty easy for me to tell if you just copied and pasted, and didn't really make an effort.

Thursday:
Continue to work on codingbat.  MAKE SURE YOU LOGGED IN, OR I WON'T SEE YOUR WORK!  Depending on how far you have gotten with the next section of CodeHS, you may not know how to do not_string, missing_char, front_back, or front3, but you should be able to do the eight others.  Doing this much will get you full credit on the 10 point assignment.  This is due by 5 PM today. If you are working on it but need extra time, let me know before the deadline.  I encourage you to also do problems from the logic-1 set, but they are not required.

I know that these can be challenging and hard to understand, especially at first.  If you're finding that to be the case, it means there's some important stuff about Python that isn't clear to you yet.  Generally, the problem is that it's much simpler than you realize.  If you're stuck, it's fine to look at their solution and see what you're overlooking. And I will be more than happy to help you. . . we can do a video call with you (or a group) for as long as it takes to get you feeling strong and confident about it.  And if you don't get a few of the problems, there's no shame in that, just know that there's more work to do.


I have observed that a -very- small number of you appear to be simply copying the Codingbat answer and submitting it.  This is a waste of my time and your time too. Instead, please send me an email sometime before 5 today saying that you are not going to do the assignment.  I will give you full credit for it, and you can take the time you saved to think about what kind of a life you want to have.


Remember - your machine learning paper is due at the beginning of class next Thursday, May 21st, one week from today.  Upload it to Google Classroom, and also TurnitIn.  Please don't wait until the last minute. . .

Friday:
Computer history day!  We will watch and text-chat together like we did with the AI videos.

Recommended, but we won't have enough class time:
The Queen of Code (16:30) Grace Hopper was a serious badass.