Design the administration program for a veterinary office

Assignment Help Basic Computer Science
Reference no: EM13164885

his is an individual assignment. You will design the administration program for a veterinary office: This office attends to three different kinds of animals: Dogs, Birds, and Fish. You are to capture these with their respective classes. Each subclass of animals will have 5 different varieties. You are to define what those are for each kind of animal.

You should keep track, for every animal, the following information:

  • Owner.
  • Name of the animal.
  • Age of the animal.
  • Medical history: A list of diseases, and a status for each: current or past.
  • A list of vaccinations, if applicable.
  • Current appointments.

Appointments are their own entity, so this should captured with a class, containing date and time, and client.

You should also have a class for owners with information like name, address, and phone number.

Here's the functionality you must provide:

  • See a list of all appointments, and change the status from outstanding to resolved. When an appointment is resolved, it is removed from the list.
  • Search appointments by owner and by date.
  • Search medical records by animal name, owner, and animal kind (like show all appointments for Dogs).
  • From the screen of the record of a particular animal, check appointments, and add appontments.
  • The whole registry can be saved and restored to/from a file.

For all the search functionalities you are to implement it using a search function that uses a Java Comparator for each case (say search(T[] list, Comparator<T> comp)). You are also required to handle all input problem on the UI (like the user entering wrong kind of input, say a number instead of a letter) using Java's exception handling.

 

 

Reference no: EM13164885

Questions Cloud

Is the reaction spontaneous : Is the reaction spontaneous?
What is the speedup of the system with l2 cache? : computer calculate the following: (a) What is the L2 read miss penalty? (b) What is the L1 read miss penalty? (c) What is the read penalty (L1 and L2 cache)? (d) Assume 33% (1/3) loads, and everything else is ideal. What is the CPI? (e) What would th..
Weakness of social contract theory : According to Rachels and Rachels, a weakness of social contract theory is that it cannot deal with the following problem: if you think you will be caught doing something harmful, then it is rational to obey the social contract.
How the regular tree walk algorithm works : We know how the regular tree walk algorithm works. If you have some values in the tree then the tree walk algorithm prints everything in order
Design the administration program for a veterinary office : this is an individual assignment. You will design the administration program for a veterinary office: This office attends to three different kinds of animals: Dogs, Birds, and Fish. You are to capture these with their respective classes. Each subclas..
What is the actual amount of magnesium oxide produced : what is the actual amount of magnesium oxide produced when excess carbon dioxide reacts with 42.8 grams of magnesium metal?
State what volumes are the two equivalence points : The di basic compund B(pkb1=4.00),pkb2=8.00 was titrated with 1.00 M HCl. the intial solution of B was 0.100M and had a volume of 100.0mL. A) At what volumes are the two equivalence points?
World trade organization and international monetary fund : These two acronyms for the "World Trade Organization" and "International Monetary Fund" bear the most weight in many discussions of what globalism and cooperation between the first and third worlds looks like in our contemporary society.
How many moles of c atoms are in the toothpaste : A toothpaste contains 0.24 % by mass sodium fluoride, NaF and 0.30 % by mass of triclosan, C12H7Cl3O2. The mass of one tube of toothpaste is 119 g.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Relationship between step and impulse

What is the relationship between step and impulse responses for RC and RL circuits? Use simple circuits with R = 1 Ohm, L = 1 H and C = 1 F

  Windows active directory

A research paper on Windows Active Directory and User Access Controls with some additional info about Group Policy Objects and Microsoft Baseline Security Analyzer.

  Prepare properties in ltl

Let a three bit binary counter. Prepare these properties in LTL. Create a model which satisfies the specification and both the above properties.

  Computer program that inputs a degree

Write a computer program that inputs a degree of difficulty and seven judges' scores, and outputs the overall score for that dive. The program should ensure that all inputs are within the allowable data ranges

  Change arp entry in computer for mac address

Print your ARP cache table. Find a server on your local network. Change its ARP entry in your computer to point to your computer's MAC address. Print new ARP cache table. Now use the service and see what happens.

  Draw a circuit which implements a 1-to-2 decoder

Q1. Write the truth table for a 1-to-2 decoder. Draw a circuit which implements a 1-to-2 decoder using AND gates, OR gates and NOT gates only.

  What is break -even point for upgrades

You have also learned that you can upgrade your CPU to make it 1.4 times as fast for $5,000. Which would you choose to yield the best performance improvemen tfor the least amount of money?

  Condition to resume sending messages related to application

Give an example that illustrates why P must not be allowed to do so and state a condition that defines when P may resume sending messages related to application.

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Write relational algebra expression itinerary detailed dates

Write down the relational algebra expressions for given transactions. When viewing appointments have been made, itinerary has to be given detailing dates.

  Write program to enter two separate numbers

Write a program which would permit a user to enter two separate numbers and choose one of four mathematical operations (add, subtract, multiply, divide).

  Draw dfsa for identifiers contain only letters and digits

Draw a DFSA for identifiers that contain only letters and digits, where the identifier must have at least one letter, but it need not be the first character. Hint: everything to the left of the leftmost letter must be a digit.

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