LAB #4 Results - Max Score Calculator Error Team Score Code(s) ERROR CODE LEGEND Code CODE EXPLANATION POINTS CODE A 96 T4,T6 B 88 L1D,L1F,F12 Problems with Level One Code C 50 F1 L1A Vers1 not turned in -5 L1A D 95 F12 L1B Vers2 not turned in -5 L1B E 100 L1C Use of global variable -3 L1C F 98 F15 L1D Statements after first "else" G 88 L1A,L1B,F13 not grouped properly within braces -5 L1D H 100 L1E Main function missing some if-else logic -7 L1E I 95 L1A L1F Each function call missing from main -1 L1F J 87 L1I,F2,T1 L1G Error in second set of if-else clauses. -3 L1G K 90 L1A,L1B L1H Other minor logical error. -2 L1H L 96 F13,F17 L1I Stub(s) not returning values as directed -3 L1I M 100 L1J Incorrect indentation of code -2 L1J L1K Each line over 78-columns -1 L1K L1L Wrong subject line -4 L1L Problems with Final Level Code F1 Final Level not turned in -50 F1 F2 Function writes a message that should be written by the main program. -5 F2 F3 Statements after the first "else" are not grouped with braces. -10 F3 (This will make the program function incorrectly.) F4 Use of global variable -5 F4 F5 Code in main() missing if-else logic. -10 F5 F6 Each function call missing from main -1 F6 F7 Function return type was changed -*** F7 F8 A parameter added to function -*** F8 Code that should be a compound statement F9 lacks braces. -5 F9 F10 Other logical error -5 F10 F11 Function does not return a value -5 F11 Two teams wrote RangeError F12 Function does not return correct value -5 F12 so that 0 and 800 F13 Stub code left in function -2 F13 were 800 BAD scores, F14 Two versions of function "RangeError" -5 F14 but those are in range. F15 Wrong subject line -2 F15 F16 Incorrect indentation of code -2 F16 F17 Function not used properly -3 F17 Problems with Testing T1 Test script not turned in -10 T1 T2 No test for first value out of range -2 T2 T3 No test for first value in range, but second value not in range -2 T3 T4 No test for two in-range values, with the larger value the first entered -2 T4 T5 No test for two in-range values, with the larger value the second entered -2 T5 T6 No test for two in-range values, with the two equal -2 T6