We will not be using the blog for Fall 2013 version of CSE 331. Currently, the blog is serving an archival purpose only.
Dormant for Fall 2013
Posted in Announcements
Grades submitted and final jokes
I just submitted the final letter grade on HUB. I’m not sure when you guys can see the letter grade on HUB but just doublecheck to make sure it matches the one on UBLearns. (I double checked my data entry but it never hurts to check again just in case.)
Below the fold are the jokes from the final exam: enjoy!
I enjoyed having y’all in the class this fall: hope you guys had fun too. Feel free to stop by office to chat in the future if you want. Have a great holiday break!
Posted in Announcements, exams, fall12, grading
Letter grades
The grade cutoffs have been determined. See the post below to figure out your grade. The letter grade and all the scores have been uploaded to UBLearns.
I will submit the final letter grades on Saturday, so if you find any inaccuracies in any of your scores on UBLearns, please let me know by Friday. Unless there is a totaling mistake, we will not entertain any regrading requests on anything except the final exam and HW 10. Again all of these should be done by Friday.
Given all your scores (which you can find on UBLearns), here is how you can calculate your grade:
 Add up your 7 best homework scores (i.e. drop the lowest three) to get the number , which is at most . (Note that if you submitted a homework late, then it would be counted as a .)
 Your midterm score , which can be at most a . (Do not add the bonus points.)
 Your final exam score , which can be at most a . (Do not add the bonus points.)
 Compute the exam component of your grade as .
 Your class participation score , which can be at most a and is the sum of your mini project and piazza participation part. To see your scores on the latter, check UBLearns.
Your total score out of a can be computed by the following formula:
.
Check your score with the table below. (Just to be sure, I have also uploaded the score on UBLearns.)
 : A
 : A
 : B+
 : B
 : B
 : C+
 : C
 : C
 : D+
 : D
 : F
Please don’t come to me and argue about the boundaries: in a few cases the boundaries are clear but in most cases, they had to drawn somewhere.
Have a good break!
Graded final
The final exam has been graded. There is a fair amount of information in this post, so please read through carefully.
 Your total score on the final exam has been uploaded to UBLearns.
 You can pick up your final from Diane in the CSE main office. You will need to show her your UB card to pick up the final. (In case you do not know where Diane sits, you can get to her desk as follows: if you are going towards Jaynee’s office in the long corridor from the elevators, then Jaynee office is the last door on the left. Diane’s is the door on the left just before Jaynee’s.) You can pick up your final during normal office hours starting tomorrow, Wednesday, Dec 19.
 I will be in my office from 25pm on Thursday, Dec 20 in case you have any questions on the final grading. (However, please go through the rubric below first.) In case you cannot make it during that time, you can email me a scanned copy of the part of the final that you have a question with. Please note: Regrading requests will only be entertained if there is some obvious mistake (e.g. a totaling mistake)– please do not quarrel about the rubric: it was the same for everyone.
 My plan is to get the rest of the grading (mini project, piazza, overall letter grade) done by tomorrow, Wed, Dec 19. I’ll put up blog post(s) once I have done so.
 The graded finals have solution sketches written on them in case you’re interested in the solutions.
The rest of the post is specific to grading.
The stats are as follows:
 Mean: 48.1
 Median: 53
Below is the grading rubric that was used for the different questions. As usual these are general guidelines. Things might change slightly for specific cases.
 2 for a correct answer and 0 for wrong answer.
 0/6 if the T/F answer is incorrect (irrespective of the justification). As mentioned in the exam: 2 points were for the T/F answer and 4 points were for justification. As a general rule: a justification that was incorrect/had no real information would get 0/4; a halfway correct justification would get 2/4. Below are more details for the specific parts:
 Mention GS algorithm runs in or or it’s linear are fine. Fail to mention or fail to distinguish and will lead a deduction of 4 points.
 Mention linear scan or scan will get full points. Listing the procedure but not mention what kind of scan will get a deduction of 1 point.
 You should clearly state how long it takes to shift and do summation, otherwise you will get a deduction of 2 points each for not correctly stating shift and summation time.
 All 4 points deducted if answers says binary search without specifying how one gets an upper bound on .
 This question a easy if you know what is. If you state the meaning of it, you will get full points. If you state nothing about but something else that is not wrong, you will get a deduction of 3 points. In other cases, your points depend on how much your statement related to the meaning of .

 15/25 is for algorithm.
 7/25 is for correctness.
 3/25 is for running time.
There are two common approaches to solve Q3.The first one is greedy strategy by picking golds as large as possible.
The other one is that by expressing into a binary representation. Then, pick the corresponding gold weights in the binary representation of . For example, , binary representation is . So, you should include gold weights into your bag. For this approach, you should deal with two cases: and . For , you must include all gold bars. If you don’t deal with this case specifically, you will lose 5 points. For correctness of greedy strategy, you should use the property below
to prove your greedy strategy works. If you don’t do this, you will lose 3~4 points.  For both parts, 8/10 for the algorithm and 1 each for correctness and query bound
 2 if you do not take care of pairs that never boxed
 1 if you do not take care of pairs that never boxed and 1 if you do not verify at the end whether your candidate champion is indeed the undisputed champion.
 This one had three parts: (If you just got part (c) correct then the points for part (a) and (b) were moved to part (c)).
 binary: 0 or 1 depending on whether the algorithm was correct or not.
 7/9 for the algorithm and 1 each for correctness and run time. 7 if your algorithm runs in time and 4 if your algorithm runs in time .
 4 points for the algorithm and 0.5 each for correctness and run time. 1 if you do not sort before applying part (b).
HW10 Statistics
HW10 Stats:
Mean: 47.34
Median: 65
Questions 1 and 2 were graded by me(JiunJie) and question 3 was graded by Zihe. Any questions regarding the grading of a question should be directed at the appropriate TA. If there are any questions, you can come to our office hours, recitations, or email us.
HW9 Statistics
HW9 Stats:
Mean: 35.19
Median: 34
Questions 1 and 2 were graded by Zihe and question 3 was graded by me(JiunJie). Any questions regarding the grading of a question should be directed at the appropriate TA. If there are any questions, you can come to our office hours, recitations, or email us.
Correction on Q1(b) on sample final solution
Thanks a bunch to Jen for pointing it out: I had the wrong solution to 1(b): it should be false. The online version of the solution has been corrected.
Sorry for the goofup: For those who submitted Q4 on HW 10, change you score accordingly!
Final exam review session
Thanks to those who turned up for the review session. In particular, thanks a ton to Daniel for taking fabulous notes and agreeing to share them.
You might also find it useful to look at my final exam blog post.
Good luck on the exam and remember: do not panic!
Solutions to Sample final
Solutions to the sample final questions have been posted. I would recommend not peeking at the solutions till after you have made an effort to solve the sample final questions.
You might notice that the answers are somewhat terse. I wanted to present “model” solutions, which would fetch you full points in the actual grading. Hope this helps!
Lect 39: Wrapup
Today we did a quick overview of the P vs NP question and then I gave an overview of things that I am working on. Chapter 8 in the textbook has more details on the question.
The slides have been uploaded.
During class I talked about a survey on the P vs NP question. Here is a link to the CACM survey by Lance Fortnow.
Also some of you asked for more details about the fingerprint project. Here are some relevant slides.
It was a pleasure teaching this course: hope you guys had fun too!
Recent Comments