View Single Post
  #1 (permalink)  
Old Nov 5th, 2007, 07:40
RohanShenoy RohanShenoy is offline
Reputable Member
Join Date: Nov 2007
Location: India
Posts: 150
Blog Entries: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Talking JS for multiple choice questions (i worte it myself)

The basic version of the script has following:
  • 5 multiple choice questions
  • Disallows changing of answers once marked
  • Scores every correct answer as 1 mark. Unattempted or incorrect answers are NOT scored negatively
  • Show the total score and total no. of unattempted questions at the end of test
  • Show no. of unattempted questions in real-time


Following enhancements are possible if script is appropriately modified:
  • Have unlimited questions
  • Can have negative scoring for incorrect answers
  • Can have relative scoring (Eg: 1 mark for option A but 2 marks for option C)
  • Can have effect of darkening the circle once marked (using the image swap function)
  • Can have a timer and set actions
  • Can have the answer sheet emailed for analysis(using a CGI or PHP script with message template)
  • Many other modifications are possible as per your need

See the script in action at http://javascript.biologyformhtcet.c...on_script.html or http://tinyurl.com/ywdgoj

Source also available on that page.


Have a nice day ahead!
Reply With Quote