Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 1 of 2 12 LastLast
Results 1 to 15 of 17

Thread: Making a quiz

  1. #1
    New Coder
    Join Date
    Dec 2003
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Making a quiz

    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

    Thanx

  • #2
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #3
    New Coder
    Join Date
    Dec 2003
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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)

  • #4
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

    http://www.google.be/search?q=quiz+j...-8&hl=nl&meta=

  • #5
    New Coder
    Join Date
    Dec 2003
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    can u tell me the basic code that i should use to make the xhtml quiz?

    Thanx

  • #6
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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.

  • #7
    New Coder
    Join Date
    Dec 2003
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ok. Thanx.

    I didnt see it

    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

  • #8
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #9
    New Coder
    Join Date
    Dec 2003
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    well. The actual reason is that javascript is disabled in some browsers, so it won't seem to work properly

  • #10
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #11
    New Coder
    Join Date
    Dec 2003
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    oh. Ok. Thanx alot.

  • #12
    New Coder
    Join Date
    Dec 2003
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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)
    Attached Files Attached Files

  • #13
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    It's all possible.

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

  • #14
    New Coder
    Join Date
    Dec 2003
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #15
    raf
    raf is offline
    Master Coder
    Join Date
    Jul 2002
    Posts
    6,589
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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


  •  
    Page 1 of 2 12 LastLast

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •