WelCome To The Java Open Competition

 

Dear Students,

This Fellowship scheme designed for student who undertaking their Diploma,Undergraduate,Graduate studies , Age requirement is Open but He/She must be a student of a recognized institution. The final decision will be taken on 10th January 2003 & selected candidates will be informed through given email address. 

Thank you , Wish a Good Luck 

Administration 

 

Available scholarships 15 (fellowship worth from 6500 Euro)

Post to   [email protected]

Deadline 31:12:2002 , GMT Time 24:00


Scenario

A software system is to be developed to maintain daily sale information of a petrol station. The station has ten fuel pumps serving customers, which are numbered from 1 to 10. The daily sale data includes details of the sale transactions of a day. The following data should be maintained by the software system for each transaction:

 

 

To simplify the matter the system to be implemented maintains the sale data for only one day, and does not require saving data to a disk file, though the data must be persistent during a runtime session of the software. You may implement a functionality to save data as an attachment *.doc if you wish.

Tasks

You are required to design and implement an abstract data type (ADT) to be used in implementation of the required system, using Java (only).

The system should provide the following functionality.

1. Add a new transaction’s details to the system.

2. Delete from the system a transaction(s), given the transaction’s time in hours and minutes.

3. Display on the computer screen a list of all transactions (including transaction time, volume and value) by a pump, given the pump’s number.

4. Display on the computer screen a list of the pumps (including pump number and its total

sale) sorted in descending order of their total sale in pounds.

5. Display on the computer screen a list of all transactions of the petrol station sorted by

transaction time.

6. Provide an appropriate user interface to allow testing the above functionality.

Please note that

(a) an implementation that makes use of a database system is not satisfactory; and

(b) you may be required to make a presentation of your submitted work if clarification is needed. Failure in turning up for the presentation will result in the failure.

Assessment Criteria

The marks (maximum 100) for this fellowship assignment will be allocated to components as follows.

Components Marks allocated

  1.  Design of the required abstract data type (ADT). 10

  2.  Specification of the ADT in the form of a Java interface or a Java class outline. 5

  3.  Java implementation of the ADT following the specification in (B). 40

  4.  Working program of the required system. 15

  5.  Printout of the Java source code. Each class and method should be preceded by a comment explaining what it does and how, indicatin any assumption made in its construction. 5

  6.  Descriptions of the test cases used to test each method, how the test can be executed, listing expected and actual results of the test. 10

  7.  The operating instructions to load and run your program. 5

  8.  Presentation of the program and documentation, i.e. - adherence to the specification, - simplicity/ clarity of the code, - clear, sensible documentation (comments), - well-chosen test cases.10

 Total 100

 Attachment files :: *.java , *.class *.doc (Explanation of the program & Runtime Result).