CS100M Spring 2004 Assignment 2 Grading Guide Style: 5 - 0-2 wrong 4 - 3-4 wrong 3 - 5 wrong 2 - 6 wrong 1 - 7-8 wrong 0 - 9 or more wrong Correctness: 5 - 0-1 wrong 4 - 2 wrong 3 - 3-4 wrong 2 - 5 wrong 1 - 6 wrong 0 - 7 or more wrong Note that if something doesn't compile at all, or code is irrelevant (c8c) ; that counts as TWO correctness things wrong. 1) Administrative s1a submitted on CMS on time s1b used correct file names for solutions s1c zipped files together in something we could unzip with ease s1d proper extension (e.g. not discussion.txt.txt) s1e submitted correct number of files 2) prob1.m s2a used ASCII text s2b appropriate header s2c clean formatting s2d no redundant code c2a program compiles c2b (4*u)/(3*v) c2c (2*(v^(-2)))/((u+v)^2) c2d (v^3)/((v^3)-(u^3)) c2e (4/3)*pi*(v^2) 3) prob2.m s3a used ASCII text s3b appropriate header s3c clean formatting s3d no redundant code c3a program compiles c3b (3-(5*i))*(-4+(6*i)) c3c acos(1.2) 4) prob3.m s4a used ASCII text s4b appropriate header s4c clean formatting s4d no redundant code s4e appropriate variable names s4f appropriate input message s4g can see both plots c4a program compiles c4b calculates v properly c4c calculates h properly c4d plot of v c4e plot of h c4f titles on graphs c4g labels on axes 5) prob4.m s5a used ASCII text s5b appropriate header s5c clean formatting s5d no redundant code s5e appropriate variable names s5f appropriate input message s5g appropriate error message c5a program compiles c5b has correct if statement c5c calculates correct tangent value c5e input is in degrees 6) prob5.m s6a used ASCII text s6b appropriate header s6c clean formatting s6d no redundant code s6e appropriate variable names s6f appropriate input message s6g appropriate error message c6a program compiles c6b 101 pounds c6c 75 pounds c6d 7 pounds c6e 1.3 pounds c6f correct dollars/cents format 7) prob6.m s7a used ASCII text s7b appropriate header s7c clean formatting s7d no redundant code s7e appropriate variable names s7f appropriate input message s7g appropriate error message c7a program compiles c7b log .5 c7c log 1 c7d correct cutoffs c7e reads input 8) prob7.m s8a used ASCII text s8b appropriate header s8c clean formatting s8d no redundant code s8e appropriate variable names s8f indentation s8g did not use array to store values in loop s8h did not use break in loop s8i appropriate formatting of output c8a program compiles c8b correct output c8c irrelevant code 9) prob8.m s9a used ASCII text s9b appropriate header s9c clean formatting s9d no redundant code s9e appropriate variable names s9f appropriate input message c9a program compiles c9b comment about range c9c comment about angle c9d asks user for input c9e correct plot c9f appropriate printed output 10) prob9.m s10a used ASCII text s10b appropriate header s10c clean formatting s10d no redundant code s10e appropriate variable names s10g did not use array to store values in loop s10h did not use break in loop c10a program compiles c10b titles on graph c10c labels on axes c10d correct plot c10e found correct location c10f correct value