CS 101 - 10/18/11 Test 1 Statistics Count: 94 max: 97 min: 37 Ave: 74.33 Median: 75.5 St. Dev: 13.45 90+: 14 80's: 20 70's: 28 60's: 17 50's: 9 40's: 3 30's: 1 ------------------ CS Student affairs Office: 905 SEO This week: Make an advising appointment Next Week: Advising week ------------------- Pixels have two main attributes 1. colors 2. position For Position manipulation: flip a picture to create a mirror image ------------------- Method return values: Instead of having a method that is: "public static void" We will have methods that are: "public static " All of the method calls need to be done in an assignment statement modifyPicture (p); // current form // new form Picture p2; p2 = modifyPicture (p); In the above case, modifyPicture() would be returning the type "Picture" inside of the method, we need to add a: return statement. The return statement specifies the value that will be stored in the assignment statement at the method call.