I'm making an iPad app that will display a few choices and based on your choice will display a series of questions with each question triggering a different set of questions. I was wondering if there was a name for this or any open-source library that someone has made for this kind of app.

If not, would it be best to hard code all the questions and responses into the app, or to read them from a file?

@Martin Each view will look virtually identical, so I was hoping to use the same view for each step. So storyboard doesn't really make sense for my app.
–
edc1591Jul 18 '12 at 23:23

CAT (Computerized adaptive testing)? "CAT successively selects questions so as to maximize the precision of the exam based on what is known about the examinee from previous questions. From the examinee's perspective, the difficulty of the exam seems to tailor itself to his or her level of ability...."
–
gnatAug 18 '12 at 1:04

What kind of framework do you really need? A few view controllers, some nicely-laid-out views, and a sensible way to represent the data: you're done. If you're having trouble seeing how to write such a thing, I'd suggest that you start by deciding how to organize the data:

What's a question?

Are questions organized into groups?

How does the answer to one question affect the question that the program asks next?

Also very old are text-based adventure games where the player is presented with a situation and a number of options. These kinds of programs aren't very different from the kind of thing you're describing.

So, all this is to say that the structure of your program is probably going to be pretty simple -- I doubt you'll need a framework to get you there.