LOGIN Don't have an account yet?   Register

Forgot password?
 
Simple XML Quiz

Simple XML Quiz screenshot

Preview:   Downloads: 6873

Posted on: Mon, Aug 3rd 2009, 07:57

 

This quiz allows for an unlimited number of questions and answers to be passed through a XML file. If there are more options for answering than fit the page, a scroll is automatically displayed.

Each question has exactly one correct answer, and in order to continue to the next question, it's mandatory for the user to choose one answer.

For each correct answer, the user receives one point. For each incorrect answer, the user receives zero points.

At the end of the quiz, based on the total number of accumulated points, the user receives a message set in the XML, and the results are saved in a text file.

The text file is scores.txt. For each user the results are saved on a new line. The information is formated like this:

USER IP, DATE, SCORE
USER IP, DATE, SCORE
USER IP, DATE, SCORE
USER IP, DATE, SCORE


This process is transparent to the user. Note you need a server with PHP support.


The final results passed to the user are calculated like this:

0 - 2 (0, 1, 2 points)
3 - 4 (3, 4 points)
5 - 6 (5, 6 points)
7 - 8 (7, 8 points)


Any values and any number of values can be passed here as long as the last is smaller than the total number of questions (since the maximum result can be equal to this number if the user answers all questions correctly).

In the settings XML file you can edit colors and sizes, and the XML is very intuitive. Please check the help tab for more information.

Similar components for adobe flash

XML Voting Poll

XML Voting Poll

Attractive Flash Poll, easy to use and customize from XML. Supports... read more


XML Survey with Multiple Questions

XML Survey with...

Simple and neat Flash XML Survey with multiple questions and variable... read more


General Videos

  • How to buy?
    watch movie
  • Embed a Flash Component in your Flash Project
    watch movie
  • How to embed a Flash Component in the same HTML page twice?
    watch movie
  • How to embed two different Flash Components in the same HTML page?
    watch movie

Showcase

Send us a link to the page you used this product on, and we'll post the link to your site on our blog if you customized it nicely.

Need support?

Support ticketGet a support ticket
read more

Share this

If you enjoyed this product, please consider sharing it via a social network, or leaving a comment. Thanks!