Part 1 Cashier (50pts) ======================== Basic rubric: - correct calculation of taxes (5pts) - correct allocation of change (20pts) - correct formatting of currency and tax rate (15pts) - answer to discussion question 1 (10pts) Possible deductions: - unit price, quantity, and/or sales tax not incorporated as input parameters (-5pts) - output format of tax and currency not according to specs (-5pts) - unsensible output in cases where paid < owed and if paid == owed (-5 pts each) Part 2 Monte Carlo Pi (50 pts) ======================================== Basic rubric: - correct getN input method (10 pts) - formula to compute pi (10 pts) - correct number and frequency of outputs (20 pts) - excel spreadsheet for the chart (10 pts) Possible deductions: - related to "correct number and frequency of outputs (12 pts)" - didn't use random number (-2 pts) - incorrect frequency or incorrect format of outputs (-1pt for each; maximum deduction is -5 pts) - related to "excel spreadsheet for the chart (6 pts)" - mistakes while drawing the chart (-1 pt for each; maximum deduction is -3 pts) (e.g. incorrect name for x-axis or y-axis / quite nonsensical result) Considerations for both parts ============================= - fail to include header(s) (-5pts) - use incorrect filename(s) (-5pts) - fail to compile (-5 pts minimum; we strongly encourage that you recompile and test before submission). - inconsistent style. (-5 pts; please read the elements of style. we will give comments on poor style and may take off a reasonable number of points for poor style).