WebRespond: Quiz Web Page
The quiz web page displays any HTML code explaining the quiz and calls the
applet WebRespond. You can specify the name of the master
file as well as how much space the applet occupies on your web page.
The easiest way to set up this page is to modify the provided
template file. If you are familiar with writing
HTML or you have a program which makes HTML writing easy, you can use the
following information to set up the applet correctly.
The following set of tags must be used to call WebRespond.
<APPLET ARCHIVE="wrespond.zip"
CODEBASE="http://www.cedarville.edu/employee/gollmers/wrespond"
CODE="WebRespond.class"
WIDTH=500
HEIGHT=350>
<PARAM NAME="name" VALUE="mstmplt.txt">
</APPLET>
- ARCHIVE="wrespond.zip" - This part of the tag specifies
that all of the classes required for running WebRespond are included in the file
"wrespond.zip". This file could be downloaded and unzipped into its
individual class files. If this is done, then the ARCHIVE portion of the tag
can be omitted. This may be necessary if your web browser does not support
ARCHIVE. Warning: If you download this archive to your local machine,
make sure it comes from the author's original web site. For a further
explanation of the danger please see the disclaimer page
for WebRespond.
- CODEBASE="http://www.cedarville.edu/employee/gollmers/wrespond"
- This part of the tag specifies that the classes required for running
WebRespond are located at the author's web site. If you download the archive
file "wrespond.zip" to the same directory as your quiz web page, then
you can remove this part of the tag. Downloading the archive file "wrespond.zip"
may be useful if you want to check your quiz before placing it on the network.
Warning: If you download this archive to your local machine, make sure
it comes from the author's original web site. For a further explanation of the
danger please see the disclaimer page for
WebRespond.
- CODE="WebRespond.class" - This part of the tag specifies
which applet to call. This value must remain "WebRespond.class". The
case of the text is important.
- WIDTH=500 - This part of the tag specifies the width of the applet.
Smaller and larger values can be specified without affecting the operation of
WebRespond. However, if the width is made too small, some of the buttons
necessary for operation may not be visible. Always check the applet for
appearance when you specify a new size. Also remember that most computer
screens operate within a width of 640 and 1024 and some of that width is used by
the web browser. If you make the width too large, users of your quiz may not
see the whole quiz without scrolling back and forth with the browser.
- HEIGHT=350 - This part of the tag specifies the height of the
applet. Smaller and larger values can be specified without affecting the
operation of WebRespond. However, if the height is made too small, some of the
buttons necessary for operation may not be visible. Always check the applet for
appearance when you specify a new size. Also remember that most computer
screens operate within a height of 480 and 768 and some of that height is used
by the web browser. If you make the height too large, users of your quiz may
not see the whole quiz without scrolling up and down with the browser.
- <PARAM NAME="name" VALUE="mstmplt.txt"> -
This tag must appear between the applet tag's opening and closing. This passes
the name of the master file into WebRespond. Once you
have written your own master file, replace mstmplt.txt with the name of
that file. A warning must be given at this point. Since the source
code for a web page is available to anyone on the net, it is possible for a
student to obtain the name of your master file as well as the content of your
master file. This means that the question files and the student passwords are
not secure. Security of the master file and question files will be addressed in
version 2.0 of WebRespond.
Example: Web Quiz Page
A sample web quiz page is included so you can become familiar with the look
of the file. A link to the sample web quiz page is also included so you can try
out WebRespond for yourself.
<TITLE>Quiz Using WebRespond v1.0</TITLE> <!-- Give your web page a title -->
<BODY BGCOLOR="c0c0c0"> <!-- This begins the main body of the web
page and sets the background color to light gray. -->
<H2>Quiz Using WebRespond v1.0</H2> <!-- Use any appropriate HTML code before calling WebRespond. -->
<HR> <!-- This places a horizontal line before the applet. -->
<APPLET ARCHIVE="wrespond.zip"
CODEBASE="http://www.cedarville.edu/employee/gollmers/wrespond"
CODE="WebRespond.class"
WIDTH=500
HEIGHT=350> <!-- This section of code calls WebRespond.
You may change the values of the width and height,
but the rest should remain unchanged unless you have
read the documentation for WebRespond. -->
<PARAM NAME=name VALUE="sample.q1"> <!-- This sets the name of the master file.
Once you generate your master file, replace
"sample.q1" with the name of your master file. -->
</APPLET> <!-- This ends the call to WebRespond. -->
<HR> <!-- This places a horizontal line after the applet. -->
<P>If you have any questions about WebRespond, please
contact the author at <A HREF="mailto:gollmers@cedarville.edu">
gollmers@cedarville.edu</A>.<P> <!-- You can place any additional HTML code after this point. -->
</BODY> <!-- This marks the end of the main body of the web page. -->