View Full Version : Making a quiz

12-20-2003, 04:12 PM
Well, I'll tell u guys in a very simple way. i want to create a quiz on my website. I want it to be similar to the bytesize GCSE revision website for the bbc. So it should be similar in the way it takes in the answers, the variety of answers that can be input.
I think the URL is http://www.bbc.co.uk/schools/gcsebitesize


12-21-2003, 12:30 AM
Welcome here.

Well, it's just a regular form with a few radiobuttons and a server side script to proces the answers. It will probably select the questions and answers/feedback from a database.

But we should know what language you're planning to use + if you want to work with a db etc, before we can give you some more precise info.

Or you could take a look around at www.hotscripts.com or google for 'quize' or so

12-21-2003, 01:44 PM
well, i prefer to use html ( cause it is read by most browsers, hey. But don't ask me, U guys are the ones with the info)

I don't really want to use a database as it is not supported by my webspace provider (i think)

12-21-2003, 02:47 PM
Originally posted by aommaster
well, i prefer to use html
A server side language generates (x)html, that is then sent to the client.

If you don't want to use a server side language, then look at some clientside-javascrpt alternatives.


12-21-2003, 02:50 PM
can u tell me the basic code that i should use to make the xhtml quiz?


12-21-2003, 04:18 PM
I've even given you a link to a google-search resultpage that contains quite a few sites where you can build a multiple choice-javascript quize through a webinterface. You don't even need to write 1 line of code for that!

If you don't have any coding-experience, then either get your hands dirty and look look into the links i supplied, or find someone who will write the complete thing for you.

12-22-2003, 01:41 PM
Ok. Thanx.

I didnt see it :o

Is there any way that it can be done like the GCSE bytesize website

I want it to be in html and not in javascript

Sorry to bother u

12-22-2003, 04:57 PM
Is there any way that it can be done like the GCSE bytesize website

I want it to be in html and not in javascript

no, that is not possible. If you only use html, then you have static pages. So you could show the question-page, exactly like GCSE, but you would not be able to score it.

You need either a clientside scriptinglanguage (like javascript, vbscript, ...) for that, or server side scripting (like ASP, JSP, PHP, ...)

But i don't understand your view in this. There are plenty of free downloadable and easy customizable quizes for javascript.

12-23-2003, 11:42 AM
well. The actual reason is that javascript is disabled in some browsers, so it won't seem to work properly :)

12-23-2003, 12:46 PM
indeed. about 11% have javascript disabled. Might be less for your targetaudience ...

but if you want something universal, then you need server side scripting. For this particular quiz, you don't need a lott of code. A good coder can write the form-processing code in less then an hour. Maybe ask around in th PHP or ASP forum, or follow the advice from my first post.

12-24-2003, 01:48 PM
oh. Ok. Thanx alot. :)

12-25-2003, 01:21 PM
Okay. I have made a form, and have decided to use a database so that the form can compare the answers that are submitted, with the correct answers.

How should i actually link it to the database?

How do i MAKE the database and how should it look?

I will also need a reults page showing what was wrong and right, the percentage.

Is this possible, now that i am using a database

I have included a copy of the html document. (not the one that's going up, just the coarse info)

12-27-2003, 01:09 AM
It's all possible.

Whet serverside language will you be using? (ASP, PHP, JSP,...) which db-format? (MsAccess, mySQL, ...)

12-27-2003, 03:03 PM
Well, I'm going to use access to make the database
As for the page, my web hosting service says that asp in disabled but aspx is enabled, what is the difference as that is what i am going to use

12-27-2003, 04:42 PM
ASP = 'Classical ASP'.
ASPx = ASP.NET --> the Microsoft attemp to have an object oriŽnted programming environment.

It might take you a while to get comfortable with asp.net, but like i said before, there are plenty of sites that supplie free sourcode an/or tutorials, like http://www.codeproject.com/aspnet/xmlquiz.asp

12-28-2003, 02:51 PM
Thanx. i'll have a look later, cause i have mocks coming up, then I'll give u feedback on how everything is going

06-02-2004, 01:18 PM

Forgot about the thread :o !!!

ok. I like this script very much! I have two questions:

1.How do i put the whole quiz on one page. someone had already asked about it, but the reply that he/she was given didn't make any sense :confused:

2.When the quiz evaluates the answers, it says whether the answer is correct or incorrect. Is there a way of it specifying the correct answer if the answer that was chosen was incorrect?

I need to use it in ASP.NET by the way!