Fall Term 2006
Changes/corrections in red.
Create a GUI program using
JFC/Swing classes to demonstrate the properties of quadratic equations. A quadratic equation is a second-order
polynomial of the form
a x2 + b x + c = 0,
a ≠ 0
Your program should allow
the user to enter values for a, b, and c, and then compute
and display the roots. Include
optional features, as appropriate.
Notes:
1.
Your
application should be robust with a good user interface. Make appropriate use
of the various GUI components and features supported in JFC/Swing. Consider the
organization, presentation, interaction, and over-all usability of your
program.
2.
Your
source code should be well organised and documented.
3.
You
must do this assignment in groups of three.
4.
Do not
use the york package.
5.
Your
programs must compile and run in the Prism lab.
6.
The
assignments will be awarded letter grades, according to the university's letter
grade standard. A program that simply fulfils the requirements described here
will be awarded a 'C'. To get a higher grade, we want to see "an excellent
job and originality" in your assignment solution.
7.
Name
your program 'a1.java'. Submit it on Prism with 'submit 3461 a1 a1.java'. Additional files, if required, may be submitted using the same
command, with the filename as the last argument. (Use 'man submit'
for further details on using the submit command.)
8.
Also
submit a text file named 'readme.txt' in which you describe the
motivation behind your software design. Why did you use the JFC/Swing and HTML
components that you did, and why did you organise them that way? Briefly
justify your design. If your implementation includes any special features, make
sure you describe these and provide appropriate instructions.
9.
The readme.txt
file should also contain a record of your group meetings. Include the date and
time of each meeting, the people present, and the topics discussed. If other
forms of communication were used (e.g., e-mail, phone), indicate the type and
extent. Also include in your readme.txt file a record of the tasks assigned
and performed by each member of the team.
10. Note: the first three lines of the readme.txt
file must contain the following four comma-delimited fields, with nothing
following the fourth field.
LoginID, StudentID, LastName, FirstName(s) LoginID, StudentID, LastName, FirstName(s) LoginID, StudentID, LastName, FirstName(s)