|
|
[6] Total |
|
|
[-1] if forgot to submit output |
|
|
[6] Total. Almost everyone got this right. |
|
|
[6] Total |
|
|
[-1] If not turned in y.output |
|
|
[3] Total for hand trace |
|
|
[-1] No correct conflicts identified in handtrace |
|
|
[-0.5] Only 1 correct conflict identified in handtrace |
|
|
[-0.5] The states don't match the y.output but handtrace otherwise correct |
|
|
[-3] No handtrace turned in |
|
|
[3] Total for autotraces. 1.5 points each. |
|
|
[-1.5] each autotrace not submitted. |
|
|
[-0.5] for each autotrace, if no correct conflicts identified in an autotrace. |
|
|
[-0.25] for each autotrace, if only one correct conflict indicated in an autotrace. |
|
|
[6] Total, 3 points for each autotrace |
|
|
[-3] for each autotrace not submitted. |
|
|
[-1] for each autotrace in which no correct conflicts are identified. |
|
|
[-0.5] for each autotrace in which only one correct conflict is identified. |
|
|
[6] Total |
|
|
[-2] used something other than the operators provided in yacc to specify associativity and precedence. |
|
|
[-0.5] for each autotrace, if conflict is identified where there aren't any, or if conflicts exist but none are identified. |
|
|
[-2] if * and / are given different precedence. |
|
|
[6] Total. Almost everyone got this right. |
|
|
[6] Total |
|
|
[-1] Not defined unary minus to be right associative |
|
|
[-1] Not defined unary minus to have higher precedence than binary operators |
|
|
[6] Total. |
|
|
[-3] Code won't compile but the logic is right. |
|
|
[6] Total. 1 point for each correct answer. |
|
|
[10] Total |
|
|
[-10] if not used symbol table to store identifier and assigned value |
|
|
[-5] Not turned in expr.y but turned in output that shows an assignment and then shows the assigned id being used correctly. |
|
|
[-2] Not turned in expr.y but turned in output as specified above and turned in correct parse output for an assignment |
|
|
[10] Total |
|
|
[-2] if the boolean term is just a number not an identifier |
|
|
[-2] if the boolean term is an identifier but not getting the value for the identifier from symbol table |
|
|
[-5] Not turned in expr.y but turned in output for boolean expressions |
|
|
[-5] boolean expressions defined for only boolean values, not terms or numbers or identifiers. |
|
|
[-3] code won't compile but correct logic. |
|
|
[10] Total |
|
|
[-4] defined IF () ELSE {} instead of IF () THEN {} ELSE {} |
|
|
[-1] not allowing nested if-statements |
|
|
[-2] Not assigning value to $$ for if-statement |
|
|
[-1] statement only expr, not boolean expresssion |
|
|
[10] Total |
|
|
[-5] not submitted anything |
|
|
[-1] for each incorrect answer |