As Simple as it Gets...


[Home][Index][Previous][Next]
Just to try it out, here is the simplest possible way to use the Applet Quiz. Follow the directions below to get a simple quiz running in one of your web pages. If something goes wrong (as if something could go wrong...), try the "It didn't work!" link at the bottom of the page for some troubleshooting suggestions.


Step 1:

First, you must obtain a copy of the AppletQuiz applet and upload it to your web server.


Step 2:

If you use web-page-creation software (like Claris Home Page, etc.) insert the following applet tag into a web page (you can cut and paste if you like):

<applet 
code="AppletQuiz.class" width=400 height=300>
</applet>

 

Alternatively, you can create a text file like the following (you can cut and paste if you like):

<HTML>
<HEAD>
<TITLE>A Sample Quiz</TITLE>
</HEAD>
<BODY>
   <applet 
code="AppletQuiz.class" width=400 height=300>
</applet>
</BODY>
</HTML>

 
Step 3:

Place the web page (*.html file) into the directory/folder named "AQ3" which holds the AppletQuiz applet.


Step 4:

Save the following text in a text file using the name "questions.txt" in the same folder/directory as the web page ("AQ3"). (You can cut and paste if you like):

\TF A T
The first President of the United States was George Washington.
\FF A Washington
The first President of the United States was George __________.
\MC A B
The first President of the United States was:
A. Abraham Lincoln
B. George Washington
C. Thomas Jefferson
D. John Adams
E. Benjamin Franklin


Step 5:

Load the web page containing the applet tag into your browser, and take the quiz.


This is what you get:

You need a Java-enabled browser to take this quiz.


Oh, no! It didn't work!


[Home][Index][Previous][Next]
copyright © 1998 , 1999 by Jerry L. Stanbrough - all rights reserved.
last update April 10, 1999 by JL Stanbrough (jstanbro@venus.net)