I hope that you are reading this on Monday or Tuesday ...

How did you do on the midterm?  

Did you score 40 or above?  If so, you did well and you should feel good aboout your work in the class.  Keep doing what you are doing.

Did you score in the 30's?  If so, you did OK, but you've got a few gaps.  You need to find out what you missed on the test and understand it thoroughly.  You are doing OK in the class  At the present rate, you are heading for a B or a C.  
If you want an A in the class, you will need to work harder.

Did you score in the 20's?  If so, you didn't do so well. What's the problem ... Are you not taking the exercises and/or assignments seriously?  Are you getting too much "help"?  Are you a poor test taker?  Are you (seriously) doing CodeLab?  Do you ask Joe for help (or do you get it from another source)?  Do you need to ask for help?  Do you need to show up for class early so you can get some help?  Do you need to start assignments (an exercises) earlier?  Do you get stuck on a programming problem - if the answer is "No", then you are not coding enough?  What are you doing in the class?  Are you involved?  With this midterm score any grade, A though F, is still (probably) within reach.

Did you score less than 20?  If that's the case, then it is decision time.  How bad do you want to succeed in the class?  What is your goal?  Are you working toward you goal?  Even if you scored 0 points on the midterm, it may be possible to pull a B in the class.  But only if something seriously changes.  You obviously have some catching up to do.  Is it doable?  In my opinion - "yes".  But only if you are willing to put in real time and real effort.  There are resources available to you.  It's up to you.

Solutions
Dog on a bone



The three most important topics is the class are loops, functions, and arrays.  

This week's topic, functions, is essential if you are going to become a real programmer.  Designing, writing and using functions is a fundamental skill in programming that you must master.  


Functions are used
You are advised to review many examples containing functions, and to try to write functions often and for different purposes.  And make sure that you learn to write functions with different arguments and different return types.