Background:
The teacher has various classes. Students create programs or HTML
pages in these classes and then copy their program/page to a public
folder for the teacher to grade. The teacher retrieves all of the
pages in the folder and then opens each page individually to
grade. The teacher would like a program to manage the pages/programs
that the students create. This program will make it easy for the teacher
to open the pages. Additionally, the program will check to determine if any of
the pages seem to be too similar. Each page will be searched for certain
tags and/or code. The number of these tags will be tracked. By comparing the
number of tags, a parameter will be generated that will provide a measure of
the pages similarity.
Program Specifications:
-
The program should display all files of a certain type that are located in a
folder. For example, if the program is being used for an HTML class, then
the program should display all htm and html files.
-
The program should be flexible so that it can be used for multiple classes with
different types of files.
-
The user should be able to save the folder location and types of files to
display.
-
When the program starts the files are automatically displayed.
-
The files are displayed alphabetically.
-
A browser is built into the form so that when the user clicks on an
HTML file, the page is displayed in the browser. If the page is not a web
page, then it should be displayed in a rich text box or other.
-
A report is created to compare the similarity of files based on certain
tags/code.
-
The report can be printed.
-
The program will enable the user to read in sets of tags/code that will be used
for comparison. This will enable the program to be flexible so that it
can be used for different types of programs.
-
The program will generate a "similarity" factor between all files. The value of
this parameter will provide an indication of how similar the files are.
-
The listing of similar files will be displayed in descending order. The
parameters used for ranking will be displayed.
-
A progress bar will display the progress during the comparison phase.
-
The program should be user friendly. Ease of use is crucial.
Appropriate menus and/or toolbars should be provided.