Assignment 9
Due: 11:00 AM on Friday, December 4, 2009
Question
Write and document a Python script statsGUI.py which implements
a GUI (using functions in module Tkinter) for the vector
statistics derivation and display system described in Assignment 7.
This GUI should have the following basic capabilities:
- List available commands and their formats via some sort of
help mechanism.
- Invoke each command specified in Assignment 7 in a designated
command-entry area of the GUI.
- Display outputs of invoked commands in a designated output-display
area of the GUI.
- When necessary, display error messages in a designated
error-display area of the GUI.
- Exit GUI
Your GUI should allow any number of each of operations above (except the
last) in one GUI session. You may assume that all requested vector and
matrix files exist and are valid and that all requested rows, columns,
and diagonals of matrices exist, i,.e., no error-checking
or handling above that already specified in Assignment 7 is required. To
obtain the up to 50% bonus marks, implement
additional abilities such as (but not restricted to):
- Extra error-handling with respect to vector and/or matrix
file and/or requested row, column, or diagonal vector from
matrix file existence.
- Other basic statistics operations on individual or groups of
vectors.
- Graphical displays of vector statistics and/or comparisons,
e.g., scatter-plot of 2-vector comparison with
best-fit line.
- Recall operation-application history of current GUI session.
- Super tricked-out overall GUI design.
Decisions on bonus marks will be made by your marker and cannot be
disputed.
Hints
You may find it useful to have a number of buttons with associated
callback functions to implement the various operations.
Submission
Please hand in printed copies of all of your Python script files as well as
a short (up to 1 page) file README.txt describing the features of
your GUI and how to invoke/use them.
You must also submit these files electronically using the
submit-assignment command.
Note that each script file must have the following comment
block at the top, where the X's are replaced with the appropriate
information, followed by a docstring briefly describing the program in that
script. For instance, my script for this assignment would
begin with the following comment block:
#########################################################
## CS 2500 (Fall 2009), Assignment #9 ##
## Script File Name: statsGUI.py ##
## Student Name: Todd Wareham ##
## Login Name: harold ##
## MUN #: 8008765 ##
#########################################################
You do not have to develop your code on our CS departmental systems.
However, as your code will be compiled and tested on our CS departmental
systems as part of the assignment marking process,
you should ensure that your code compiles and runs correctly on at
least one of these systems.
- Oct 28, 10:55am
Assignment #9 posted.
Created: October 28, 2009
Last Modified: October 28, 2009