Question: 4 Possible things to Hand In: Design Document Data File ( s ) Code Optional Presentation Materials ( PPT , Graphics, Logo, etc ) Zoo
Possible things to Hand In:
Design Document
Data Files
Code
Optional Presentation Materials PPT Graphics, Logo, etc
Zoo Management System Software software that manages information about animals in a zoo
Your Lab Project should:
Name your software
define a logo or icon for your software
Define at least file that holds information relared to your project topic :
Zoo Management Software example is animal name, taxonomy information, age, has the animal has offspring, is the animal endangered
Your file should have items
The contents of your file or files should populate an array of objects
One of the members of your object's Class should be derived. Therefore the member is not in the file. For example :
For zoos it can be whether or whether or not the animal is young, adult, or elderly
Create a design document that will solve how your software:
Provides a menu to the user that offers the following minimum choices
A search based on any field of your choice. The search option must use the Binary Search
A sort based on a numerical field
A sort based on a text field
Your software should use the concepts of :
Java Classes
Store the objects of your Classes in Arrays
Perform sorting and searching on your Arrays of objects
Define the object for your classes based on information in your files
Demonstrate an understanding of
ClassesObjects
Arrays
Methods
Files
Loops
Selections
Strings
Numbers
Variables
Approach sample
Design Document:
ZooManagementSystem Menu Options:
Search based on animal name
Sort based on age
Sort based on taxonomy
Exit
Software Implementation:
Java Classes used to define Animal objects
Objects of Animal class stored in an array
Binary search used for searching based on animal name
Sort based on age and taxonomy fields implemented
Object class includes a derived member for animal maturity status
Understanding Demonstrated:
ClassesObjects: Animal class defined with attributes and methods
Arrays: Objects of Animal class stored in an array
Methods: Used for sorting and searching functionalities
Files: animalInfo.txt used to populate array of objects
Loops: Iteration over array elements for processing
Selections: Menu options for user interaction
Strings: Animal names and taxonomy stored as strings
Numbers: Age field used for numerical sorting
Variables: Used to store and manipulate data within the program
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
