| Thread Closed |
Was this unfairly graded? (java exam) |
Share Thread | Thread Tools |
| Feb14-10, 04:16 PM | #1 |
|
|
Was this unfairly graded? (java exam)
On a recent java exam we had a problem that asked to capitalize the first word in each sentence a user entered, and echo back the new string. The example that was given was this:
good morning. this is a good day. are you ready for the exam? -------> Good morning. This is a good day. Are you ready for the exam? I was running out of time and in my code it would only capitalize after a period, not after exclamation or question marks. However, in the example given there were only periods between each sentence, and the code I submitted works fine for these examples. The problem did NOT specifically state that we had to consider "!" and "?" as ends of sentences. Anyway, I was given a score of 9/20 on this problem, 45%! I talked to my professor on Friday, and he bumped me up to 12/20 or 60%. He said the problem was that it wouldn't capitalize after "!" or "?". I feel like this is highly unfair (I got 99% on the rest of the exam). 60% is not even a passing grade, and the program works great for examples such as what was given on the exam. So I just wanted some opinions on his grading policy for taking away initially 55% because the program doesn't work for exceptions. Is this common policy among the comp. science professors? |
| Feb14-10, 04:33 PM | #2 |
|
Recognitions:
|
I got 9/100 on a comp.sci project which worked correctly in every case (for insufficient comments... thogh every procedure had comments and there were comments inside most procedures as well). That was 4/5 on checking cases, 85/85 on the program, and -80/10 on comments.
I'd say that any grade >= 6.7/20 would be acceptable, since your code worked in one case out of 3. |
| Feb14-10, 04:57 PM | #3 |
|
|
Thank you for your answer. It sounds like you got a much worse deal, docking that much for comments sounds absurd to me.
We had 25 minutes to finish the problem, and it is an intro comp. sci. class. I didn't even consider the other cases where the sentence doesn't end with periods because the problem didn't mention it at all. I'm just banging my head against the wall because I should just have checked against '?' and '!' in the same statement that checks if the character is a period. I still feel that failing me on a program that works fine except for exceptions is too harsh given the time limit, but I see what you are saying. |
| Feb14-10, 05:14 PM | #4 |
|
|
Was this unfairly graded? (java exam)How does you code deal with parenthesis? (For example, this sentence.) |
| Feb14-10, 05:56 PM | #5 |
|
|
I doesn't handle parenthesis either, I don't know how I could incorporate that into the program because the parenthesis could be in the middle or at the end of a sentence. I did just follow the given example, I wish now that I had asked him during the exam.
In a homework setting I would have time to consider all cases and perhaps it would be an understandable grading, but in 25 minutes it took me a long time just to get the basic code set up, and I didn't have time to consider sentence endings other than periods. On exams I thought you got a passing grade for just having your program running, but I got 45% with a running program. Thank you though. |
| Feb14-10, 06:06 PM | #6 |
|
Blog Entries: 3
|
|
| Feb14-10, 06:40 PM | #7 |
|
|
The advice on the parenthesis is good, I see how I can get that to work now. It was just one problem, but I don't think that forgetting to generalize a problem on a short exam should give you a WAY below failing grade. It seems like everyone here thinks it was a fair grade though, so I'll just have to accept that. The lesson learnt from this? Never again take a comp. sci. class from a retired marine from Texas.
|
| Feb14-10, 07:20 PM | #8 |
|
|
cloudage,
I write Java for a living and I see way too many cases where programmers only consider the specific case mentioned in a bug report. It is really annoying to go back and fix their work because they didn't take the time to consider more than what was written in front of them. It seems that the instructor was attempting to teach this lesson to you in some way. However, I do agree with you that getting docked that much for that type of mistake in a short exam where you barely have time to write the code and don't have a lot of time to consider other possibilities. I could MAYBE see getting a bad grade if he had stressed this in class and it was part of a homework problem where you had more time but, I'm not your instructor.
|
| Feb14-10, 07:24 PM | #9 |
|
Blog Entries: 3
|
|
| Feb14-10, 07:32 PM | #10 |
|
|
Thank you Borg. No, we had not covered this in class, nor was there any homework on manipulating a string. The closest thing we had done was using string methods to find the index of a certain character, which does relate to this, but we did not use this in correlation with a loop, and after we covered loops we never saw any string methods in homework problems.
|
| Feb14-10, 07:41 PM | #11 |
|
Recognitions:
|
My only issue is the potential confusion with the term "sentence", which could be mis-interpreted to mean "statement", and not include "question" or "exclamatory statement". This is supposed to a be a programming class, not an exercise in knowledge of English terminology. However, the given example did include "?".
The other issue is that although your code only covered 1 of the 3 cases, including those conditional would only increaes code size by 5% to 10%, and 80% to 90% of the logic was there in your code. Note that the problem statement didn't address what to do when there were no trailing punctuation marks, so there are actually more than 3 cases. The lesson to be learned here would be to ask for clarifcation of the problem statement. At a company I worked for, we had one of those "six sigma" classes where one of the exercises was to build the tallest tower from a limited number of tinker toy components as a project for a company. The instructor gave us example "kits", and stated that he would represent the other parts of the company. The point of the exercsise was to show that engineers wouldn't get sufficient feedback to find out that the actual parts would be partially corrupted (holes were plugged in on the "actual" connectors) and that there was a maximum height beyond which the value of the tower would decrease. However I pretty much ruined the exercise by asking if the actual parts would be different than our kits, and if there were any other constraints not mentioned in the original statement, and then asking for a company wide review of our "prototypes" before we decided on a final model. |
| Feb14-10, 07:49 PM | #12 |
|
|
Besides, the problem also asked to create a method, pass the string to the method as an argument, return the new fixed string and display the fixed string onto the console. All this I did correctly but it was obviously not taken into consideration during the grading. The question asked me to do 5 things, and I did 4 things correctly but just forgot to generalize the last. |
| Feb14-10, 07:53 PM | #13 |
|
Blog Entries: 3
|
|
| Feb14-10, 07:58 PM | #14 |
|
|
|
| Feb14-10, 08:25 PM | #15 |
|
Recognitions:
|
http://www.dilbert.com/fast/2001-10-03 Back to the point, sometimes you have to consider some problems as trick questions, both in a classroom as well as the real world. |
| Feb15-10, 01:54 AM | #16 |
|
|
Oh, the stories I could tell you about TQM, six-sigma, and the myriad other flavor of the month quality 'philosophies' over the past 20 years. Anyways, I think the professor taught you an invaluable real world lesson: Never assume your boss wanted exactly what he/she requested. This will often spare you the indiginity of enduring rants like 'Good God, do I have to explain EVERYTHING to you?'
|
| Feb15-10, 04:00 AM | #17 |
|
|
|
| Thread Closed |
| Thread Tools | |
Similar Threads for: Was this unfairly graded? (java exam)
|
||||
| Thread | Forum | Replies | ||
| graded groups | Linear & Abstract Algebra | 8 | ||
| Marked Unfairly | Biology, Chemistry & Other Homework | 13 | ||
| How exam papers are graded | General Discussion | 7 | ||
| Was lqg assessed unfairly at KITP program in quantum nature of singularities? | Beyond the Standard Model | 7 | ||
| its not graded. | Introductory Physics Homework | 9 | ||