Design and build a zoo organizer

Assignment Help Basic Computer Science
Reference no: EM13834196

OOP Project Description

Requirements:

You are to design and build a zoo organizer. The zoo organizer should keep track of a set of animals. The zoo organizer should be able to keep track of different sets of animals. The organizer only needs one set of animals open at a time. It should have the capabilities to save the current set of animals to a file and also open a set from a file.

There are 3 types of animals in the zoo. There are mammals, reptiles and birds. All animals have a name, a birthdate, an age and a species. The following chart shows the species that the organizer needs to track. It only needs to track these species.

Type                     Species

Mamma                Goat

                               Lion

                                Pig

 

Reptile                  Turtle

                              Iguana

 

Bird                       Eagle

                              Hawk

Every animal also has  life expectancy, which is how many years we think that animal should live. The following rules show how to determine the life expectancy.

1.All of the mammal's life expectancy is 15 - age. So, if a mammal is 5 (15-5 = 10), the life expectancy is 10 years.

2.Iguana's life expectancy is (1 / age) * 10. So if an iguana is 5 (1/5 * 10) = 2, the life expectancy is 2 years.

3.Turtles seem to live very long. Their life expectancy is 110 - age. So if a Turtle is 5, (110 - 5 - 105), the life expectancy is 105 years.

4.We don't know much about the life expectancy of birds. Always show their life expectancy as 5 years.

When a user creates a new set of animals, they need to be able to add an animal to the set. They should also be able to update and delete animals in the set. The organizer should only show one set of animals at a time.     

Reference no: EM13834196

Questions Cloud

Is the resulting image for concave mirror real or virtual : Is the resulting image for the concave mirror real or virtual; and, how do you know??Use your measurements to calculate the magnification
Number of unpaired electrons in the nitrogen atom : Number of unpaired electrons in the nitrogen atom
Shift supply curve in perfectly competitive market for good : Which of the following would shift a supply curve in a perfectly competitive market for a good? Assume that the wholesale skim milk market is perfectly competitive. Suppose demand is described by P=5.10-0.80Q and supply is described by P=1.90+0.20Q. ..
Repair a single computer and identify any effects : Select a sample known virus or other malware that has been reported. Describe what its origin is, how it is detected, how it spreads, how it affects those infected, and how its effects can be reversed. Estimate the amount of effort needed to repair a..
Design and build a zoo organizer : You are to design and build a zoo organizer. The zoo organizer should keep track of a set of animals. The zoo organizer should be able to keep track of different sets of animals. The organizer only needs one set of animals open at a time. It should h..
Explain the tax consequences of the irs : Your client supplies water to a housing development. The company requires new customers to pay for the extension of the water lines to the customer's home. The water lines are the company's property. The client would like you to explain the tax conse..
Calculate the number of moles of carbon atoms : Calculate the number of moles of carbon atoms
Once commissioned as the uss excambion : A 473-foot, 7000-ton World War II troop carrier (once commissioned as the USS Excambion) was sunk in the Gulf of Mexico to serve as an underwater habitat and diving destination. The project took 10 years of planning and cost $4 million. Assume the $4..
What is the before tax consumer and producer surplus : Suppose the current equilibrium price of a quarter-pound hamburger is $5 and 10 million quarter-pound hamburgers are sold per month. After the federal government imposes a tax of $.50 per hamburger, the equilibrium price of hamburgers rises to $5.20 ..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  How the different tasks will play a part in future career.

How the different tasks will play a part in your current position or future career.

  Web technology presentation

Submit a presentation for the CIO. Your presentation should address in detail the requirements for changing the database to a web-based architecture. Your CIO is interesting in knowing whether it is cost effective to use the cloud as an alternativ..

  Explores the performance consequences

This problem explores the performance consequences of having only a single level of cache in a modern processor with 40 ns DRAM column access time and a clock period of 400 ps (clock frequency 2.5 GHz). You are given the following data: A particul..

  Generate a random number from normal distribution

lname must be generated at random using specified uniform distributions, i.e., [X, Y] means that some random value between X and Yis chosen for each record by your implementation.

  Hydrogen development project

This exercise begins with information for a Hydrogen Development Project. Working in Microsoft Project, you will create the task list, including summary tasks and their sub-tasks, create links between tasks and their predecessors, add resources, a..

  Pricing in one market depends on sales

12. A firm makes two products, x and y. Inverse demand for each shows that pricing in one market depends on sales in the other according to the equation:Px=1000 - 20x + 3y and Py = 500 - 5y + x.The firm faces joint fixed cost of $12,000 and constant ..

  Discuss the different html/css versions and browser versions

HTML versus XHTML - Discuss the different HTML/CSS Versions and Browser Versions

  Explain the two methods which are used to give concurrent

describe the two methods that are used to provide concurrent operations of multiple processes on a single cpu. what are

  Program that will implement a binary search

Write a program that will implement a binary search. You program should store 40 numbers. The 40 numbers will be initialed in an array (See Below). Your program should read in each number, call a binary search, and Indicate if the number is found ..

  Career episode between 1000 to 2000 words

Write a Career Episode between 1000 to 2000 words

  Migrate to the cloud

Migrate to the Cloud

  Identify all substrings to create one of five given words

Given a string of letters, identify all substrings that create one of five given words. For example, if the words (arguments) are: structure; such; system; blue.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd