First page Back Continue Last page Image

Hierarchical Model Flaw

This is worth Extra Credit if you write your own version of this program

One of the first programs I learned to build in Basic was the kingdom program. Playing this program illustrates the problem with a hierarchical database structure

Tell user to think of an animal

Ask user stored questions about animals until last question reached

Say resulting animal

If wrong, ask user for a question that indicates the difference between your answer and correct answer

Add question to program

Play again