Get Instant Help From 5000+ Experts For
question

Writing: Get your essay and assignment written from scratch by PhD expert

Rewriting: Paraphrase or rewrite your friend's essay with similar meaning at reduced cost

Editing:Proofread your work by experts and improve grade at Lowest cost

And Improve Your Grades
myassignmenthelp.com
loader
Phone no. Missing!

Enter phone no. to receive critical updates and urgent messages !

Attach file

Error goes here

Files Missing!

Please upload all relevant files for quick & complete assistance.

Guaranteed Higher Grade!
Free Quote
wave
Design and implement a Java class: Guidelines and Assessment Criteria
Answered

Task

To demonstrate your ability and understanding in the following tasks:
1.To design and implement a simple class.
2.To write a test program to create instances of your class and demonstrate its behaviour.
3.To collect output from the test program runs, and comment on it.
4.To conform to Java coding conventions, including documentation style comments.

You must create a general design for a class. Design, implement, test and document this class. You will need to make some assumptions and design decisions about the class. Ensure the class documentation makes the purpose and constraints of you class clear. You should strive to write your class so that it is potentially useful in other applications.
Submission
Submit four files via Blackboard. Replace <YourClass> with the name of your class:
<YourClass>.java  ---source code of your class
<YourClass>Test.java  ---test program for your class
output.txt  ---output from the test(s) (plain text please)
report.txt   ---short reflective report
Add your own observations at the beginning or end of the output files. For example, were the test outcomes as expected? 
The report should be about 200-400 words with your reflections about your class, test program and results. You should comment on any assumptions that you made, and where improvements could be made to the design or implementation.  
Assessment Criteria - Grade indicators
Pass (50 - 59): You have produced a class with appropriate fields, a constructor, and some modifier and accessor methods. There is a javadoc header describing the class. A test program creates an instance of the class and uses some methods. The code is suitably formatted, syntactically correct, and the test program executes, and output has been recorded.
Merit (60 - 69): Criteria for a Pass have been met. In addition, all standard naming and coding conventions have been met. There has been consideration of class design, which is evidenced by javadoc comments, programmer comments, or the report. There is an appropriate level of documentation throughout the class. All constructors and methods have been used in the test program. The report gives an insight into the design and implementation decisions.
Distinction (70+): Criteria for a Merit have been met. In addition, code style and documentation is to a professional standard. The class design is appropriate for the given scenario.  Implementation is (almost) all correct and maintains the integrity of attributes where appropriate. The test program thoroughly exercises the methods and exposes any limitations, in addition to using an ArrayList.

These indicators will be used as a basis for the assessment mark and will form your feedback.
Java conventions, and quality of documentation.
The class header documentation clearly describes the purpose of your class
Javadoc comments have been provided for each method and constructor
Javadoc param and return tags have been used appropriately
You have complied with standard Java conventions for identifier names and indentation
Design and Implementation of the class. 
Choose suitable fields, with appropriate data types
Declare a default constructor, which appropriately initialises fields
Declare a custom constructor, which appropriately initialises fields
Standard setter and getter methods have been provided as appropriate
A suitable toString method provides a textual representation of the current state
Other logical methods have been correctly specified and implemented
Internal validation within methods has been considered where applicable
Appropriate use of access modifiers (e.g. private, public) to encapsulate data Test program and output.
The test program uses each constructor
The test program calls each method at least once
The test program thoroughly exercises your class
The output file(s) show the outcome of test runs with your observations Correctness and Quality as evidenced by the overall submission.
Your class broadly meets the given specification
The code is syntactically and logically correct
Your class or test program shows technical flair/creativity
Your report gives an insight into your design and implementation decisions

support
close