Question: JAVA: Create a program for a zookeeper monitoring system using two classes . One to be used to determine what the user wants to do,
JAVA:
Create a program for a zookeeper monitoring system using two classes. One to be used to determine what the user wants to do, monitor animals or habitats. The other to read the file for the chosen action (listed below as animal/habitat file). Create a monitoring system that does all of the following:
1) Asks a user if they want to monitor an animal, monitor a habitat, or exit
2)Displays a list of animal/habitat options (based on the previous selection) as read from either the animals or habitats file o Asks the user to enter one of the options
3) Displays the monitoring information by finding the appropriate section in the file
4) Separates sections by the category and selection (such as Animal - Lion or Habitat - Penguin)
5) Uses a dialog box to alert the zookeeper if the monitor detects something out of the normal range (These will be denoted in the files by a new line starting with *****. Do not display the asterisks in the dialog.)
6) Allows a user to return to the original options
Animals file:
Details on lions
Details on tigers
Details on bears
Details on giraffes
Animal - Lion
Name: Leo
Age: 5
*****Health concerns: Cut on left front paw
Feeding schedule: Twice daily
Animal - Tiger
Name: Maj
Age: 15
Health concerns: None
Feeding schedule: 3x daily
Animal - Bear
Name: Baloo
Age: 1
Health concerns: None
*****Feeding schedule: None on record
Animal - Giraffe
Name: Spots
Age: 12
Health concerns: None
Feeding schedule: Grazing
Habitat file:
Details on penguin habitat
Details on bird house
Details on aquarium
Habitat - Penguin
Temperature: Freezing
*****Food source: Fish in water running low
Cleanliness: Passed
Habitat - Bird
Temperature: Moderate
Food source: Natural from environment
Cleanliness: Passed
Habitat - Aquarium
Temperature: Varies with output temperature
Food source: Added daily
*****Cleanliness: Needs cleaning from algae
Prompt You have assumed the role of managing the technology infrastructure at a zoo. You will develop a working program (either an authentication system ora monitoring system) for the zoo designed to follow the specifications outlined in the overview. You will also provide detailed documentation describing your development process. Select from one of thel following options as the basis of your program. Option 2: Monitoring System As a zookeeper, it is important to know the activities of the animals in your care and to monitor their living habitats. Create a monitoring system that does all of the following Asks a user if they want to monitor an animal, monitor a habitat, or exit Displays a list of animal/habitat options (based on the previous selection) as read from either the animalsor habitats file o Asks the user to enter one of the options Displays the monitoring information by finding the appropriate section in the file . Separates sections by the category and selection (such as "Animal-Lion" or "Habitat Penguin") .Uses a dialog box to alert the zookeeper if the monitor detects something out of the normal range (These will be denoted in the files by a new line starting with *****. Do not display the asterisks in the dialog.) Allows a user to return to the original options * You are allowed to add extra animals, habitats, or alerts, but you may not remove the existing ones. Specifically, the following critical elements must be addressed: I. Process Documentation: Create process documentation to accompany your program that addresses all of the following elements: Problem Statement/Scenario: Identify the program you plan to develop and analyze the scenario to determine necessary consideration for building your program Overall Process: Provide a short narrative that shows your progression from problem statement to breakdown to implementation strategies. In other words, describe the process you took to work from problem statement (your starting point) to the final product. Your process description should align to your end resulting program and include sufficient detail to show the step-by-step progress from your problem statement analysis. Pseudocode: Break down the problem statement into programming terms through creation of pseudocode. The pseudocode should demonstrate your breakdown of the program from the problem statement into programming terms. Explain whether the pseudocode differs from the submitted program and document any differences and the reason for changes. Methods and Classes: Your pseudocode reflects distinct methods and classes that will be called within the final program. If the pseudocode differs from the submitted program, document the differences and reason for changes. A. B. C. D. E. Eror Documentation: Accurately document major errors that you encountered while developing your program. F. Solution Documentation: Document how you solved the errors and what you learned from them. II. Program: Your working program should include all of the specified requirements. The comments within your program will count toward the assessment of the documentation aspects of your submission. A. Functionality 1. 2. 3. 4. 5. 6. Input/Output: Your program reads input from the user and uses system output. Control Structures: Your program utilizes appropriate control structures for program logic. Libraries: Your program utilizes standard libraries to pull in predefined functionality. Classes Breakdown: Your program is broken down into at least two appropriate classes. Methods: Your program utilizes all included methods correctly within the classes. Error Free: Your program has been debugged to minimize errors in the final product. (Your program will be run to determine functionality.) B. Best Practices: These best practices should be evident within your working program and process documentation. 1. 2. 3. Formatting Best Practices: Provide program code that is easy to read and follows formatting best practices as defined by the industry such as with indentation. Documentation Best Practices: Include comments where needed within the program in appropriate detail for communicating purpose, function, and necessary information to other information technology (IT) professionals. Coding Best Practices: Ensure your program supports clean code through descriptive variable names. Milestones Milestone One: Discussion Peer Review: Final Project Planning In Module Five, you will create and submit the pseudocode for the final project problem statement. This milestone will be graded with the Milestone One Rubric
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
