Assignment 4 : Due Wednesday, January 29th
General Rules:
1. Please hand in only your own work.
2. Grades discounted 10% per day late.
Actual Tasks:
A. Look at the files proj4*.txt. Notice
that each file has a large block of text (some info)
followed by a single line of text (a question)
followed by some number of line pairs (an answer and
a file name). N.B. You probably have to copy the
.txt files to your own server.
B. Write an applet that will go to its original server
and pick up the data in a particular file--included as
a parameter to the applet (in this case proj4a.txt).
It should convert the "info" into some nicely formatted
text, and the question/answers into a multiple
choice question (pick an interesting interface for the
"student" to choose the answer).
C. When the student selects an answer, the applet should
pick up the corresponding (to the answer) text file and
play the same (format info, multi-choice question) trick
on the new file.
D. The applet should continue doing this till it hits
a file with no question/answer part (in this case proj4f.txt.
It should nicely display the message in that last file.
(bonus: add to each page an escape button for the
hopelessly lost!)
Have fun, and be careful, you might learn something.
Please hand in:
1) Hard copy of the Java Source Code
2) The location (on the UMBC) system of the
running application.
N.B. To get full credit, the code must be running
successfully on the UMBC student systems.