EECS 1022 Study Guide - Final Guide: Android Studio

588 views11 pages

Document Summary

The piece of paper with your name on it can be used as scrap paper. A non-electronic dictionary may be used during the test. During the test, you have access to the slides, the sample code, the api of the java standard library, and the android api. No other aids may be used during the test. You are strongly encouraged to submit your work regularly (how to submit your work can be found at the bottom of this page). The package contains the classes question1, question2, , question7. If you cannot find these classes, please let the teaching assistant know. Question 1 (10 marks, partial marks) yes yes yes no no no no. * @return the value of 1 + 2 + + n public static int sum(int n) * @param length the length of string to be printed. public static void pattern(int length) * @param height the height of the z. public static void z(int height)