Dynamic wizard with varying number of questions

I have a page that guides the user to the required information. It asks a question and based on the answer displays a second question. Based on that answer - the information is displayed. There can be between 2 to 4 questions.

Tried to look for nice solutions, but perhaps I am missing the correct terminology for such a thing.

Is there a term for this so that I can find design patterns? Do you have good examples or design patterns for such a page?

Thanks, R.