Presentation is loading. Please wait.

Presentation is loading. Please wait.

Lecture 5 Announcements. HW2 – Regrading Thinking like a programmer –Part b: (5 points) Test for input in the range it is specified (otherwise what is.

Similar presentations


Presentation on theme: "Lecture 5 Announcements. HW2 – Regrading Thinking like a programmer –Part b: (5 points) Test for input in the range it is specified (otherwise what is."— Presentation transcript:

1 Lecture 5 Announcements

2 HW2 – Regrading Thinking like a programmer –Part b: (5 points) Test for input in the range it is specified (otherwise what is the point of the range in the first place?) –Part c: (4 points) Certain variables are better as float than int (makes more sense because they are real world values) –Part c: (4 points) Test for bad input like that which might cause division by zero (which causes run time error) –Part c: (4 points) The average miles per gallon makes more sense if it is calculated by adding up each individual m/g and then dividing by the total number of them because this gives you a better sense of how your car uses gas, but a student pointed out that the example on pg. 92 of your book handles it the other way so it would be unfair to mark off for that. –Total points: 17 These points will be added back to each HW2 –If you implemented them already then this will be extra credit for you Later HWs will not be graded like HW2 was but you should keep in mind these aspects for future programming in general

3 Homework One extra optional homework due last day of class Will replace any previous lowest grade homework

4 Project: Memory Game Can work in a group (2-3) or alone –Many opportunities for bonus points –Groups must implement 10 points extra credit to receive full credit Email me your choice to work in a group or alone –If in group: include your group members or if you want to be in one but don’t have a group yet

5 Project (continued) I have written some supplementary functions for you –project_supplemental.h Last Homework Assignment: –HW5 will be to start the project

6 Final Exam Survey: –Open book or not? –If open book it will have to be harder –If not, then will be similar to quizzes Study Session for both Sections: –Monday night 10/10/05 at 8pm –Classroom: DCC 330


Download ppt "Lecture 5 Announcements. HW2 – Regrading Thinking like a programmer –Part b: (5 points) Test for input in the range it is specified (otherwise what is."

Similar presentations


Ads by Google