| Part | Points | 
  
    | Calculator | 10 | 
  
    | 
        Correctness (5 points)
          
            4 points for correct answer 1 point for correct output format-3 if doesn't support floating point operands-1 for using float instead of doubleNo correctness points for using any conditionals other than ifRobustness (2 points)
          
            1 point for handling division by 0 (can't throw divide by 0
              exception or have result of Infinite)1 point for handling invalid operatorsStyle (3 points)
          
            3 points for correct indentation and consistent bracing of
              conditionals |  | 
  
    | PlanetaryWeight |  | 
  
    | 
        Not graded due to class error in submitting Lab 3 and turnaround
          time for Prelim 1. |  | 
  
    | Blackjack | 15 | 
  
    | 
        Correctness (10 points)
          
            5 points for correctly calculating points in dealer's hand3 points for correctly determining blackjack/stand/hit2 points for abstracting repeated tasks with methodsStyle (5 points)
          
            2 points for correct indentation and consistent bracing of
              conditionals3 points for readability of conditionals (penalties for deep nesting, poorly written conditions,
              way too many else if's, etc. -- take a look at the online solution to see
              a compact way of doing it) |  | 
  
    | Miscellaneous Penalties (for each program) 
        -80% for not turning in .mcp file on one program, -50% thereafterPoints off at grader's discretion if .mcp file cannot be opened and
          project run immediatelyNo credit if .java file is missing |  | 
  
    | Total | 25 |