COMP553 PRACTICAL EXERCISE 3 - BUBBLE SORT GUI

To be commenced in Week 10 (commencing Monday 26th November).

Latest hand in: 17:00 Friday 14 December 2001.


1. REQUIREMENTS

Create a GUI "front end" for your bibble sort programme created for the previoud assignment. The result shloud look something like that presented in Figure 1. There are 10 text fiels to allow input of array elements (remember that for each text field you must press the "carraige return" key to ivoke the listener). When the array has been populated we press the start button at which point the given array is output as a label. We then sort the result and output the sorted array.

Hint: Do not attemot to make the GUI too sophisticated, as this is your first attemptjust concentrate on producing "something thaty works" (although sound programming techniques shopuld of course be applied).

GUI PRACTICAL

Figure 1: Java GUI for bubble sort program



2. REPORT

You should hand in a report of the (by now) standard format comprising the following sections:

  1. Requirements: (outline of the above)
  2. Analysis: A short description of your analysis of the problem including a Class Diagram.
  3. Design: Detailed descritions for the methods you intend to include.
  4. Implementation: A computer print out of your implementation.
  5. Testing: A set of appropriate Black box and White box test cases together with results and evidence of data validation.

3. MARK SCHEME

Marks will be awarded for:

  1. Analysis and Design (25%)
  2. Implementation (50%)
  3. Testing (25%)

Remember the guidance notes on the presentation of work. Marks distributed evenly over analysis, design, implementation and testing.




Created and maintained by Frans Coenen. Last updated 29 September 2001