JS for multiple choice questions (i worte it myself)

This is a discussion on "JS for multiple choice questions (i worte it myself)" within the JavaScript Forum section. This forum, and the thread "JS for multiple choice questions (i worte it myself) are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > JavaScript Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Nov 5th, 2007, 07:40
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!
Last Blog Entry: Cross browser nuisance (Feb 11th, 2008)
Reply With Quote

  #2 (permalink)  
Old Nov 5th, 2007, 22:58
Highly Reputable Member
Join Date: Sep 2007
Age: 15
Posts: 717
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: JS for multiple choice questions (i worte it myself)

Wow, this is a neat script! I currently have no need for something like this, but I'll remember it if I ever do... Thanks for making that available!
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
Reply With Quote
  #3 (permalink)  
Old Nov 6th, 2007, 12:35
Reputable Member
Join Date: Nov 2007
Location: India
Posts: 150
Blog Entries: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: JS for multiple choice questions (i worte it myself)

Quote:
Originally Posted by swagner View Post
Wow, this is a neat script! I currently have no need for something like this, but I'll remember it if I ever do... Thanks for making that available!
Thanks buddy!

I am making an improved version of that script. Will post at that page itself where its currently there
Last Blog Entry: Cross browser nuisance (Feb 11th, 2008)
Reply With Quote
  #4 (permalink)  
Old Nov 6th, 2007, 12:38
Highly Reputable Member
Join Date: Sep 2007
Age: 15
Posts: 717
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: JS for multiple choice questions (i worte it myself)

Could I make one suggestion? Try posting your script in the Webforumz Cafe or the Free Website Critique Forum. The javascript forum is more for help with javascript. If you want people to comment your scripts, use the forums I mentioned above. I am sure you'll get good critique there.
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
Reply With Quote
  #5 (permalink)  
Old Nov 6th, 2007, 15:16
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: JS for multiple choice questions (i worte it myself)

I think this is the right place for this thread swagner. It's a JS script so it goes in the JS forum
Reply With Quote
  #6 (permalink)  
Old Nov 7th, 2007, 00:29
Highly Reputable Member
Join Date: Sep 2007
Age: 15
Posts: 717
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: JS for multiple choice questions (i worte it myself)

Yes, I know. But isn't this a critique thing :: Critique Forum? Sorry if I am completely wrong and have made some serious errors in judgment. I still have not been to every forum on this site and therefore am not completely familiar with the type of content that should (or should not) be posted in each one... Again, sorry!
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)

Last edited by Stuart; Nov 7th, 2007 at 00:41.
Reply With Quote
  #7 (permalink)  
Old Nov 7th, 2007, 00:40
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,608
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Send a message via Yahoo to Monie
Re: JS for multiple choice questions (i worte it myself)

Did he ask for critiques?? I don't see it!
Is it a website for us to critique? No? This forum critique area is just for website critique. I think Rohan just wanted to share with all of us in the JS forum that he has coded a very "cool js stuff" by himself, am I right Rohan? Nice work there!

By the way, I've scored 4 out of 5 question in your quiz there!
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Reply With Quote
  #8 (permalink)  
Old Nov 7th, 2007, 03:27
Reputable Member
Join Date: Nov 2007
Location: India
Posts: 150
Blog Entries: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: JS for multiple choice questions (i worte it myself)

Quote:
Originally Posted by monie View Post
Did he ask for critiques?? I don't see it!
Is it a website for us to critique? No? This forum critique area is just for website critique. I think Rohan just wanted to share with all of us in the JS forum that he has coded a very "cool js stuff" by himself, am I right Rohan? Nice work there!

By the way, I've scored 4 out of 5 question in your quiz there!
Hey Monie, thanks for the appreciation!

I just wanted to show off my work to others. I remember when I needed one such script for my site, I could not get it. I got those crippled with restrictions.

So I decided to write my own script which shall be free from all those crippling restrictions. Now I am putting it here so that if others too need any such script, they have this one as a potential option.

I didn't specifically ask for the critique because I am not in a mood to hear negative comments atleast at this moment, because coding this has taking me many days! If you have any negative comments about the script, please do tell it politely, but do not cripple my enthusiasm by harsh or rude negative comments.

When I started writing this script, the only function that I knew was alert(). From then, I have gone appreciably ahead.

I agree that the script needs improvement in many obvious areas as well, and I am working on it. Please give your suggestions. I welcome them
Last Blog Entry: Cross browser nuisance (Feb 11th, 2008)
Reply With Quote
  #9 (permalink)  
Old Nov 7th, 2007, 04:11
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,608
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Send a message via Yahoo to Monie
Re: JS for multiple choice questions (i worte it myself)

Now we can think of CRITIQUE but I think you are in the right forum by the way...

Ok, my first POSITIVE critique will be, after we click the "show my score" button and display our score, you should alert the user the correct answer for the wrong one. Is that make sense?

Of you have a reason for that?
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Reply With Quote
  #10 (permalink)  
Old Nov 7th, 2007, 04:31
Reputable Member
Join Date: Nov 2007
Location: India
Posts: 150
Blog Entries: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: JS for multiple choice questions (i worte it myself)

^ Monie, thanks for the feedback.
I am writing this enhancement for the script:
After the student clicks on 'Show my score', a detailed report card would be produced which would look something like below:


