fa06M1GradingCriteria - CS307 fall 2006, Midterm 1 Key and...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
CS307 fall 2006, Midterm 1 Key and Grading Criteria: Grading acronyms OBOE - Off by one error. Calculation is off by one. AIOBE - Array Index out of Bounds Exception will occur NPE - Null Pointer Exception will occurs ABA - Answer by Accident GCE - Gross Conceptual Error. Did not answer the question asked or showed fundamental misunderstanding NAP - No answer provided. No answer given on test ECF - Error carried forward. BOD - Benefit of the Doubt. Not certain code works, but, can't prove otherwise Gacky - Code very hard to understand even though it works Question 1. Same as key or -2. Ignore differences in spacing, capitalization. A. 4 11 B. 16 14 C. 19 D. 4 6 7 E 9 2 3 F. Yes. The comment does nothing to enforce the precondition so someone could still send null as a parameter. (Or words to that effect. Note, the test instructions stated to assume preconditions were true on methods that the student writes. The student is not writing this method.) G. false H. 15 I 10 J. Thrown out. All students get credit. Question had unintended recursion. I intended to call super.cost, but did not.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/30/2010 for the course CS 307 taught by Professor Scott during the Spring '08 term at University of Texas at Austin.

Page1 / 4

fa06M1GradingCriteria - CS307 fall 2006, Midterm 1 Key and...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online