University : The University Of NewCastle UniLearnO is not sponsored or endorsed by this college or university.
Assignment Task :

Question 1. A user may add a Family  . The user will specify the Family name, continent and diet. There should be an error message if the Family name already exists, or if there are already 5 Family objects. 

Question 2. A user may add an Animal object to one of the Family objects  The user will specify the Family name (the object to which this Animal is being added), Animal name, continent and habitat. There should be an error message if the Animal already exists, or if the Family does not exist, or the Family already has 3 Animal objects. 

Question 3. A user may delete a Family The user will specify the Family name. There should be an error message if the Family does not exist. This will also cause any Animal objects in that Family to be deleted. 

Question 4. A user may delete an Animal   The user will specify the Animals name. There should be an error message if the Animal does not exist. If there exists a Family containing that Animal, the Family should be updated. 

Question 5. A user may ask for a list of all objects  The output should list all families and animals with all attributes included. If there are no objects, the output should be: "No family objects exist". Otherwise, one line should be output for each object with one of these formats: FAMILY scientificName commonName diet ANIMAL (Family)name name continent habitat 

Question 6. A user may ask for a list of animals that belong a family  The user will specify the Family name. If the Family contains no Animal objects, the output should be: "No animals contained in this family." Otherwise, one line should be output for each animal, with this format: ANIMAL (Family)name name continent habitat 

Question 7. A user may ask for a list of animals living on the same continent  The user specifies the continent. There should be an error message if there are no animals in the database living on the specified continent. Otherwise the output should be in the format: ANIMAL (Family)name name continent 

Question 8. A user may ask for a list of animals with the same diet as a specified animal  . The user specifies the animal (not the diet specifically). If there are no other animals with that diet an error message should be shown, otherwise the output should be in the format: ANIMAL (Family)name name continent diet 

Question 9. A user may import family and animal information from a file   The user will specify the name of the file to be read from. The program should expect a file consisting of zero or more lines, each of which should have one of these forms: 

 

This Engineering Assignment has been solved by our Engineering  Experts at UniLearnO. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Eureka! You've stumped our genius minds (for now)! This exciting new question has our experts buzzing with curiosity. We can't wait to craft a fresh solution just for you!

  • Uploaded By : Grace
  • Posted on : July 29th, 2018

Whatsapp Tap to ChatGet instant assistance