

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


CPSC 212-301 Name: _____________________________ Test #1A September 22, 2004 Honor Pledge: I pledge that I have neither given nor received unauthorized assistance on this test. Signed: _______________________ Date: _____________ 20 points. 50 minutes. Open Java API. Open cucs API. You may not visit any other web page. You are to develop a class called MatrixManager which has:
produces the following output: The matrix has 3 rows and 5 columns: 1 2 3 4 5 13 12 15 11 14 10 9 8 7 6 Minimum value: M[0][0] = 1 Maximum value: M[1][2] = 15 Note that the matrix values output do not have to be column-aligned. Submission: Submit your work using: handin.212.301 1 MatrixManager.java Also submit any helper methods you developed during this test and required by your class. Evaluation: Your program will be evaluated on: (a) correctness of algorithm, and (b) selection of storage/data structure, and (c) efficiency of algorithm. Note: Make sure that you include public methods printMatrix(), printMin(), and printMax()in your class even if you were not able to complete them. This is in order that your program will compile with our test driver. If you cannot complete a method, print one line in the method stating so. For example: printMin() method not completed or printMax() method not completed