Scoring quiz with php and mysql (version2)
This project received 26 bids from talented freelancers with an average bid price of $133 AUD.Get free quotes for a project like this
I've created a site where people can do quizzes online.
See: [url removed, login to view]
In the "Quiz ID" field, choose '4' for example and press submit. You'll see the quiz is called "Simple Addition". Click on the hyperlink and you'll be taken to
[url removed, login to view] where you can do the quiz.
If you enter your first name, last name and class in the relevant fields, this info as well as your score, will go into the database after you press the Submit Answers button.
Students can do the test multiple times and keep going until they get 100%.
- What I'm after is some way to count the amount of times a person attempts the quiz, and as well as giving them their % score, to also give them a GrandScore which is based on the amount of times they've completed the quiz (ie: the amount of times they've hit the "Submit Answers" button.
The formula would be essentially:
if (Submit Answer button pressed > 1 time)
GrandScore = score - 2 * (Number of times Submit Answer button has been pressed)
GrandScore = score
Max GrandScore on first submission = 100%
Max GrandScore on 2nd submission = 98%
Max GrandScore on 3rd submission = 96%
Max GrandScore on 4th submission = 94%
Basically you'll be working on [url removed, login to view] (or some of the files it calls - all relevant files attached), and the info will be going in to the GrandScore field of the tbl_quiz_scores table (sql dump attached)
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online