Question: please use java! Thanks! In the first part of this assignment, you will design a data structure (by drawing it out on paper) that a

please use java! Thanks!

please use java! Thanks! In the first part of this assignment, youwill design a data structure (by drawing it out on paper) thata computer could use to play a game of "twenty questions" whereall the possible questions and answers are known ahead of time. (Anothersimilar application of this which you may have seen can be found

In the first part of this assignment, you will design a data structure (by drawing it out on paper) that a computer could use to play a game of "twenty questions" where all the possible questions and answers are known ahead of time. (Another similar application of this which you may have seen can be found in video games, where non-player characters (NPCs) often ask you a series of questions and give you appropriate responses based on your answers.) Consider the following yes-or-no questions: . Is it a mammal? Does it live with humans? . Is it intelligent? Does it have more than 2 legs? . Is it used for food? . Do we use it for clothes? . Is it a pet? . Is it a bird? Is it aquatic? . Is it a pack hunter? Is it an arthropod? . Is it an insect? Is it aggressive? In the first part of this assignment, you will design a data structure (by drawing it out on paper) that a computer could use to play a game of "twenty questions" where all the possible questions and answers are known ahead of time. (Another similar application of this which you may have seen can be found in video games, where non-player characters (NPCs) often ask you a series of questions and give you appropriate responses based on your answers.) Consider the following yes-or-no questions: . Is it a mammal? Does it live with humans? . Is it intelligent? Does it have more than 2 legs? . Is it used for food? . Do we use it for clothes? . Is it a pet? . Is it a bird? Is it aquatic? . Is it a pack hunter? Is it an arthropod? . Is it an insect? Is it aggressive

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!