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

  Explain effects of compaction on normal processing

What about if you upgrade to memory that can be read or written to in 1nsec? Comment briefly on the effects of compaction on normal processing.

  Create logic circuit to decode dtmf-like keypad

Create the logic circuit which will decode a DTMF-like keypad. Keypad comprises of 16 keys, numbered 0 to 9, *, #, A, B, C, and D. Underneath keypad are four horizontal lines and four vertical lines.

  Performance of computer if main memory speed remains same

Using a faster processor chip result in corresponding increase in performance of computer even if main memory speed remains the same.

  Describe where to apply continuum mechanics

Mechanics of material modelled as continuum is called Continuum Mechanics. Where can you apply continuum mechanics? Continuum mechanics has been successfully applied to solids.

  Information system staff members can afford to employ

How many Information system staff members do you think Reliable can reasonably afford to employ? What mix of skills would they require?

  Follow-up actions for making decisions

What are the things you should consider in making this decision, and based on your choice, what would be your follow-up actions?

  Finding content of ac and memory word at specified address

What are the content of the AC and the memory word at address 103 when the computer halts.

  Discuss strategies to dilute manager-s anger

Discuss strategies you will use to dilute this manager's anger. Discuss how you will get them both to support your recommendations.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs, Flash RAM, and solid-state drives (SSD)

  Organisational changes to implement the long-term plan

What organisational changes are necessary in order to implement the long-term plan derived in question number two above?

  What is average seek time

Tracks traversed Disk receives a request to access a random sector on a random track. Assume the head starts at track 0. What is the average seek time?

  The centroid and the cluster

Problem 1.  For the following set of points, the initial centroid, and the cutoff distance of 4, do the following operations: 1) find the clusters; 2) update the centroid value; 3) find the distance between the centroid and the cluster, and update th..

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