create multiple choice test form

I would like to create a multiple choice test form using html .. I am familiar about html forms but just wanted to know
what script I need to include so that it takes effect when users click on the submit buttom..

A small example is appreciated..

I just want to use html (only) to create the form and may be use cgi or perl script ..

Thanks,
Sunray
LVL 49
sunray_2003Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ZontarCommented:
What's on your server? PHP or ASP would be better than CGI.

Posting a link or the HTML would also help us help you.
0
sunray_2003Author Commented:
I would like to have in CGI..

what link you are talking about ??


I know how to create forms .. ( i mean using those radio buttons).. But what I am looking is the cgi script.. I am seeing those online ( i mean doing google search) .. Trying to see which one is better..


Sunray
0
seanpowellCommented:
>>I am seeing those online

Yes, there are a lot of them. This one is pretty simple, but your needs may be far more complex...
http://www.abdn.ac.uk/diss/webpack/chap27.hti
0
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

sunray_2003Author Commented:
You are correct. There are lot ..

Thanks for your link.. I shall check that and will be back..

Mine is just very simple.. Just few questions in a page and all I want is once the user chooses everything
and presses submit , it should say you have got x out of y questions correct.. that is all I want

Thanks,
Sunray
0
seanpowellCommented:
Then that code should do it for you - it does pretty much exactly that...
0
seanpowellCommented:
Actually I forgot about the Extropia version - I've used quite a few of their open source products - forgot about this one. Documentation is very good...
http://www.extropia.com/applications/webexam.html
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sunray_2003Author Commented:
May be I am overlooking something in these links.. I am not able to find the cgi script for doing this quiz..

Do you see that ?

Sunray
0
ZontarCommented:
> what link you are talking about ??

A link to your form.
0
sunray_2003Author Commented:
well I am yet to create a form.. But that is not a problem here ..

I am just looking for a cgi script to which would come into play once the user clicks on submit button..

The cgi script should just take in the answers, compares it and should say you have got x out of y points or something like that

Sunray
0
seanpowellCommented:
The first one is here:
http://www.abdn.ac.uk/diss/webpack/chap27.hti#27.3

It's at the bottom part of the page. The cgi for the script is here:
http://www.abdn.ac.uk/tools/unix/quizedit/

The extropia one has a "download now" link.

Thanks
0
sunray_2003Author Commented:
The first link of yours in your latest comment doesnot say about the script

The second link gives C code ..  

extropia download page of quiz doesnot workk...  

Sunray
0
sunray_2003Author Commented:
I think it would be better to move this question to cgi area ..

I shall post a 0 pt in CS

Sunray
0
seanpowellCommented:
Sorry Sunray - the links works fine from this end ...
0
sunray_2003Author Commented:
George,

The first link works.. I downloaded all the files .created the html form also.

I see in my server there is no cgi-bin directory.. can I create it and move the script to that directory or the administrator should create the cgi-bin directory .. I donot see any cgi-bin directory hence I create my own.. Put the script file there

But it doesnot work. The link actually has a C code and it is compiled to get script.. I am looking something like quiz.cgi

Sunray
0
ZontarCommented:
Seriously... what does your server actually support? What's the URL?
0
sunray_2003Author Commented:
I have got a linux server. well not mine.. It is actually one of  the hosting company

Sunray
0
seanpowellCommented:
Thanks Sunray - glad you got everything working - although something tells me that the info in this paq may be more valuable in the html section, sice that covers all of the different scripting methods that can be used - often something like this can be a combination of cgi, javascript, and asp.
What do you think?
0
sunray_2003Author Commented:
. But it was more of CGI script and I had to work more on the CGI side rather than html ..

Well I think that way

Sunray
0
seanpowellCommented:
Yes, I guess you're right.

Thanks again.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Scripting Languages

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.