• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Devaka Cooray
  • Ron McLeod
  • paul wheaton
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Frits Walraven
  • Scott Selikoff

Java interactive questionnaire module

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All

I need to develop a questionnaire module in an existing application. The requirement is when an user clicks on the questionnaire link in the application, the module should present question to the user and based on the answer from the user another set of related question should be presented to the user.

For example The question asked is "Are you married" Yes/No. If the answer is Yes, then the question to be asked is "How many kids?". If the answer for the first question is No, then the question How many kids? should not be asked.

I would greatly appreciate if any one gives me some tips to develop the module.

I plan to start the module with a parser which parses the answer from the user and then decides to pick appropriate question from the questionnaire table.

Thanks in advance
Murali
 
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
http://socrates-qe.sourceforge.net/
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Based on my experience with creating several questionaire engines, I would say you should first concentrate on the expression of the questions in a script. The form of the script will dictate the logic of presentation and recording. I found it useful to make a diagram of all possible user's "flow" paths.


Personally I prefer XML for ease in editing and flexibility in expressing questions.

Bill
 
In the renaissance, how big were the dinosaurs? Did you have tiny ads?
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic