InterContinental Hotels Group Interview Question: 1. Design a ZOO using coding ... | Glassdoor

Interview Question

Software Architect (Atlanta, GA) Interview Atlanta, GA

1. Design a ZOO using coding best practices and object

  oriented design principles The requirement went like this -Zoo can have different type of animals like Tiger, Bear and Monkey -They all eat food, like Grain, meat etc -They sleep, play and eat -They keep track of their energy level -They keep track of number of species produced -when they play they loos energy level like -8 points or something -when they eat they gain -when they speak by default they say "Grr", and some animals say differently -they all need to know what type of food they are eating -some animals are trainable, bear is trainable -when they are trainable they can dance -when the bear dance it says "I'm Dancing"

Add Answers or Comments

To comment on this, Sign In or Sign Up.