Assessment item 2
Assignment 2
Value:20%
Due date:01-May-2017
Return date:22-May-2017
Submission method options
Alternative submission method
Task
Task 1
For this task you will create a class containing a number of static methods for processing an array of marks which are scores in a test. Each mark is an integer in the range 0 to 100 inclusive. On the Interact site for this subject you will be provided with a class Marks which has a method getMarks that returns an array of marks for you to use in testing.The class ProcessMarks that you create will have the methods specified below. Most will accept an array of marks as an argument; one will accept an array of characters. The return type should be appropriate for the returned value.
Test your ProcessMarks class either by providing test code in a main method within that class or in a separate class. The test code will use an array of marks obtained from the getMarks method of the Marks class provided on the Interact site. Test each one of the methods described above displaying the results appropriately. The grades should be displayed 30 per line with a space separator between grades. The grade distribution should be displayed in the form:A: 10B: 30C: 105D: 75E: 35F: 10
Task 2
Design a class named Fan to represent a rotating fan. The class contains:
Marking criteria
These criteria will be used to evaluate Assignment 2:
Presentation
Materials to submit for Assignment 2:
You need to submit a single zip file containing ALL of the required assignment documents including the java and class files as well as the test documents.