摘要 |
A method and apparatus for assisting a user in completing a task through the asking of questions about the task and providing answer choices to the questions for the user. The method includes storing a set of question procedures which include a reference to another procedure and storing answer procedures for the question procedures, which also include references to other procedures. Questions are dynamically generated by executing a question procedure which, in turn, calls a referenced procedure to generate a result based on one or more previous answers by the user. The referenced procedure passes the result to the questions procedure for use in generating the question. The same process is used for dynamically generating answer choices for the questions. The referenced procedures may include, among others, fetches of previous answers, conditional statements that choose among possible results based on a previous answer, or references to still other procedures. With this method and accompanying process, the questions and answers are current. Advice for the questions and answer choices may also be dynamically generated. |