psychobl
(stranger)
09/25/03 04:40 PM
Re: Ask the right questions in your sur

Quote:

Quote:

Using a heirarchical approach it would not be possible to skip over unneeded sections and then continue with the main thread of questioning. Consider for instance, filling out a tax return, where there are whole sections that are not needed for most tax-filers, but everyone needs to fill out a basic set of questions.

Although it is more complicated to form questions using the relational view, it is also more flexible.




You should use hierarchical approach to branch out to the portions that contain relevant information. That way, there is no need to skip anything. For example, if you ask the users to specify whether they are married or not, that decision is going to take them to the different section of the hierarchical document. Same holds for any other point where the questionaire branches out.

There should be no need to skip any portions, providing that the hierarchical structure is designed properly in the first place.





A hierarchial structure will eventually become redundant and difficult to maintain. Consider the follow:
Type of vehichle
Car
Truck
Suv

Manufacturer of Truck:
Toyota
Dodge
Ford

Manufacturer of Car
Toyota
Dodge
Ford

Size of Dodge Truck
Dakota
Ram

Engine of Dodge Truck
4.7
5.9


The two trucks have the same availability for engines. No sense in reproducing an new set of questions for it. The Durango which is an SUV uses these engines as well. Think how far up the page you would have to go looking in an XML file to add the 4.7dual turbo charged engine with widgets attached. Theres many repetitions in questions and answers. Get too big and your going to have to reproduce the same questions over and over and over. I built a product selection application that is a basic questionaire. Heres the features you want and results in a product. Mine was quite a bit more abstracted than this of course. The questions and answers were all normalized. Add the questions. Add the answers. Drag and drop them together and you have a new question.



Contact us JavaWorld

Powered by UBB.threads™ 6.5.5

Featured White Papers


RESEARCH CENTERS: Java Standard Edition | Java Enterprise Edition | Java Micro Edition | Development Tools
About Us | Advertise | Contact Us | Terms of Service/Privacy
Copyright, 2006-2008 Network World, Inc. All rights reserved.