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
Assessment Criteria and Class Design of Java Programming Assignments
Answered

Indicators for Assessment

These indicators will be used as a basis for the assessment mark and will form your feedback.

· 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 (20%) 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 (20%) 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

An address has a house number, a street name, a town, county and postcode. This class should return the full address formatted appropriately. EmailAddress (60) An email address is made up of a real name, a user id and domain, e.g. Peter Jones. The class should return a correctly formatted email address. Clock (80) Models a 24 hour clock, which stores a time as hours and minutes.

The time can be advanced. The client can retrieve the hours and minutes. FilmRental (80) A film DVD has a film title, duration, and category (e.g. U, PG, 15A). The DVD can be rented and returned. ScreenRobot (80) A robot has a (x, y) coordinate location. It can turn 90 degrees and move forward by some amount. It can go ‘home’ to its origin. CinemaBooking (80) A cinema booking can be for a number of adults and children.

The child’s ticket price is half of the adult. The cost of the booking can be retrieved. TaxiJourney (100) A taxi journey has a start location and a destination. There is an estimated duration of journey and distance. The class should work out the fare based on a formula using the duration and distance (you can make up a suitable formula).

HealthMonitor (100) A monitor can be used for a variety of purposes: heart beat, temperature, blood pressure. A monitor has a minimum and maximum value. If the current reading goes out of the expected range then an alarm is set. Stocklevel (100) A product in a shop has a particular quantity in stock. The is a minimum stock level, and when this is reached it indicates that the product needs to be reordered. Each item has a suggested reorder amount.

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. Your Task 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.

The learning outcomes that are assessed by this coursework are:

1. Be able to select appropriate API facilities in the design, implementation and testing of OO applications and applets.

support
close