Click here to Skip to main content
15,906,094 members
Please Sign up or sign in to vote.
2.00/5 (2 votes)
See more:
My current project is to develop an online web survey application. Something very similiar to the online quiz website application posted at this link Online Quiz. I was wondering given that my survey application will not have Questions with Answers. But instead I will have a bank of questions to ask the user and the user will select the answer that best describes their individual opinion.Meaning there are no right or wrong answers. Also based upon how they answer a question will depend on the next question that I ask them. This means the users answers to a question determines the preceeding questions they are asked. I would be most appreciative if you could give me some ideas on how to approach this design. I am wondering how should I structure my XML file to accomodate this? Thanks for any help you can provide.
Gonzoox 21-May-10 16:49pm    
Reason for my vote of 1
Offending the person trying to help and explaining him what to do and NOT doing his work

1 solution

You will need to store a tree structure, where each possible answer can change the path of questions. XML is perfect for this, and it seems self evident to me. I'd create an app that let's me build questions and creates XML. I think you should think about your needs and
Try to do some work - ask us specific questions if you get stuck.
Share this answer
rkr2010 21-May-10 16:25pm    
This guy is an ass hole
Gonzoox 21-May-10 16:57pm    
so you were expecting us to do your work? you're wrong, the answer is perfect as a guide, if you don't know what you're doing then look for another job, this is not for you

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900