Question: The computer has built the following decision tree for the Guess the Animal Game: question4.pdf.(see image below). The player has an animal in mind and
The computer has built the following decision tree for the Guess the Animal Game: question4.pdf.(see image below). The player has an animal in mind and will answer the questions shown in the tree. Each of the player's responses is used to determine the next question to ask. For example, if the player is thinking of a sea turtle, she would answer Yes to the first (top) question, "does it live in the water?", which leads to the second question "is it a mammal?", to which she would answer No.
Show the decision tree that the computer should build after adding a Zergling and a question to differentiate it, "Does it eat space marines?", to the tree. The question and the animal should be added below existing questions in the tree. Note that this instruction says that you should keep the existing questions in the tree intact and then add the new animal and new question. It doesn't restrict changing the existing nodes that contain animals. You can definitely make changes to such nodes.
Finally, note that Zerglings do eat space marines, do not live in the water, and do not climb trees.
Will rate thanks :)
does it live in the water? Yes No is it a mammal? does it climb trees? Yes No Yes No whale sea turtle cat dog
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
