Grades on Program #4 by Last 4 Digits of Student ID number Columns relate to 'Code'; 'On Time'; 'Hardcopy?'; 'Compiles?'; 'Works-Passed all Tests?'; 'Good Enqueue Operation?'; 'Good Print Operation?'; 'Good Serve Operation?'; 'Good Quit Operation'; 'No Global Variables?'; 'Design OK?'; 'Format OK?'; 'Script Turned in?'; 'Program I/O Features OK?'; and 'Overall Grade' On Gd Gd Gd Gd No I/O Code Time H-Cpy? Cmpl? Wrks? Enq? Prnt? Srv? Qt? Glbl? Dsgn? Frmt? Scrpt? OK? Grade x0953 X X X NO -4 X X X X X -4 X X 92 x1104 0 x1163 -40 X -5 -30 -3 X 30 x1547 X X Xw NO X -8 -15 X X X -4 X -3 70 x1580 X X X NO X X X X X X X X -3 97 x1833 X X X -50 -4 -10 -4 X -5 27 x1860 X X X NO X X X -3 -10 X X X -3 84 x2148 X X X NO -5 X X X X X X X -3 92 x2455 X X X NO 0 x2535 X X X NO -15 X X X X X X X X 85 x3437 X X X NO X X X X X X -4 X -3 93 x3499 X X X X X X X X X X X X X 100 x3530 X X Xw -50 NO NO NO X X X -4 -10 -3 33 x3621 -15 X Xw NO X -2 -12 X X X X X -3 68 x4572 -40 X NO -3 0 x5602 0 x5766 -10 X X NO X X -25 X X X X X -3 62 x6933 X X X -10 20 x7059 X X X NO -15 -3 X X X -5 X X X 77 x7914 X NO X NO NO NO NO X NO X -10 NO 0 x8320 X X X NO -5 X X -3 X X X X -3 89 x8603 X X NO X 0 x9238 X X X NO X -2 X X X X X X X 98 x9534 X X X NO X -3 X X X X X X -3 94 GUIDE TO POINT DEDUCTIONS PROBLEMS WITH Interface * the program requires additional inputs not specified in the assignment (-5) * Program does not echo commands (-3) * Program does not echo ServeRequest command (-2) * Program does not include requested track number when echo'ing a EnqRequest command (-3) * There is a 'typo' in the way one or more of the commands is echoed. (-2) * A command is implemented with the wrong name (-3) PROBLEMS WITH ENQUEUING * Program puts requests into the wrong queue, and not just requests for the current track (-50) * When moving forward, program does not put requests for the current track in the reverse queue, but generally otherwise requests go into the right queue (-10) * When moving in reverse, the program does not put requests for the current track in the forward queue, but generally otherwise requests go into the right queue (-10) * When it receives a request to enqueue, the program moves the head to the requested track. (-10) * When requests have the same track number, later requests are given priority over earlier requests. (-5) * Requests get into quite jumbled order in one of the queues - priority inversions, as well as serial number inversions. (-8) * Requests get into quite jumbled order in both queues - priority inversions, as well as serial number inversions. (possibly higher point deduction, depending on severity) (-10) * Parts of the "message" written by the EnqRequest command are confusing or incorrect. (-3) * The command seems to work correctly, but it does not give the output required. (-5) * The command seems to work correctly, but it does not give MOST OF the output required. (-4) PROBLEMS WITH SERVING * Program fails to do a serve properly right after the head changes directions. (-10) * Head does not change directions. (-10) * When I ask the program to do a ServeRequest, multiple requests "disappear" from one queue or both queues queue (it is supposed to be only one at a time.) (-25) * Program does not update the track position correctly after a serve operation (up to -50) * Program serves requests in the wrong order. (-10 to -25, depending on severity) * Program serves requests on the same track in the opposite of correct time stamp order (-10) * Output from the ServeRequest command reports incorrect position of the disk arm, (but the program does correctly keep track of the arm position (-2) * Output from the ServeRequest command reports incorrect direction of the disk arm, (but the program does correctly keep track of the arm direction (-2) PROBLEMS WITH PRINTSTATE * Reporting of the direction of the head became intermittently incorrect. (-5) * The PrintState command sometime prints QUEUE elements in the wrong order (-3) * PrintState does not print the contents of the queues (-10) * PrintState prints the queues in the reverse of the required order (-2) * No matter what the current direction, the PrintState command always prints the FORWARD queue first. (-2) * PrintState command skips an element or writes an element twice (-3) * PrintState does not report the current direction (-2) * PrintState does not report the current queue (-2) PROBLEMS WITH DESIGN * There are some run-on functions (-3) * Extremely long function (-5) * Program relies inappropriately on global variables (-10) OTHER PROBLEMS * Program sometimes crashes with segmentation fault (-5) * Program starts up positioned at track 1 instead of track 0 (-2) * Program does not compile, but the issue can be resolved with relative ease (-5) * No test script (-10) * Bad code format (-4)