Using ASP + XML to erect online examination system

Source: Internet
Author: User
Using ASP + XML to erect online examination system
<-------------This program is not my original-------->

Using this online exam system, we can handle any type of online test.
Although we are generally implemented in the traditional way, the reader is very hopeful to be.
If you think about it in general.
All problems are stored in XML files in the server (which may be in the database).
The user prepares to spend the test, and then the user test will be passed through Microsoft's XML HTTP component to the browser.
Using the same XML HTTP component, the problem content is interpreted from the server and displayed on the page whenever a user requests a problem.
Any questions you choose for the user will be stored on the client.


The duration of one test is 5 minutes.
No answer, you can use next to answer the question of the next ocean.
Once the user starts the quiz, all problem directories will come from the server.
The ID of the given problem is sent to the server and stored in the server as per the request.
The server will return the problem content, match the problem ID, from the XML file.
When the user chooses any answer, the system will be stored in those responses and in the selection table on the client side.
The answer table is used to not examine the correct answers that the user has chosen last.
The Select table is there so that the system will automatically select the option that the user has selected (for example, the user clicks the previous button) the exam will end or the user clicks the end button or the first time (for example 5 minutes) ends.
With regard to the end, the system will compute the not right answer and show it.
The following documents are used in the online exam system:
Olexam.html
<script>
var objxmlhttp,objxmldom;
var aquest; To store question IDs
var aanswer = new Array (); To track the result
var aselected = new Array (); To store user ' s response
var count = 0; To store the current Question No
var Anssel = 0; To store user ' s selection
var examduration = 5 * 60; 5 minutes
var Timerid; To store the setinterval fun ' s ID
var radindex =-1; To store the selected radio ' s index
constructor like function
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.