I am also looking for a way to mail the answer to the person who made the quiz. Even thats half-done!
Last Blog Entry: Cross browser nuisance (Feb 11th, 2008)

Last edited by RohanShenoy; Nov 7th, 2007 at 04:36.
Reply With Quote
  #11 (permalink)  
Old Nov 7th, 2007, 06:25
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,608
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Send a message via Yahoo to Monie
Re: JS for multiple choice questions (i worte it myself)

Wow.. you must be a javascrriptgeek, lol.
That is a very effective way! Inform us when you finished writing them, I want to have a look at it! Maybe I could use it someday..

Cheers..
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Reply With Quote
  #12 (permalink)  
Old Nov 7th, 2007, 09:48
Reputable Member
Join Date: Nov 2007
Location: India
Posts: 150
Blog Entries: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: JS for multiple choice questions (i worte it myself)

Hey, I have just finished with an enhacement of the 'Detailed report card'. Have a look at the screenshot below:
Last Blog Entry: Cross browser nuisance (Feb 11th, 2008)

Last edited by RohanShenoy; Nov 7th, 2007 at 11:42.
Reply With Quote
  #13 (permalink)  
Old Nov 7th, 2007, 13:09
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: JS for multiple choice questions (i worte it myself)

Quote:
Originally Posted by swagner View Post
Yes, I know. But isn't this a critique thing :: Critique Forum? Sorry if I am completely wrong and have made some serious errors in judgment. I still have not been to every forum on this site and therefore am not completely familiar with the type of content that should (or should not) be posted in each one... Again, sorry!
No need to be sorry or delete your post. We are all human ... mistakes are a common thing!
Reply With Quote
  #14 (permalink)  
Old Nov 7th, 2007, 22:09
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: JS for multiple choice questions (i worte it myself)

Can I just say this.
The forum is called "free website critique". It's for critiquing websites.
Hope that clears it up Swagner.

And I like your multiple choice thing
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #15 (permalink)  
Old Nov 7th, 2007, 22:37
Highly Reputable Member
Join Date: Sep 2007
Age: 15
Posts: 717
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: JS for multiple choice questions (i worte it myself)

Quote:
Originally Posted by karinne View Post
No need to be sorry or delete your post. We are all human ... mistakes are a common thing!
Thanks Karinne! I feel much better (it always sounds like you guys hate me when you're "scolding" my posts...).
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
Reply With Quote
  #16 (permalink)  
Old Nov 7th, 2007, 22:53
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: JS for multiple choice questions (i worte it myself)

It's cos we do

Why would you think that?

I'm only joking
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
  #17 (permalink)  
Old Nov 7th, 2007, 23:46
Highly Reputable Member
Join Date: Sep 2007
Age: 15
Posts: 717
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: JS for multiple choice questions (i worte it myself)

Quote:
Originally Posted by alexgeek View Post
Why would you think that?
I don't know... It's just that sometimes, it sounds like you guys are looking down your nose at me. This is especially emphasized when I get negative rep points saying things like "silly response" or "not a valid answer" or something like that. I am sure that you don't really hate me, but it sure does seem like that sometimes... No hard feelings though!
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
Reply With Quote
  #18 (permalink)  
Old Nov 8th, 2007, 01:07
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: JS for multiple choice questions (i worte it myself)

AH!!! Now I understand and I thank you for letting me know this! I removed those negative reps BTW since I thought they were totally un-called for!

Now .... back on topic please!
Reply With Quote
  #19 (permalink)  
Old Nov 8th, 2007, 01:49
Highly Reputable Member
Join Date: Sep 2007
Age: 15
Posts: 717
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: JS for multiple choice questions (i worte it myself)

Thanks Karinne! Yes, back on topic: Rohan, I love what you've done with the "report card". It really makes it easier to overlook the score you get. Keep it up!
Last Blog Entry: Windows Vista vs. Mac Leopard (Nov 4th, 2007)
Reply With Quote
  #20 (permalink)  
Old Nov 8th, 2007, 06:40
Reputable Member
Join Date: Nov 2007
Location: India
Posts: 150
Blog Entries: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Re: JS for multiple choice questions (i worte it myself)

Quote:
Originally Posted by swagner View Post
Thanks Karinne! Yes, back on topic: Rohan, I love what you've done with the "report card". It really makes it easier to overlook the score you get. Keep it up!
Thanks Swagner. I had actually posted the link to the new MCQ script in action but later deleted it due to some bugs. I am debugging it now!
Last Blog Entry: Cross browser nuisance (Feb 11th, 2008)
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
My javascript for multiple choice questions (COMPLETED) RohanShenoy Webforumz Cafe 0 Dec 4th, 2007 07:52
IE 7 ignoring css fonts choice ukgeoff Web Page Design 5 Oct 24th, 2006 16:15
Forum Choice natcolley Introduce Yourself 4 Oct 1st, 2005 11:25
Multiple Choice Form Values Andy K PHP Forum 9 Aug 30th, 2005 12:01
Make your choice for 20/10/03! Webforumz Staff Entry, Nominations and Voting 0 Oct 16th, 2003 09:00


All times are GMT. The time now is 22:39.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43