Primetime’s technology provides a question and answer engine that can be integrated into an application. The knowledge base performs sophisticated branching encapsulated within an application programming interface that allows rapid and easy implementation of unique user interfaces. The question knowledge base contains all of the logic about when to drill-down and ask more detailed questions. The client application simply keeps retrieving the next question to be asked and returning the user’s answer back to the question engine. When the engine determines that no more questions are necessary, the user program can then collect and store the results or generate an output report to view the results. The strength of the engine is the flexibility of the knowledge-based branching dependent on user input.